James wrote:
> Hello,
> 
> I've installed php4 as needed by a package (JFFNMS). Everytime I run 
> a 'emerge -uDp world' It wants to upgrade the php4 to either php5
> or another form of php4. This gets a little confusing, so I'll try
> to be very clear. I do not have php5 installed, and I do not want
> php5 installed on this system. I've tried all sorts of machinations
> in the /etc/portage dir, without success.
> 
> Here's what I have installed:
> 
> dev-lang/php
>      Available versions:  4.3.11-r5 4.4.1-r3 ~4.4.2 [M]5.0.5-r5 [M]5.1.2
>      Installed:           none
> 
> dev-php/mod_php
> Installed:           4.4.0-r9
> 
> dev-php/php
> Installed:           4.4.0-r4
> 
> 
> So I've tried various entries in my /etc/portage/package.mask file to get the
> system happy. package.mask contains:
> '>=dev-lang/php-5.0.5'
> 
> Focusing on php, I run  'emerge -pv dev-lang/php'
> and here is the response.
> 
> These are the packages that I would merge, in order:
> 
> Calculating dependencies ...done!
> [blocks B     ] dev-php/mod_php (is blocking dev-lang/php-4.4.2)
> [blocks B     ] dev-php/php (is blocking dev-lang/php-4.4.2)
> [ebuild  N    ] dev-lang/php-4.4.2 
> 
> So the question is what do I put in /etc/portage/? file to get
> the system to accept the older dev-php files and not try to install
> 'dev-lang/php' ?
> 
> I cannot just install 'dev-lang/php' as it is blocked by the (2)
> dev-php files that I need:
> dev-php/mod_php and dev-php/php. Of coarse, take what I'm saying 
> with a grain of salt, as I'm describing the symptoms of a php
> problem without fully understandings what these package name/group
> changes really mean...(where does one read about what the developers
> are doing with php and why?). 
> jffnms is the critical package here that is causing the php heartburn.....
> 
> Everythings works, I just want the system to quit asking to upgrade
> php, everytime I upgrade the rest of the system.
> 
> ideas?  What did I miss?
> 
> 
> James
> 
> 
> 

If you are going to change from the old-style PHP (dev-php/php) to the
new-style PHP (dev-lang/php), then you need to follow the PHP upgrading
instructions on this page:

http://www.gentoo.org/proj/en/php/php-upgrading.xml

I highly suggest it, as IIRC the old-style PHP is no longer supported.


-- 
Michael Stewart                                     [EMAIL PROTECTED]
Gentoo Developer                        http://dev.gentoo.org/~vericgar

GnuPG Key ID 0x08614788 available on http://pgp.mit.edu
--

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to