Date: Mon, 2 Aug 2004 08:14:32 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Comrade Burnout <geektron@comradeburnout.com> Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 5.2.1 port dependencies (PHP/PEAR) Message-ID: <20040802071432.GA39164@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <410D516C.8070106@comradeburnout.com> References: <410D516C.8070106@comradeburnout.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040802071432.GA39164>