From owner-freebsd-questions@FreeBSD.ORG Mon Aug 2 13:56:10 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38CCB16A4CE for ; Mon, 2 Aug 2004 13:56:10 +0000 (GMT) Received: from public.comradeburnout.com (net-6621941-196.customer.corenap.com [66.219.41.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB0CD43D58 for ; Mon, 2 Aug 2004 13:56:09 +0000 (GMT) (envelope-from geektron@comradeburnout.com) Received: from [127.0.0.1] (rrcs-sw-24-173-210-82.biz.rr.com [24.173.210.82]) by public.comradeburnout.com (Postfix) with ESMTP id 7875260F8; Mon, 2 Aug 2004 09:04:36 -0500 (CDT) Message-ID: <410E45CB.2010607@comradeburnout.com> Date: Mon, 02 Aug 2004 08:46:51 -0500 From: Comrade Burnout User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en To: Matthew Seaman References: <410D516C.8070106@comradeburnout.com> <20040802071432.GA39164@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20040802071432.GA39164@happy-idiot-talk.infracaninophile.co.uk> Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 5.2.1 port dependencies (PHP/PEAR) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2004 13:56:10 -0000 Matthew Seaman wrote: On Sun, Aug 01, 2004 at 03:24:12PM -0500, Comrade Burnout wrote: when i try to use pkg_add ... i get the following: burnt# pkg_add -r pear-DB Fetching [1]ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/Latest/p ear-DB.tbz... Done. Fetching [2]ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/php4 -4.3.4_2.tbz... Done. pkg_add: package 'php4-4.3.4_2' conflicts with mod_php4-4.3.4_2,1 pkg_add: please use pkg_delete first to remove conflicting package(s) or -f to force installation pkg_add: pkg_add of dependency 'php4-4.3.4_2' failed! is there a way to tweak the Makefile locally to force the PEAR install to use the existing PHP version? What Makefile? You're installing via packages, and by the time the package has been built, there's no more need for Makefiles... OK, that's just my misunderstanding about ports vs anything else In order to solve your problem, you can follow the instructions so helpfully printed out by pkg_add(1) and use the '-f' flag. That should work fine, as mod_php4 will fulfil the dependencies. well, i thought so originally, but there was always some flavor of conflict. But the answer to that is just a cvsup(1) away. i've already installed cvsup, and supposedly pulled down the ports collection, but .... it doesn't seem that anything is local, even after running cvsup. i broke down and installed the PEAR stuff manually ... it did the job, but isn't necessarily the optimum solution. References 1. ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/Latest/pear-DB.tbz 2. ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/php4-4.3.4_2.tbz