Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Compilation PHP] etranges résultats
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
jr
n00b
n00b


Joined: 27 Jun 2007
Posts: 49

PostPosted: Fri Jun 29, 2007 2:22 pm    Post subject: [Compilation PHP] etranges résultats Reply with quote

Bonjour,

Je test pas mal la gentoo, du en partie au fait que ovh me l'a livrée avec et que mon prédécesseur aimait bien a priori.
J'ai installé php 5.2.2 a coté avant de voir le systeme d'emerge etc ..
Je l'ai compilé plusieurs fois avec différents settings et il fonctionne.
Cependant, lorsque je le compile avec la meme config il lui arrive tres souvent de stoppé avant en sortant avec une erreur du type :

Quote:
ext/zip/lib/: file not recognized: Is a directory
collect2: ld returned 1 exit status
make: *** [libphp5.la] Erreur 1


parfois

Quote:
main/: file not recognized: Is a directory
collect2: ld returned 1 exit status
make: *** [libphp5.la] Erreur 1


et parfois la compilation marche et mon .so marche nickel.

Comprend pas l'instabilité de la compilation, en gros je fais un make clean reconfigure et op j'ai une nouvelle loterie.
J'écarterai un probleme hardware car j'ai 2 serveurs et les résultats ce retrouve plus ou moins. (et les serveurs sont stables et en prod pour le premier).

je compile PHP 5.2.2 avec gcc 3.4.6 sur du lib64 2.6.18.1.

a toute hasard mon configure :
Quote:
./configure --prefix=/usr/lib64/php5 --sysconfdir=/etc --cache-file=./config.cache --with-libdir=lib64 --disable-cli --with-apxs2=/usr/local/apache/bin/apxs --with-config-file-path=/etc/php/apache2-php5 --with-config-file-scan-dir=/etc/php/apache2-php5/ext-active --without-pear --disable-bcmath --without-bz2 --disable-calendar --disable-ctype --without-curl --without-curlwrappers --disable-dbase --enable-exif --without-fbsql --without-fdftk --disable-filter --enable-ftp --with-gettext --without-gmp --disable-hash --disable-json --without-kerberos --disable-mbstring --with-mcrypt --without-mhash --without-msql --without-mssql --with-ncurses --with-openssl --with-openssl-dir=/usr --disable-pcntl --disable-pdo --without-pgsql --disable-posix --without-pspell --without-recode --disable-shmop --without-snmp --disable-soap --disable-sockets --without-sybase --without-sybase-ct --disable-sysvmsg --disable-sysvsem --disable-sysvshm --without-tidy --disable-tokenizer --disable-wddx --disable-xmlreader --disable-xmlwriter --without-xmlrpc --without-xsl --enable-zip --with-zlib --disable-debug --enable-dba --without-cdb --with-db4 --without-flatfile --without-gdbm --without-inifile --without-qdbm --without-freetype-dir --without-t1lib --disable-gd-jis-conv --with-jpeg-dir=/usr --with-png-dir=/usr --without-xpm-dir --with-gd --with-mysql=/usr/lib/mysql --with-mysql-sock=/var/run/mysqld/mysqld.sock --without-mysqli --with-readline --without-libedit --without-mm --without-sqlite
Back to top
View user's profile Send private message
jr
n00b
n00b


Joined: 27 Jun 2007
Posts: 49

PostPosted: Fri Jun 29, 2007 2:46 pm    Post subject: Reply with quote

Hmm Ok j'ai vu l'erreur. J'utilisais deux shells avec des valeurs differentes et comme j'ai fait un changement de compilateur sur l'un et pas sur l'autre ... Tout marche bien avec un gcc 4.1 et la compil est instable avec le 3.4.6.
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


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

PostPosted: Fri Jun 29, 2007 3:09 pm    Post subject: Reply with quote

perso je ferais un emerge -e, comme préconisé par le guide de migration...
_________________
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