php dependency hell

Michael P. Soulier msoulier at digitaltorque.ca
Wed Mar 22 16:26:46 UTC 2006


Hey people,

I'm trying to install Cacti, and it builds and installs fine. But, it's
looking for the php command-line binary as well, which the port did not pull
in for some reason. 

So, I go to build php-cli, and install it. 

[msoulier at kanga php4-cli]$ sudo make install
===>  Installing for php4-cli-4.4.2_1

===>  php4-cli-4.4.2_1 conflicts with installed package(s):
      mod_php4-4.4.1,1

      They install files into the same place.
      Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/lang/php4-cli.

But I need mod_php4 for apache. What guarantee do I have that php4-cli will
provide the same functionality? 

Plus, this...

[msoulier at kanga php4-cli]$ sudo pkg_delete -n mod_php4-4.4.1,1
pkg_delete: package 'mod_php4-4.4.1,1' is required by these other packages
and may not be deinstalled:
cacti-0.8.6h_41
php4-ctype-4.4.1
php4-extensions-1.0
php4-mysql-4.4.1
php4-overload-4.4.1
php4-pcre-4.4.1
php4-posix-4.4.1
php4-session-4.4.1
php4-tokenizer-4.4.1
php4-xml-4.4.1
php4-zlib-4.4.1
pkg_delete: 1 package deletion(s) failed

How do I resolve this? This looks like a huge mess.

Mike

-- 
Michael P. Soulier <msoulier at digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060322/9fc9ce1b/attachment.pgp


More information about the freebsd-questions mailing list