|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2004-03-31 05:58 UTC] peoyli at bredband dot net
Description: ------------ Make install fails on installing libphp5.so # make install Installing PHP SAPI module: apache2handler /usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la /usr/local/apache2/modules /usr/local/apache2/build/libtool --mode=install cp libphp5.la /usr/local/apache2/modules/ cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la cp .libs/libphp5.a /usr/local/apache2/modules/libphp5.a ranlib -t /usr/local/apache2/modules/libphp5.a chmod 644 /usr/local/apache2/modules/libphp5.a libtool: install: warning: remember to run `libtool --finish /usr/local/src/php5-200403310830/libs' Warning! dlname not found in /usr/local/apache2/modules/libphp5.la. Assuming installing a .so rather than a libtool archive. chmod 755 /usr/local/apache2/modules/libphp5.so chmod: /usr/local/apache2/modules/libphp5.so: No such file or directory apxs:Error: Command failed with rc=65536 . *** Error code 1 Stop in /usr/local/src/php5-200403310830 (line 138 of Makefile). Reproduce code: --------------- # ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs \ --with-config-file-path=/usr/local/php/conf --with-mysql=/usr/local/mysql \ --enable-track-vars --with-gd --with-zlib-dir=/usr/local \ --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --enable-cli # make # make install ... chmod: /usr/local/apache2/modules/libphp5.so: No such file or directory apxs:Error: Command failed with rc=65536 . *** Error code 1 Stop in /usr/local/src/php5-200403310830 (line 138 of Makefile). Actual result: -------------- Installation fails to complete libphp5.la and libphp4.a is installed in Apache module directory. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 08:00:02 2025 UTC |
Hvae you tried adding the '--enable-so=shared' and double checking your '--with-apxs2' flag? I'm just trying it out own my system: $ automake --version automake (GNU automake) 1.8.3 $ autoconf --version autoconf (GNU Autoconf) 2.59 $ libtool --version ltmain.sh (GNU libtool) 1.5.6 (1.1220.2.94 2004/04/10 16:27:27) $ make --version GNU Make 3.80 $ gcc --version 2.95.3 $ uname -mprsv OpenBSD 3.5 GENERIC#34 i386 AMD-K6(tm) 3D processor ("AuthenticAMD" 586-class) With PHP 4.3.6, althou I'm sure it will work just as well on PHP5 too. :) I'll let you know if it works, trying it now...