FreeBSD 5.2.1 port dependencies (PHP/PEAR)

Comrade Burnout geektron at comradeburnout.com
Sun Aug 1 13:32:53 PDT 2004


i recently upgraded some machines to FreeBSD 5.2.1-STABLE, and trying to 
install the PEAR objects (PHP stuff).

I've looked through the INDEX file in my local ports collection, and the 
PEAR tree is looking for:

 php4-4.3.4 

whereas mod_php4 and any of the other (non-PEAR ) PHP ports are looking for:

mod_php4-4.3.4,1

when i try to use pkg_add ... i get the following:

burnt# pkg_add -r pear-DB
Fetching 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/Latest/pear-DB.tbz... 
Done.
Fetching 
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?


everything on my new machine works with the existing PHP setup *but* one 
site that uses the PEAR classes.





More information about the freebsd-questions mailing list