View previous topic :: View next topic |
Author |
Message |
jr n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Jun 2007 Posts: 49
|
Posted: Fri Jun 29, 2007 2:22 pm Post subject: [Compilation PHP] etranges résultats |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
jr n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Jun 2007 Posts: 49
|
Posted: Fri Jun 29, 2007 2:46 pm Post subject: |
|
|
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 |
|
![](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 Jun 29, 2007 3:09 pm Post subject: |
|
|
perso je ferais un emerge -e, comme préconisé par le guide de migration... _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|