Re: php dependency hell




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@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?

install /usr/ports/lang/php4 which installs both the apache module and the cli.

Plus, this...

[msoulier@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.

If it were me, I'd remove all of those and start over. Otherwise add a -f option to pkg_delete to forcibly remove mod_php4.

-philip
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • RE: PHP4 and pear Ports
    ... To install mod_php4 and php4-cli do ... How do I install php4 with pear and GD and some other options using ports? ... I no longer get the config menu that used to apear. ... error about conflicting version of mod php4 and php4-cli. ...
    (freebsd-stable)
  • mod_php4 and php4-cli?
    ... How can one install both php4-cli and mod_php4? ... however this is no longer possible with the new php port scheme. ... To unsubscribe, ...
    (freebsd-current)
  • php dependency hell
    ... I'm trying to install Cacti, and it builds and installs fine. ... looking for the php command-line binary as well, which the port did not pull ... What guarantee do I have that php4-cli will ...
    (freebsd-questions)
  • php4-cli with mod_php4
    ... I would like to have a cli php as well as mod_php4 with apache2. ... php4-cli but then had to deinstall it when mod_php4 complained about it using ... the same install locations. ...
    (freebsd-questions)
  • Re: New Computer
    ... Another reason I hate Windows! ... Now my recent experience kind of ticked me off because I had installed my version of Word XP onto my original desktop when I purchased it, then put it on the other family computer for the girls and their school work and then finally onto my laptop. ... Eventually I purchased a new desktop and had to reinstall it and I had to call Microsoft to get a new activation code. ... Six months later, my husband is home from his surgery and I gave him the laptop to play with - eventually ended up with a virus that I just could not get completely rid of so I reformatted the harddrive and had to reinstall, again no issues, but I did have to call Microsoft also this time to install. ...
    (sci.med.transcription)