|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-08-22 15:40 UTC] edink at proventum dot net
I did a checkout with -r PHP_4_0_7 so I'm talking about that branch of the cvs tree. The error message: Making all in . make[1]: Entering directory `/data/src/cvs-php' gcc -I. -I/data/src/cvs-php/ -I/data/src/cvs-php/main -I/data/src/cvs-php -I/data/src/cvs-php/Zend -I/data/src/imap/c-client -I/ora01/app/oracle/product/8.1.6//ldap/public -I/usr/local/mysql/include/mysql -I/ora01/app/oracle/product/8.1.6/rdbms/public -I/ora01/app/oracle/product/8.1.6/rdbms/demo -I/ora01/app/oracle/product/8.1.6/network/public -I/data/src/cvs-php/ext/xml/expat -I/data/src/cvs-php/TSRM -g -O2 -c stub.c && touch stub.lo /bin/sh /data/src/cvs-php/libtool --silent --mode=link gcc -I. -I/data/src/cvs-php/ -I/data/src/cvs-php/main -I/data/src/cvs-php -I/data/src/cvs-php/Zend -I/data/src/imap/c-client -I/ora01/app/oracle/product/8.1.6//ldap/public -I/usr/local/mysql/include/mysql -I/ora01/app/oracle/product/8.1.6/rdbms/public -I/ora01/app/oracle/product/8.1.6/rdbms/demo -I/ora01/app/oracle/product/8.1.6/network/public -I/data/src/cvs-php/ext/xml/expat -I/data/src/cvs-php/TSRM -g -O2 -o libphp4.la -rpath /data/src/cvs-php/libs stub.lo Zend/libZend.la sapi/cgi/libsapi.la main/libmain.la ext/posix/libposix.la ext/session/libsession.la ext/shmop/libshmop.la ext/standard/libstandard.la ext/sysvsem/libsysvsem.la ext/sysvshm/libsysvshm.la ext/xml/libxml.la TSRM/libtsrm.la -lpam -ldl -lcrypt -lpam -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt stub.lo: file not recognized: File truncated collect2: ld returned 1 exit status make[1]: *** [libphp4.la] Error 1 make[1]: Leaving directory `/data/src/cvs-php' make: *** [all-recursive] Error 1 builconf says: ./buildconf buildconf: checking installation... buildconf: autoconf version 2.13 (ok) buildconf: automake version 1.4 (ok) buildconf: libtool version 1.4 (ok) rebuilding Makefile templates automake: configure.in: installing `Zend/ylwrap' rebuilding configure rebuilding acconfig.h rebuilding main/php_config.h.in Apache sapi version compiles and builds fine PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 02:00:01 2025 UTC |
It seems that extensions as dso's and cgi sapi don't mix well in PHP 4.0.7 RC1. I've tried to reduce the example to the smallest possible: So this is what I do: 1. CVS checkout of PHP_4_0_7 branch 2. ./buildconf 3. ./configure \ --with-recode=shared \ --without-mysql \ --without-gd \ --without-xml \ 4. make I get the compilation error: Making all in . make[1]: Entering directory `/home/ek/compile/cvs-php' gcc -I. -I/home/ek/compile/cvs-php/ -I/home/ek/compile/cvs-php/main -I/home/ek/compile/cvs-php -I/home/ek/compile/cvs-php/Zend -I/home/ek/compile/cvs-php/TSRM -g -O2 -c stub.c && touch stub.lo /bin/sh /home/ek/compile/cvs-php/libtool --silent --mode=link gcc -I. -I/home/ek/compile/cvs-php/ -I/home/ek/compile/cvs-php/main -I/home/ek/compile/cvs-php -I/home/ek/compile/cvs-php/Zend -I/home/ek/compile/cvs-php/TSRM -g -O2 -o libphp4.la -rpath /home/ek/compile/cvs-php/libs stub.lo Zend/libZend.la sapi/cgi/libsapi.la main/libmain.la regex/libregex.la ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la TSRM/libtsrm.la -lpam -ldl -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt stub.lo: file not recognized: File truncated collect2: ld returned 1 exit status make[1]: *** [libphp4.la] Error 1 make[1]: Leaving directory `/home/ek/compile/cvs-php' make: *** [all-recursive] Error 1