From owner-freebsd-questions@FreeBSD.ORG Mon Sep 19 20:57:12 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1366E106566B for ; Mon, 19 Sep 2011 20:57:12 +0000 (UTC) (envelope-from lars@larseighner.com) Received: from mail.team1internet.com (mail.team1internet.com [216.110.13.10]) by mx1.freebsd.org (Postfix) with ESMTP id A8FC58FC0A for ; Mon, 19 Sep 2011 20:57:11 +0000 (UTC) Received: from larseighner.com (unknown [216.110.13.98]) by mail.team1internet.com (Postfix) with SMTP id D487516B52B; Mon, 19 Sep 2011 15:57:06 -0500 (CDT) Received: by larseighner.com (nbSMTP-1.00) for uid 1001 lars@larseighner.com; Mon, 19 Sep 2011 15:56:21 -0500 (CDT) Date: Mon, 19 Sep 2011 15:56:20 -0500 (CDT) From: Lars Eighner X-X-Sender: lars@noos.6dollardialup To: Brandon Kuczenski In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: Using ports and packages together (or, how do I get mod_php5 ? ) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2011 20:57:12 -0000 On Mon, 19 Sep 2011, Brandon Kuczenski wrote: > I'm concerned that, if I have some packages built from ports and some > installed from the release, that the system will become unstable if things > get too out of sync. I'd like to say it doesn't matter, but ... If you are using packages from the time of 8.2 release, you almost certainly will have trouble using the current (not CURRENT) ports tree for 8.2. With a fresh ports tree study UPDATING. There is quite a lot of reading since 8.2 release. Ruby rolled forth and back, perl has rolled forward etc. You may do better upgrading with packages first before recompiling things you need to recompile. In principle there is nothing wrong with having mixed self-compiled ports and packages. THE MAIN PERILS are letting the ports tree get out of sync with itself. This could happen, for example, if you cvsup and it stops (or is stopped) before it is finished (to deal with that example, redo cvsup and be sure it completes before doing anything with ports); or getting the package database snafued which can happen if you or the electric company interrupt the database update process. > Am I incorrect? i.e. should I just go ahead and install libtool 2.4 from the > port? I don't see this discussed explicitly in the handbook. The handbook should not have much to say about this. Compiling ports yourself or using packages should leave you in exactly the same place (unless of course you make changes when you compile). The system cannot tell where the binary came from. We have the habit of saying "port" when we compile from the ports tree and "package" when install a package - but they are really the same thing at a slightly deeper level. Packages ARE ports. /usr/ports/UPDATING is the key document. I don't see any notes since 8.2 release to suggest libtool backward compatibility problems have cropped up since then. Since more things depend on libtool than you can shake a stick at it is likely to a long time for pkgdb to edit the dependencies in the usual way. Investigating -s might help. PS: installing mod_php is an option which I think is called WITH_APACHE. To be absolutely sure it is set, run make config in php5 port. The config will be saved and some port maintenance tools may assume it is right without prompting you. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266