From owner-freebsd-questions@FreeBSD.ORG Mon Dec 8 04:51:07 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3FDB2205 for ; Mon, 8 Dec 2014 04:51:07 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 096B8232 for ; Mon, 8 Dec 2014 04:51:06 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-21.adsl.hiwaay.net [216.180.19.21]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id sB84oxmW027489 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 7 Dec 2014 22:50:59 -0600 Message-ID: <54852FA9.6040108@hiwaay.net> Date: Sun, 07 Dec 2014 22:57:13 -0600 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 CC: "FreeBSD Questions !!!!" Subject: Re: problems installing svg pkg .... References: <5484DC09.2000203@hiwaay.net> <5484DC3C.9060900@hiwaay.net> <14a2700039c.cff56e7f331868.3078289637012680814@bsdjunk.com> <5484E102.9060403@hiwaay.net> <14a270a7c9d.e9ba1df8332384.1403959691871347766@bsdjunk.com> <5484E2AE.1000105@hiwaay.net> <20141208010937.0b1f1b52.freebsd@edvax.de> In-Reply-To: <20141208010937.0b1f1b52.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 04:51:07 -0000 On 12/07/14 18:09, Polytropon wrote: > On Sun, 07 Dec 2014 17:28:46 -0600, William A. Mahaffey III wrote: >> Rats !!!! I have been trying to avoid mixing ports & pkg's AMAP, as per >> many on-list recommendations, so I guess I'll just wait until some of >> this stuff gets cleared up :-/ .... > But you aren't mixing anything. Heavily simplified, this > is what happens, when you > > (a) install with pkg: > 1. download binary archive > 2. extract binary archive > 3. copy files to correct locations > 4. register installed files in system's database > > (b) install via ports ("make install", portmaster etc.): > 1. download source archive > 2. extract source archive > 3. apply patches, if any > 4. compile > 5. copy files to correct locations > 6. register installed files in system's database > > As you can see, the last two steps are identical, and the > files in question are also the same (because the packages > you can install with pkg are generated from the ports with > the default options). To the system, it's basically the > same - and it can't even tell in _which_ way you initially > have installed something. This is because "make install" > will simply create a binary package and install it, just > what pkg would do. > > Nowadays, mixing ports and pkg isn't very problematic. There > are very few "edge cases", but pkg also has methods to deal > with those. So your rule could be: Install via pkg; if it > does not work, install from ports. As I said, it doesn't > really make a difference. :-) > > > Hmmmmm .... OK, I'll reconsider, but I'm fairly sure I got that advice (not to mix the 2) on this list, & I have only been here a few months .... The biggest problem I have with mixing the 2 is remembering which package gets updated w/ pkg & which w/ ports .... If I just stick w/ pkg, that's 1 less thing to screw up :-/ .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.