Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Aug 2004 08:46:51 -0500
From:      Comrade Burnout <geektron@comradeburnout.com>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD 5.2.1 port dependencies (PHP/PEAR)
Message-ID:  <410E45CB.2010607@comradeburnout.com>
In-Reply-To: <20040802071432.GA39164@happy-idiot-talk.infracaninophile.co.uk>
References:  <410D516C.8070106@comradeburnout.com> <20040802071432.GA39164@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

   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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?410E45CB.2010607>