PHP 5.2.6 sur mac os 10.4, erreur de compil configure: error
Posté : 25 nov. 2008, 16:26
Bonjour,
Bon je tourne en rond depuis un moment sur un soucis avec les librairies jpeg (hier c'était gd, comme quoi ça évolue).
Voici ma commande de compilation :
./configure --prefix=/usr/local/php5.2.6 --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/usr/local/apache2/conf/ --with-tags=TAGS --with-zlib --with-xml --enable-cli --with-zlib-dir=/usr --with-open-ssl -with-jpeg-dir=/opt --with-png-dir=/opt --enable-pnp --enable-jpeg --with-ttf --enable-exif --enable-ftp --enable-mbstring --enable-mbregex --enable-dbx --enable-sockets --with-iodbc=/usr --with-mysqli --enable-mysqlnd --with-gd --enable-gd-native-ttf --enable-magic-quotes
Voici le log qui va bien ...
configure:45296: checking for the location of libjpeg
configure:45314: result: yes
Et voici le résultat....
configure: error: libjpeg.(a|so) not found.
Dans le log il n'y à rien de plus vis à vis de jpeg...
cat config.log | grep jpeg
$ ./configure --prefix=/usr/local/php5.2.6 --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/usr/local/apache2/conf/ --with-tags=TAGS --with-zlib --with-xml --enable-cli --with-zlib-dir=/usr --with-open-ssl -with-jpeg-dir=/opt --with-png-dir=/opt --enable-pnp --enable-jpeg --with-ttf --enable-exif --enable-ftp --enable-mbstring --enable-mbregex --enable-dbx --enable-sockets --with-iodbc=/usr --with-mysqli --enable-mysqlnd --with-gd --enable-gd-native-ttf --enable-magic-quotes
configure:45296: checking for the location of libjpeg
configure:45723: error: libjpeg.(a|so) not found.
Apparement certains ont eu ce genre de problèmes mais avec d'autres os et leurs trucs n'ont pas fonctionner. Par exemple il y a un report de bug avec des verions antérieures de php ici http://bugs.php.net/bug.php?id=32369 et j'ai rajouter "/opt" pour les jpeg-dir et png-dir, mais avec ou sans ça ne change rien. Z'auriez une idée pour me dépanner ? Merci.
Bon je tourne en rond depuis un moment sur un soucis avec les librairies jpeg (hier c'était gd, comme quoi ça évolue).
Voici ma commande de compilation :
./configure --prefix=/usr/local/php5.2.6 --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/usr/local/apache2/conf/ --with-tags=TAGS --with-zlib --with-xml --enable-cli --with-zlib-dir=/usr --with-open-ssl -with-jpeg-dir=/opt --with-png-dir=/opt --enable-pnp --enable-jpeg --with-ttf --enable-exif --enable-ftp --enable-mbstring --enable-mbregex --enable-dbx --enable-sockets --with-iodbc=/usr --with-mysqli --enable-mysqlnd --with-gd --enable-gd-native-ttf --enable-magic-quotes
Voici le log qui va bien ...
configure:45296: checking for the location of libjpeg
configure:45314: result: yes
Et voici le résultat....
configure: error: libjpeg.(a|so) not found.
Dans le log il n'y à rien de plus vis à vis de jpeg...
cat config.log | grep jpeg
$ ./configure --prefix=/usr/local/php5.2.6 --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/usr/local/apache2/conf/ --with-tags=TAGS --with-zlib --with-xml --enable-cli --with-zlib-dir=/usr --with-open-ssl -with-jpeg-dir=/opt --with-png-dir=/opt --enable-pnp --enable-jpeg --with-ttf --enable-exif --enable-ftp --enable-mbstring --enable-mbregex --enable-dbx --enable-sockets --with-iodbc=/usr --with-mysqli --enable-mysqlnd --with-gd --enable-gd-native-ttf --enable-magic-quotes
configure:45296: checking for the location of libjpeg
configure:45723: error: libjpeg.(a|so) not found.
Apparement certains ont eu ce genre de problèmes mais avec d'autres os et leurs trucs n'ont pas fonctionner. Par exemple il y a un report de bug avec des verions antérieures de php ici http://bugs.php.net/bug.php?id=32369 et j'ai rajouter "/opt" pour les jpeg-dir et png-dir, mais avec ou sans ça ne change rien. Z'auriez une idée pour me dépanner ? Merci.