|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-11-29 02:27 UTC] zhouxh at im dot ac dot cn
Description: ------------ compile php5.1.0 with same configure option in Ubuntu 5.0.4 every thing is ok, but can't do it in the Ubuntu 5.10 when i compile php5.1.1. --------- #gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-shared --with-system-zlib --libexecdir=/usr/lib --enable-nls --without-included-gettext --enable-threads=posix --program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9) Reproduce code: --------------- ./configure --prefix=/usr/local/php5 --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --with-pdo-mysql=/usr/local/mysql --with-gd -with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-freetype-dir=/usr/local --enable-gd-native-ttf --enable-socket --enable-exif --with-curl --with-zlib-dir=/usr --with-curl --with-curlwrappers --enable-wddx --enable-sockets --enable-soap --enable-mbstring --enable-ftp --enable-memory-limit --enable-zend-multibyte Expected result: ---------------- compile successful. Actual result: -------------- .... freetype -lpng -lz -ljpeg -lcurl -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lcurl -lidn -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz -lxml2 -lz -lm -lmysqlclient -lz -lcrypt -lnsl -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lcrypt -o libphp5.la libtool: link: cannot find the library `' make: *** [libphp5.la] Error 1 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 01 18:00:01 2025 UTC |
I downloaded latest file "php5.1-200512020930.tar.bz2" from sanps.php..net, now compile finished except some warnning. Another, i use Apache/1.3.33 with php, but can't run the command "make install" favorably. ------------ root@data:~/php/php5.1-200512020930 # make install Installing PHP SAPI module: apache [activating module `php5' in /usr/local/apache/conf/httpd.conf] can't continue, wait......long time... i use the key "ctrl+c" to stop it. i copy some files "php, libphp5.so, phpize php-config..." to somewhere use some shell command.