php dependency hell

2006-03-22 Thread Michael P. Soulier
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. 

[EMAIL PROTECTED] 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...

[EMAIL PROTECTED] 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 [EMAIL PROTECTED]
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


pgpEKzGC8xhnr.pgp
Description: PGP signature


Re: php dependency hell

2006-03-22 Thread Philip Hallstrom


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.

[EMAIL PROTECTED] 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...

[EMAIL PROTECTED] 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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php dependency hell

2006-03-22 Thread Bill Moran
On Wed, 22 Mar 2006 11:15:38 -0600 (CST)
Philip Hallstrom [EMAIL PROTECTED] wrote:

  Plus, this...
 
  [EMAIL PROTECTED] 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.

You should be able to use portupgrade with the -o option to replace
mod_php4 with php4.  See the man page for portupgrade for examples
(the EXAMPLES section in particular).

In my experience, this works 90%+ of the time.  If this is a
production system, however, you'll do well to test on a scratch
system first.

-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php dependency hell

2006-03-22 Thread Michael P. Soulier
Bill Moran wrote:
 You should be able to use portupgrade with the -o option to replace
 mod_php4 with php4.  See the man page for portupgrade for examples
 (the EXAMPLES section in particular).
 
 In my experience, this works 90%+ of the time.  If this is a
 production system, however, you'll do well to test on a scratch
 system first.

Luckily it was reliable, as I don't have a test system. :)

portupgrade rocks.

Thanks,
Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
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



signature.asc
Description: OpenPGP digital signature