Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot update system due to php blocking error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
snIP3r
l33t
l33t


Joined: 21 May 2004
Posts: 819
Location: germany

PostPosted: Sun Jan 22, 2006 10:41 am    Post subject: Cannot update system due to php blocking error Reply with quote

Hi all!

I have an error in updating my "world". After upgrading to the new portage 2.0.54 (its really FAST), i cannot do an emerge -uD world. Also after reading the instructions (http://www.gentoo.org/proj/en/php/php-upgrading.xml) i get an error. I unistalled dev-php/mod_php and dev-php/php and emerged dev-lang/php manually. So the latest php4 version was installed. But after trying another emerge -uD world i again get this error.
Here's the output from emerge -uavD world:

area52 portage # emerge -uavD world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[blocks B ] dev-php/mod_php (is blocking dev-lang/php-5.0.5-r5)
[blocks B ] dev-php/php (is blocking dev-lang/php-5.0.5-r5)
[blocks B ] dev-php/mod_php (is blocking dev-php/PEAR-PEAR-1.3.6-r4)
[blocks B ] dev-php/php (is blocking dev-php/PEAR-PEAR-1.3.6-r4)
[ebuild U ] dev-util/pkgconfig-0.20 [0.17.2-r1] -hardened 947 kB
[ebuild NS ] sys-kernel/gentoo-sources-2.6.15-r1 -build -doc -symlink (-ultra1) 39,086 kB
[ebuild U ] dev-libs/libxml2-2.6.23 [2.6.22] -debug -doc +ipv6 +python +readline 3,338 kB
[ebuild N ] dev-php/mod_php-4.4.0-r9 +X +apache2 +berkdb +crypt +curl -debug -doc -fdftk -firebird -flash -freetds +gd -gd-external +gdbm +gmp -hardenedphp -imap -informix +ipv6 +java +jpeg -kerberos -ldap -mcal -memlimit -mssql +mysql +nls -oci8 -odbc +pam +png -postgres +snmp +spell +ssl +tiff +truetype +xml2 -yaz 0 kB
[ebuild U ] dev-libs/libol-0.3.17 [0.3.16] 337 kB
[ebuild U ] app-admin/syslog-ng-1.6.9 [1.6.8-r1] -hardened (-selinux) -static +tcpd 747 kB
[ebuild U ] dev-libs/glib-2.8.5 [2.8.4] -debug -doc -hardened 2,532 kB
[ebuild N ] dev-lang/php-5.0.5-r5 -adabas -apache +apache2 -bcmath +berkdb -birdstep +bzip2 -calendar +cdb -cgi -cjk -cli +crypt -ctype +curl -curlwrappers -db2 -dba -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fdftk -filepro -firebird -flatfile -force-cgi-redirect -frontbase -ftp +gd -gd-external +gdbm +gmp -hardenedphp -hyperwave-api -iconv -imap -informix -inifile -interbase -iodbc +ipv6 -java-external -kerberos -ldap -libedit -mcve -memlimit +mhash -ming -mnogosearch -msql -mssql +mysql -mysqli +ncurses +nls -oci8 -oci8-instant-client -odbc -oracle7 -ovrimos -pcntl +pcre -pdo-external -pear -pfpro -pic -posix -postgres -qdbm +readline -recode -sapdb +sasl -session -sharedext -sharedmem -simplexml +snmp -soap -sockets -solid +spell -spl -sqlite +ssl -sybase -sybase-ct -sysvipc -threads -tidy +tiff -tokenizer +truetype -wddx +xml -xmlrpc -xpm -xsl -yaz -zip +zlib 4,797 kB
[ebuild N ] dev-php/PEAR-PEAR-1.3.6-r4 150 kB
[ebuild N ] dev-php/PEAR-DB-1.7.6-r1 0 kB


And here the content of my package.use in /etc/portage:
net-fs/samba oav readline cups pam
=dev-lang/php-4* -* cgi cli ctype gd jpeg mysql pcre pear png session truetype xml xsl zlib

I thought that after the manual emerge the dev-php issue would be fixed *wonder* Another thing is, that i do not want to install php5 - i want php4!
Does anyone know how to fix this error?


Thx in advance

snIP3r
_________________
Intel i3-4130T on ASUS P9D-X
Gentoo Base System 2.2
Kernel 4.19.23-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!


Last edited by snIP3r on Sun Jan 22, 2006 1:51 pm; edited 2 times in total
Back to top
View user's profile Send private message
IQgryn
l33t
l33t


Joined: 05 Sep 2005
Posts: 764
Location: WI, USA

PostPosted: Sun Jan 22, 2006 10:46 am    Post subject: Reply with quote

You probably want to mask php 5. Add a line like this to /etc/portage/package.mask (you may have to create the file):
Code:
>=dev-lang/php-5.0.5

You may end up having to back the version down a little further, but that should give you a good starting point. It may also resolve the blocking issues. Let us know.


Last edited by IQgryn on Sun Jan 22, 2006 10:49 am; edited 1 time in total
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Sun Jan 22, 2006 10:47 am    Post subject: Reply with quote

and if you place this in
/etc/portage/package.mask

>dev-lang/php-4*
Back to top
View user's profile Send private message
eelke
Guru
Guru


Joined: 17 May 2004
Posts: 406
Location: Earth, Netherlands, Friesland

PostPosted: Sun Jan 22, 2006 10:55 am    Post subject: Reply with quote

As part of your emerge -uavD world portage is trying to emerge dev-php/mod_php which causes the blocking errors. This is probably due to some dependency so you will have to check what's pulling it in. Add the --tree option to your emerge command to see a dependency tree.
Back to top
View user's profile Send private message
snIP3r
l33t
l33t


Joined: 21 May 2004
Posts: 819
Location: germany

PostPosted: Sun Jan 22, 2006 11:06 am    Post subject: Reply with quote

eelke wrote:
As part of your emerge -uavD world portage is trying to emerge dev-php/mod_php which causes the blocking errors. This is probably due to some dependency so you will have to check what's pulling it in. Add the --tree option to your emerge command to see a dependency tree.


area52 portage # emerge -uavD --tree world

These are the packages that I would merge, in reverse order:

Calculating world dependencies ...done!
[blocks B ] dev-php/php (is blocking dev-php/PEAR-PEAR-1.3.6-r4)
[blocks B ] dev-php/mod_php (is blocking dev-php/PEAR-PEAR-1.3.6-r4)
[blocks B ] dev-php/php (is blocking dev-lang/php-4.4.1-r3)
[blocks B ] dev-php/mod_php (is blocking dev-lang/php-4.4.1-r3)
[ebuild N ] dev-php/PEAR-PEAR-1.3.6-r4 150 kB
[nomerge ] mail-client/squirrelmail-1.4.5 +crypt -ldap +mysql -postgres +spell +ssl -vhosts -virus-scan
[ebuild N ] dev-php/PEAR-DB-1.7.6-r1 0 kB
[ebuild N ] dev-lang/php-4.4.1-r3 -adabas -apache -apache2 -bcmath -berkdb -birdstep -bzip2 -calendar -cdb +cgi -cjk +cli -crypt +ctype -curl -db2 -dba -dbase -dbmaker -dbx -debug -discard-path -doc -empress -empress-bcs -esoob -exif +expat -fastbuild -fdftk -filepro -firebird -flatfile -force-cgi-redirect -frontbase -ftp +gd -gd-external -gdbm -gmp -hardenedphp -hyperwave-api -iconv -imap -informix -inifile -interbase -iodbc -ipv6 -java-external -java-internal -kerberos -ldap -libedit -mcal -mcve -memlimit -mhash -ming -mnogosearch -msql -mssql +mysql -ncurses -nls -oci8 -oci8-instant-client -odbc -oracle7 -overload -ovrimos -pcntl +pcre +pear -pfpro -pic -posix -postgres -readline -recode -sapdb +session -sharedext -sharedmem -snmp -sockets -solid -spell -sqlite -ssl -sybase -sybase-ct -sysvipc -threads -tiff -tokenizer +truetype -wddx +xml -xmlrpc -xpm +xsl -yaz -zip +zlib 0 kB
[nomerge ] net-fs/samba-3.0.14a-r2 +acl +cups -doc -examples -kerberos -ldap -libclamav +mysql +oav +pam -postgres +python -quotas +readline (-selinux) -winbind +xml +xml2
[nomerge ] app-text/poppler-0.4.3-r4 -cairo +jpeg +zlib
[nomerge ] app-text/ghostscript-esp-7.07.1-r8 +X -cjk +cups -emacs +gtk
[nomerge ] x11-libs/gtk+-2.8.8 -debug -doc +jpeg +tiff
[ebuild U ] dev-libs/glib-2.8.5 [2.8.4] -debug -doc -hardened 2,532 kB
[ebuild U ] app-admin/syslog-ng-1.6.9 [1.6.8-r1] -hardened (-selinux) -static +tcpd 747 kB
[ebuild U ] dev-libs/libol-0.3.17 [0.3.16] 337 kB
[ebuild N ] dev-php/php-4.4.0-r4 +X +berkdb +crypt +curl -debug -doc -fdftk -firebird -flash -freetds +gd -gd-external +gdbm +gmp -hardenedphp -imap -informix +ipv6 +java +jpeg -kerberos -ldap -mcal -memlimit -mssql +mysql +ncurses +nls -oci8 -odbc +pam +png -postgres +readline +snmp +spell +ssl +tiff +truetype +xml2 -yaz 0 kB
[ebuild N ] dev-php/mod_php-4.4.0-r9 +X +apache2 +berkdb +crypt +curl -debug -doc -fdftk -firebird -flash -freetds +gd -gd-external +gdbm +gmp -hardenedphp -imap -informix +ipv6 +java +jpeg -kerberos -ldap -mcal -memlimit -mssql +mysql +nls -oci8 -odbc +pam +png -postgres +snmp +spell +ssl +tiff +truetype +xml2 -yaz 0 kB
[nomerge ] dev-perl/DBD-mysql-2.9007
[nomerge ] dev-perl/DBI-1.48
[nomerge ] dev-libs/libxslt-1.1.15 +crypt -debug +python -static
[ebuild U ] dev-libs/libxml2-2.6.23 [2.6.22] -debug -doc +ipv6 +python +readline 3,338 kB
[nomerge ] app-admin/perl-cleaner-1.01
[nomerge ] dev-libs/openssl-0.9.7e-r2 -bindist -emacs -test +zlib
[nomerge ] dev-lang/perl-5.8.7-r3 +berkdb -build -debug -doc +gdbm -ithreads -minimal -perlsuid
[nomerge ] sys-libs/db-4.2.52_p2-r1 -bootstrap -doc +java* -nocxx +tcltk
[nomerge ] dev-java/blackdown-jdk-1.4.2.03 +X +alsa -browserplugin -doc -mozilla -nsplugin
[nomerge ] media-libs/alsa-lib-1.0.10 -doc -jack
[ebuild NS ] sys-kernel/gentoo-sources-2.6.15-r1 -build -doc -symlink (-ultra1) 39,086 kB
[nomerge ] x11-terms/xterm-207 -Xaw3d -doc -toolbar +truetype -unicode
[nomerge ] sys-apps/utempter-0.5.5.6
[nomerge ] app-arch/rpm2targz-9.0-r3
[nomerge ] sys-apps/file-4.13 -build +python
[nomerge ] dev-lang/tk-8.4.9 -threads
[nomerge ] x11-base/xorg-x11-6.8.2-r6 -3dfx +3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers +ipv6 -minimal -mmx +nls -nocxx +opengl +pam -sdk -sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv
[nomerge ] sys-apps/util-linux-2.12r-r1 +crypt +nls -old-crypt +pam +perl (-selinux) -static
[nomerge ] sys-apps/pam-login-3.17 -livecd +nls (-selinux)
[nomerge ] sys-libs/pam-0.78-r3 +berkdb -nis -pam_chroot -pam_console -pam_timestamp -pwdb (-selinux)
[ebuild U ] dev-util/pkgconfig-0.20 [0.17.2-r1] -hardened 947 kB

Hmmmm.... This is very confusing to me. According to the url i postet above dev-php/php and dev-php/mod_php should have been put together in dev-lang/php... So why is it trying to emerge dev-php/php?? The only package i found is squirrelmail. Is thins the root of all problems??

Hope someone could help me.

Greets
snIP3r
_________________
Intel i3-4130T on ASUS P9D-X
Gentoo Base System 2.2
Kernel 4.19.23-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Back to top
View user's profile Send private message
llongi
Retired Dev
Retired Dev


Joined: 15 Apr 2004
Posts: 459
Location: Switzerland

PostPosted: Sun Jan 22, 2006 12:06 pm    Post subject: Reply with quote

snIP3r wrote:
Hmmmm.... This is very confusing to me. According to the url i postet above dev-php/php and dev-php/mod_php should have been put together in dev-lang/php... So why is it trying to emerge dev-php/php?? The only package i found is squirrelmail. Is thins the root of all problems?


In the last output you posted, yes. Squirrelmail depends on virtual/php, by default virtual/php --> old dev-php/php. Then later, it tries to emerge PEAR-PEAR and PEAR-DB, wich both now depend on dev-lang/php directly: the result is the conflict. If you install =dev-lang/php-4*, PEAR-PEAR and PEAR-DB manually, and then do an emerge -aDuvt world, it should be fixed then. The issue with the default virtual/php is being addresses by us and should be fixed too in a few hours.
_________________
Best regards, Luca.
Back to top
View user's profile Send private message
snIP3r
l33t
l33t


Joined: 21 May 2004
Posts: 819
Location: germany

PostPosted: Sun Jan 22, 2006 1:36 pm    Post subject: Reply with quote

CHTEKK wrote:
snIP3r wrote:
Hmmmm.... This is very confusing to me. According to the url i postet above dev-php/php and dev-php/mod_php should have been put together in dev-lang/php... So why is it trying to emerge dev-php/php?? The only package i found is squirrelmail. Is thins the root of all problems?


In the last output you posted, yes. Squirrelmail depends on virtual/php, by default virtual/php --> old dev-php/php. Then later, it tries to emerge PEAR-PEAR and PEAR-DB, wich both now depend on dev-lang/php directly: the result is the conflict. If you install =dev-lang/php-4*, PEAR-PEAR and PEAR-DB manually, and then do an emerge -aDuvt world, it should be fixed then. The issue with the default virtual/php is being addresses by us and should be fixed too in a few hours.


Hi CHTEKK!

Thx for your help. Doing so fixes the "confusion* ;)
Now everything works fine.

Thx
snIP3r
_________________
Intel i3-4130T on ASUS P9D-X
Gentoo Base System 2.2
Kernel 4.19.23-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Back to top
View user's profile Send private message
snIP3r
l33t
l33t


Joined: 21 May 2004
Posts: 819
Location: germany

PostPosted: Sun Jan 22, 2006 1:57 pm    Post subject: Reply with quote

Hi all!

After fixing the installation error, i got another problem with the apache php module. Cause now the libphp4.so is deinstalled. And even a find / -name libphp4.so or a revdep-rebuild finished with no result. Where is the module gone?? I read that the php and the mod_php are now put together...

Any suggestions?

Thx

snIP3r
_________________
Intel i3-4130T on ASUS P9D-X
Gentoo Base System 2.2
Kernel 4.19.23-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Back to top
View user's profile Send private message
llongi
Retired Dev
Retired Dev


Joined: 15 Apr 2004
Posts: 459
Location: Switzerland

PostPosted: Sun Jan 22, 2006 2:13 pm    Post subject: Reply with quote

Yes, they are now in dev-lang/php, controlled by USE flags. Make sure to compile dev-lang/php at least with the following USE flags: pcre, session, cli, apache2. This will be fixed completely when Portage will support pacakge-based default USE flags.
_________________
Best regards, Luca.
Back to top
View user's profile Send private message
snIP3r
l33t
l33t


Joined: 21 May 2004
Posts: 819
Location: germany

PostPosted: Sun Jan 22, 2006 2:19 pm    Post subject: Reply with quote

CHTEKK wrote:
Yes, they are now in dev-lang/php, controlled by USE flags. Make sure to compile dev-lang/php at least with the following USE flags: pcre, session, cli, apache2. This will be fixed completely when Portage will support pacakge-based default USE flags.


Ahhh. Ok i forgot to USE apache2... Recompiling php now...

Thx
snIP3r
_________________
Intel i3-4130T on ASUS P9D-X
Gentoo Base System 2.2
Kernel 4.19.23-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Back to top
View user's profile Send private message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1395

PostPosted: Sun Jan 22, 2006 5:03 pm    Post subject: Reply with quote

Hello

Thanks CHTEKK for getting me over the initial problem, but I still have one package that is still needing dev-php/php.

Code:
[blocks B     ] dev-lang/php (is blocking dev-php/php-4.4.0-r4)
[ebuild  N    ] dev-php/php-4.4.0-r4  -X +berkdb +crypt -curl -debug -doc -fdftk -firebird -flash -freetds +gd -gd-external -gdbm +gmp -hardenedphp -imap -informix -ipv6 -java +jpeg -kerberos -ldap -mcal -memlimit -mssql +mysql -ncurses -nls -oci8 -odbc -pam +png -postgres -readline -snmp -spell +ssl -tiff -truetype -xml2 -yaz 4,339 kB
[ebuild   R   ] dev-php/PECL-Fileinfo-1.0  5 kB


Any ideas on how to clean this up.. or is this fix coming shortly? I'm guessing it's an eclass problem?

Thanks
hanji
Back to top
View user's profile Send private message
Vogi
n00b
n00b


Joined: 26 Sep 2005
Posts: 35

PostPosted: Sun Jan 22, 2006 5:35 pm    Post subject: Reply with quote

Same problem here:

emerge -av --update --deep world

gives me:

Code:
Calculating world dependencies ...done!
[blocks B     ] dev-php/mod_php (is blocking dev-lang/php-5.0.5-r5)
[blocks B     ] dev-php/php (is blocking dev-lang/php-5.0.5-r5)
[blocks B     ] dev-php/mod_php (is blocking dev-php/PEAR-PEAR-1.3.6-r4)
[blocks B     ] dev-php/php (is blocking dev-php/PEAR-PEAR-1.3.6-r4)
[ebuild     U ] dev-util/pkgconfig-0.20 [0.17.2-r1] -hardened 947 kB
[ebuild     U ] dev-libs/libol-0.3.17 [0.3.16] 337 kB
[ebuild     U ] app-admin/syslog-ng-1.6.9 [1.6.8-r1] -hardened (-selinux) -static +tcpd 747 kB
[ebuild     U ] sys-apps/baselayout-1.11.14-r2 [1.11.14-r1] -bootstrap -build -static -unicode 0 kB
[ebuild     U ] sys-fs/udev-079-r1 [079] (-selinux) 0 kB
[ebuild  NS   ] sys-kernel/gentoo-sources-2.6.15-r1  -build -doc +symlink (-ultra1) 39,086 kB
[ebuild     U ] dev-libs/libxml2-2.6.23 [2.6.22] -debug -doc +ipv6 +python +readline 3,338 kB
[ebuild     U ] dev-libs/glib-2.8.5 [2.8.4] -debug -doc -hardened 2,532 kB
[ebuild  N    ] app-admin/php-toolkit-1.0-r2  0 kB
[ebuild  N    ] dev-lang/php-5.0.5-r5  -adabas -apache +apache2 -bcmath +berkdb -birdstep +bzip2 -calendar -cdb -cgi -cjk -cli +crypt -ctype +curl -curlwrappers -db2 -dba -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fdftk -filepro -firebird -flatfile -force-cgi-redirect -frontbase -ftp +gd -gd-external +gdbm +gmp -hardenedphp -hyperwave-api -iconv +imap -informix -inifile -interbase -iodbc +ipv6 -java-external -kerberos +ldap -libedit -mcve -memlimit +mhash -ming -mnogosearch -msql -mssql +mysql -mysqli +ncurses +nls -oci8 -oci8-instant-client -odbc -oracle7 -ovrimos -pcntl +pcre -pdo-external -pear -pfpro -pic -posix -postgres -qdbm +readline -recode -sapdb +sasl -session -sharedext -sharedmem -simplexml -snmp -soap -sockets -solid +spell -spl -sqlite +ssl -sybase -sybase-ct -sysvipc -threads -tidy +tiff -tokenizer +truetype -wddx -xml -xmlrpc -xpm -xsl -yaz -zip +zlib 4,797 kB
[ebuild  N    ] dev-php/PEAR-PEAR-1.3.6-r4  150 kB
[ebuild     U ] dev-php/PEAR-DB-1.7.6-r1 [1.7.6] 0 kB


The I tried:

emerge -av --update --deep --tree =dev-lang/php-4*

but here I also get the following error:

Code:

Calculating dependencies ...done!
[blocks B     ] dev-php/php (is blocking dev-lang/php-4.4.1-r3)
[blocks B     ] dev-php/mod_php (is blocking dev-lang/php-4.4.1-r3)
[ebuild  N    ] dev-lang/php-4.4.1-r3  -adabas -apache +apache2 -bcmath +berkdb -birdstep +bzip2 -calendar -cdb -cgi -cjk -cli +crypt -ctype +curl -db2 -dba -dbase -dbmaker -dbx -debug -discard-path -doc -empress -empress-bcs -esoob -exif +expat -fastbuild -fdftk -filepro -firebird -flatfile -force-cgi-redirect -frontbase -ftp +gd -gd-external +gdbm +gmp -hardenedphp -hyperwave-api -iconv +imap -informix -inifile -interbase -iodbc +ipv6 -java-external -java-internal -kerberos +ldap -libedit -mcal -mcve -memlimit +mhash -ming -mnogosearch -msql -mssql +mysql +ncurses +nls -oci8 -oci8-instant-client -odbc -oracle7 -overload -ovrimos -pcntl +pcre -pear -pfpro -pic -posix -postgres +readline -recode -sapdb -session -sharedext -sharedmem -snmp -sockets -solid +spell -sqlite +ssl -sybase -sybase-ct -sysvipc -threads +tiff -tokenizer +truetype -wddx -xml -xmlrpc -xpm -xsl -yaz -zip +zlib 4,072 kB
[ebuild  N    ]  app-admin/php-toolkit-1.0-r2  0 kB
[nomerge      ] x11-terms/xterm-207  -Xaw3d -doc -toolbar +truetype -unicode
[nomerge      ]  media-libs/t1lib-5.0.2  +X -doc
[nomerge      ]   x11-base/xorg-x11-6.8.2-r6  -3dfx +3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers +ipv6 -minimal -mmx +nls -nocxx +opengl +pam -sdk -sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv
[nomerge      ]    sys-apps/util-linux-2.12r-r1  +crypt +nls -old-crypt +pam +perl (-selinux) -static
[nomerge      ]     sys-apps/pam-login-3.17  -livecd +nls (-selinux)
[nomerge      ]      sys-libs/pam-0.78-r3  +berkdb -nis -pam_chroot -pam_console -pam_timestamp -pwdb (-selinux)
[ebuild     U ]       dev-util/pkgconfig-0.20 [0.17.2-r1] -hardened 947 kB


Any ideas?

Thanks, Vogi
Back to top
View user's profile Send private message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1395

PostPosted: Sun Jan 22, 2006 5:41 pm    Post subject: Reply with quote

Hello

I think you need to do the following...(my problem is slightly different)

emerge -C mod_php php
emerge -v =dev-lang/php-4*

Make sure you pay attention to your USE flags.. this will hose you for sure. Your applications might need to be compiled with options that were auto-magically rolled into the old php (ie: posix, session, ctype, etc)

Then do a emerge -uvDpt world.

I think my PECL-Fileinfo is borking things up right now.

hanji

You may want to add the package.mask as mentioned above.. since php5 will 'want' to pull down from world.
Back to top
View user's profile Send private message
snIP3r
l33t
l33t


Joined: 21 May 2004
Posts: 819
Location: germany

PostPosted: Sun Jan 22, 2006 6:11 pm    Post subject: Reply with quote

snIP3r wrote:
CHTEKK wrote:
Yes, they are now in dev-lang/php, controlled by USE flags. Make sure to compile dev-lang/php at least with the following USE flags: pcre, session, cli, apache2. This will be fixed completely when Portage will support pacakge-based default USE flags.


Ahhh. Ok i forgot to USE apache2... Recompiling php now...

Thx
snIP3r


Doing this solves my problem!

Left the thread "unsolved" due to other user's problems.

Thx CHTEKK

Greets
snIP3r
_________________
Intel i3-4130T on ASUS P9D-X
Gentoo Base System 2.2
Kernel 4.19.23-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Back to top
View user's profile Send private message
llongi
Retired Dev
Retired Dev


Joined: 15 Apr 2004
Posts: 459
Location: Switzerland

PostPosted: Sun Jan 22, 2006 8:07 pm    Post subject: Reply with quote

Wrt dev-php/PECL-Fileinfo, this is correct, the PECL packages in dev-php/ are now deprecated and not compatible with dev-lang/php. You must use the corresponding ones in dev-php4/ or dev-php5/, for example if you want the fileinfo extension for PHP4, just emerge dev-php4/pecl-fileinfo, for PHP5 it's dev-php5/pecl-fileinfo and so on. All extensions that were available in dev-php/ have now their correct, dev-lang/php compatible counterpart in dev-php4/ or dev-php5/ categories. Once PHP6 is out, there will be a dev-php6/ category, and so on, this enables us to have extensions for each PHP version and have them installed on one but not on the other.
_________________
Best regards, Luca.
Back to top
View user's profile Send private message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1395

PostPosted: Sun Jan 22, 2006 8:42 pm    Post subject: Reply with quote

Thank you! That was the fix for me.

hanji
Back to top
View user's profile Send private message
unstable_geek
Tux's lil' helper
Tux's lil' helper


Joined: 01 Mar 2003
Posts: 102
Location: In my own happy place

PostPosted: Fri Jan 27, 2006 8:35 pm    Post subject: Reply with quote

so, then the correct order to this is to move away from the dev-php/php and go to the dev-lang/php? and dev-lang/php now includes mod_php?

never mind. Just found the PHP upgrade guide
_________________
I hate my sig
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Tue Feb 21, 2006 10:25 pm    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads, please see this topic.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum