From owner-freebsd-questions@FreeBSD.ORG Mon Aug 2 07:14:47 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 A6D7D16A4CE for ; Mon, 2 Aug 2004 07:14:47 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B18243D76 for ; Mon, 2 Aug 2004 07:14:46 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i727EXNu039483 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 2 Aug 2004 08:14:33 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i727EWlt039482; Mon, 2 Aug 2004 08:14:32 +0100 (BST) (envelope-from matthew) Date: Mon, 2 Aug 2004 08:14:32 +0100 From: Matthew Seaman To: Comrade Burnout Message-ID: <20040802071432.GA39164@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Comrade Burnout , freebsd-questions@freebsd.org References: <410D516C.8070106@comradeburnout.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" Content-Disposition: inline In-Reply-To: <410D516C.8070106@comradeburnout.com> User-Agent: Mutt/1.5.6i X-Greylist: Message not sent from an IPv4 address, not delayed by milter-greylist-1.5.3 (smtp.infracaninophile.co.uk [0.0.0.0]); Mon, 02 Aug 2004 08:14:33 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040705, clamav-milter version 0.74a on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk 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 07:14:47 -0000 --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 01, 2004 at 03:24:12PM -0500, Comrade Burnout wrote: > when i try to use pkg_add ... i get the following: >=20 > burnt# pkg_add -r pear-DB > Fetching=20 > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/Lates= t/pear-DB.tbz...=20 > Done. > Fetching=20 > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/All/p= hp4-4.3.4_2.tbz...=20 > 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= =20 > -f to force installation > pkg_add: pkg_add of dependency 'php4-4.3.4_2' failed! >=20 >=20 >=20 > is there a way to tweak the Makefile locally to force the PEAR install=20 > 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... 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. Alternately, don't use packages to install PEAR modules. Ports are rather more flexible in this respect than packages, and for such things as PEAR where what's installed is pretty much program source code it makes little practical difference. The only problem with this approach is that you seem to be using a ports tree from around the time of 5.2.1-RELEASE, and since then both the ports tree and the available versions of the PEAR modules have had many months of further development. It's possible that new versions of some modules will have been released and the ones you want have been removed. But the answer to that is just a cvsup(1) away. =20 Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBDenYiD657aJF7eIRAhwTAJ4naUPu0olHdYSeVjh1pDO4nkKb6QCePpYO 1DsRBIun5A2F4KaEf9GxkUA= =S0M5 -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9--