Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Aug 2004 15:24:12 -0500
From:      Comrade Burnout <geektron@comradeburnout.com>
To:        freebsd-questions@freebsd.org
Subject:   FreeBSD 5.2.1 port dependencies (PHP/PEAR)
Message-ID:  <410D516C.8070106@comradeburnout.com>

next in thread | raw e-mail | index | archive | help
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.





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