[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

installation de php5.1.1 sur apache 2



bonjour a tous,

suite a mes recents deboires de rm, je suis en train de reinstaller ma machine.
je souhaite installer un php5.1.1 sur mon apache2
j'ai installer la lib apxs2:
whereis apxs2
apxs2: /usr/bin/apxs2 /usr/share/man/man8/apxs2.8.gz

* mon configure est le suivant:
./configure --prefix=/usr/local --enable-xml--enable-module=so --with-apxs2=/usr/bin/apxs2 --with-libxml-dir=/usr/lib --with-inifile=/etc/php/php5.1.1/php.ini --enable-ftp --enable-mbstring --disable-short-tags --with-mysql --enable-mysqli --with-gd --with-jpeg-dir --with-png-dir --with-zlib --with-zlib-dir --with-freetype-dir --enable-soap --enable-sockets

la configuration se passe bien

* pendant le make, j'ai ce warning
*** Warning: inter-library dependencies are not known to be supported.
*** All declared inter-library dependencies are being dropped.

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libphp5.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.

mais l'opération se termine sans erreurs

lorsque je fais le make install, j'ai l'erreur suivante:

Installing PHP SAPI module:       apache2handler
/usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/bin/libtool' libphp5.la /usr/lib/apache2/modules
/usr/bin/libtool --mode=install cp libphp5.la /usr/lib/apache2/modules/
cp .libs/libphp5.lai /usr/lib/apache2/modules/libphp5.la
cp .libs/libphp5.a /usr/lib/apache2/modules/libphp5.a
ranlib /usr/lib/apache2/modules/libphp5.a
chmod 644 /usr/lib/apache2/modules/libphp5.a
libtool: install: warning: remember to run `libtool --finish /usr/src/php/php-5.1.1/libs'
Warning!  dlname not found in /usr/lib/apache2/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 644 /usr/lib/apache2/modules/libphp5.so
chmod: cannot access `/usr/lib/apache2/modules/libphp5.so': No such file or directory
apxs:Error: Command failed with rc=65536

je n'y comprends bien. la lib libphp5.so n'est jamais crée. le md5 des sources est bon. l'apache2 est celui installé par defaut lors de l'install. j'y ai ajouté des lib et des mods via apt-get. est ce que vous avez été confronté a ce genre de problemes? bien cordialement,

Matthieu





Reply to: