Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[PHP] tout fout l'camp (resolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
marvin rouge
Veteran
Veteran


Joined: 01 Aug 2004
Posts: 1422
Location: Villa Lumierrante, Zonelibre

PostPosted: Fri Sep 09, 2005 3:51 pm    Post subject: [PHP] tout fout l'camp (resolu) Reply with quote

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
View user's profile Send private message
Trevoke
Advocate
Advocate


Joined: 04 Sep 2004
Posts: 4099
Location: NY, NY

PostPosted: Fri Sep 09, 2005 3:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
marvin rouge
Veteran
Veteran


Joined: 01 Aug 2004
Posts: 1422
Location: Villa Lumierrante, Zonelibre

PostPosted: Fri Sep 09, 2005 3:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
boozo
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 3193

PostPosted: Fri Sep 09, 2005 4:03 pm    Post subject: Reply with quote

'alute

je sais que çà n'aide pas mais tu n'est pas le seul apparemment... peut-être un bug :?
_________________
" Un psychotique, c'est quelqu'un qui croit dur comme fer que 2 et 2 font 5, et qui en est pleinement satisfait.
Un névrosé, c'est quelqu'un qui sait pertinemment que 2 et 2 font 4, et ça le rend malade ! "
Back to top
View user's profile Send private message
Trevoke
Advocate
Advocate


Joined: 04 Sep 2004
Posts: 4099
Location: NY, NY

PostPosted: Fri Sep 09, 2005 4:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
marvin rouge
Veteran
Veteran


Joined: 01 Aug 2004
Posts: 1422
Location: Villa Lumierrante, Zonelibre

PostPosted: Fri Sep 09, 2005 4:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
marvin rouge
Veteran
Veteran


Joined: 01 Aug 2004
Posts: 1422
Location: Villa Lumierrante, Zonelibre

PostPosted: Fri Sep 09, 2005 4:08 pm    Post subject: Reply with quote

boozo wrote:
'alute

je sais que çà n'aide pas mais tu n'est pas le seul apparemment... peut-être un bug :?


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
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8723
Location: ~Brussels - Belgique

PostPosted: Fri Sep 09, 2005 4:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
marvin rouge
Veteran
Veteran


Joined: 01 Aug 2004
Posts: 1422
Location: Villa Lumierrante, Zonelibre

PostPosted: Fri Sep 09, 2005 4:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
marvin rouge
Veteran
Veteran


Joined: 01 Aug 2004
Posts: 1422
Location: Villa Lumierrante, Zonelibre

PostPosted: Fri Sep 09, 2005 4:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8723
Location: ~Brussels - Belgique

PostPosted: Sat Sep 10, 2005 8:47 am    Post subject: Reply with quote

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" :?
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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