View previous topic :: View next topic |
Author |
Message |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Fri Sep 09, 2005 3:51 pm Post subject: [PHP] tout fout l'camp (resolu) |
|
|
bon, suite à une fausse manip sur mysql (la package), je fais un revdep-rebuild. Plein de lib "broken", et faut re-emerger dev-php/mod_php et dev-php/php.
dev-php/mod_php me sort une erreur: Code: | /bin/sh /var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/libtool --silent --preserve-dup-deps --mode=compile gcc -Imain/ -I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/main/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/include -I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/main -I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0 -I/usr/include/libxml2 -I/usr/X11R6/include -I/usr/include/freetype2 -I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/ext/mbstring/mbregex -I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/ext/mbstring/libmbfl -I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/ext/xml/expat -I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/TSRM -I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/Zend -march=k8 -O2 -pipe -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread -c main/internal_functions.c -o main/internal_functions.lo
In file included from /var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/ext/wddx/php_wddx.h:26,
from main/internal_functions.c:67:
/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/ext/xml/expat/expat.h:894: error: conflicting types for 'XML_FEATURE_UNICODE'
/usr/include/libxml2/libxml/parser.h:1196: error: previous definition of 'XML_FEATURE_UNICODE' was here
make: *** [main/internal_functions.lo] Erreur 1
make: *** Attente des tâches non terminées....
make: *** Attente des tâches non terminées....
make: *** Attente des tâches non terminées....
make: *** Attente des tâches non terminées....
make: *** Attente des tâches non terminées....
make: *** Attente des tâches non terminées....
make: *** Attente des tâches non terminées....
!!! ERROR: dev-php/mod_php-4.4.0-r1 failed.
!!! Function php-sapi_src_compile, Line 532, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.
|
Donc: Code: | equery belongs /usr/include/libxml2/libxml/parser.h | qui me répond au le package en question c'es libxml2 , que je ré-emerge. Mais toujours la même erreur sur mod_php.
Quant à dev-php/php, il me fait le même genre d'erreur ... Code: | /bin/sh /var/tmp/portage/php-4.4.0/work/php-4.4.0/libtool --silent --preserve-dup-deps --mode=compile gcc -DJNI_12 -D_REENTRANT '-DJAVALIB="/opt/blackdown-jdk-1.4.2.02/jre/lib/amd64/libjava.so"' -I/opt/blackdown-jdk-1.4.2.02/include -I/opt/blackdown-jdk-1.4.2.02/include/linux -Iext/java/ -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/java/ -DPHP_ATOM_INC -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/include -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/main -I/var/tmp/portage/php-4.4.0/work/php-4.4.0 -I/usr/include/libxml2 -I/usr/X11R6/include -I/usr/include/freetype2 -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/mbregex -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/libmbfl -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/xml/expat -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/TSRM -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend -march=k8 -O2 -pipe -c /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/java/java.c -o ext/java/java.lo
In file included from /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/wddx/php_wddx.h:26,
from main/internal_functions_cli.c:70:
/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/xml/expat/expat.h:894: erreur: types conflictuels pour « XML_FEATURE_UNICODE »
/usr/include/libxml2/libxml/parser.h:1196: erreur: définition précédente de « XML_FEATURE_UNICODE » était ici
make: *** [main/internal_functions_cli.lo] Erreur 1
make: *** Attente des tâches non terminées....
!!! ERROR: dev-php/php-4.4.0 failed.
!!! Function php-sapi_src_compile, Line 532, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.
|
qu'est ce que je loupe ? (sachant que je peux pas faire revdep-rebuild, je suis déjà en train de le faire ...)
Last edited by marvin rouge on Fri Sep 09, 2005 4:47 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Trevoke Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/31218531845533c508386c.jpg)
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Fri Sep 09, 2005 3:52 pm Post subject: |
|
|
Ben deja, fais nous voir tes USE flags.. ?
et fais-nous un "emerge -Cp mod_php" pour voir ce que tu as d'installe deja...
Et tu as quoi comme apache? _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Fri Sep 09, 2005 3:57 pm Post subject: |
|
|
Apache2.0.54-r13
USE flags: Code: | USE="amd64 X a52 aac aalib alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts bonobo cdr chroot crypt curl dba dvd dvdr dvdread eds emboss encode esd fam firefox flac foomaticdb fortran gd gdbm gif gstreamer gtk gtk2 gtkhtml guile hal imagemagick imlib ipv6 jabber java jpeg junit kdeenablefinal libwww lm_sensors lzw lzw-tiff mad matroska mikmod motif mozsvg mp3 mpeg mplayer msn mysql ncurses nls nowin nptl nptlonly nvidia ofx ogg opengl pam pdflib perl php png python quicktime readline real ruby samba scanner sdl slang spell sqlite ssl subtitles svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis wmf xine xml xml2 xmms xpm xv xvid zlib linguas_fr linguas_en_GB userland_GNU kernel_linux elibc_glibc" |
Flags pour mod_php:
Code: |
# emerge -pv mod_php
[ebuild R ] dev-php/mod_php-4.4.0-r1 +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 |
Pour le emerge -Cp, je voit pas son interêt ? il me répond Code: | dev-php/mod_php
selected: 4.4.0-r1
protected: none
omitted: none
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
boozo Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/83658268945e337605eec8.gif)
Joined: 01 Jul 2004 Posts: 3193
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Trevoke Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/31218531845533c508386c.jpg)
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Fri Sep 09, 2005 4:05 pm Post subject: |
|
|
emerge -Cp nous dit combien de versions de php_mod tu as -- et lesquelles.
php_mod est slotte, pour une raison ou pour une autre...
Aussi, pourquoi est-ce que tu as "amd64" dans tes USE flags?
/usr/portage/profiles/use.desc wrote: | # The following flags are NOT to be set or unset by users
alpha - indicates that architecture is 64-bit Alpha
amd64 - indicates that architecture is AMD64
[...] |
_________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Fri Sep 09, 2005 4:06 pm Post subject: |
|
|
Trevoke wrote: | Aussi, pourquoi est-ce que tu as "amd64" dans tes USE flags?
/usr/portage/profiles/use.desc wrote: | # The following flags are NOT to be set or unset by users
alpha - indicates that architecture is 64-bit Alpha
amd64 - indicates that architecture is AMD64
[...] |
| C'est le profil qui les rajoute, pas moi. C'était un extrait de "emerge info". |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Fri Sep 09, 2005 4:08 pm Post subject: |
|
|
boozo wrote: | 'alute
je sais que çà n'aide pas mais tu n'est pas le seul apparemment... peut-être un bug ![Confused :?](images/smiles/icon_confused.gif) |
Ouaip. Y'a un bug ou ils disent que re-emreger la libxml2 résoud le pb, mais pas ici ...
EDIT : le bug en question
Ceci, dit, j'ai pas de "access violation" dans la sandbox. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xaviermiller Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/18949772545903151f2312b.jpg)
Joined: 23 Jul 2004 Posts: 8723 Location: ~Brussels - Belgique
|
Posted: Fri Sep 09, 2005 4:10 pm Post subject: |
|
|
Salut,
J'ai le même problème sur mon laptop, pas mon desktop... je vais essayer de réémerger libxml2 et je dis quoi... _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Fri Sep 09, 2005 4:17 pm Post subject: |
|
|
XavierMiller wrote: | Salut,
J'ai le même problème sur mon laptop, pas mon desktop... je vais essayer de réémerger libxml2 et je dis quoi... | Ah oui, dis quoi ... ceci dit, j'ai déjà re-émerge la libxml2. Sans changement.
EDIT: des infos sur PHP 4/5:
https://forums.gentoo.org/viewtopic-t-377385.html |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Fri Sep 09, 2005 4:46 pm Post subject: |
|
|
Hop, je double poste, mais c'est pour la solution.
Code: | emerge unmerge mod_php
emerge unmerge dev-php/php
emerge dev-lang/php
|
Y'a migration de php vers dev-lang, c'est un php-5, et ici ça marche
+ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xaviermiller Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/18949772545903151f2312b.jpg)
Joined: 23 Jul 2004 Posts: 8723 Location: ~Brussels - Belgique
|
Posted: Sat Sep 10, 2005 8:47 am Post subject: |
|
|
oki, je vais essayer, car j'ai de nouveau eu le problème "XML"...
en plus que MySQL est passé à la 4.1, je ne suis pas encore tout à fait remis du dernier "sync" ![Confused :?](images/smiles/icon_confused.gif) _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|