PHP 4.0 Bug #2443: can no longer make static build
| From: | danny dot heijl at cevi dot be | Date: | Tue, 05 Oct 1999 09:05:22 +0000 |
| Subject: | PHP 4.0 Bug #2443: can no longer make static build | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11541@lists.php.net to get a copy of this message | ||
From: danny.heijl@cevi.be
Operating system: RH 5.2 Linux
PHP version: 4.0 Latest CVS (05/10/1999)
PHP Bug Type: Compile Failure
Bug description: can no longer make static build
Is a static build of php4 no longer possible ?
All extensions seem to get built with libtool and -fPIC and -DPIC options.
I do not need or want that. I just want my old static build that worked fine until a couple of days
ago.
configure --with-informix now fails with this error :
/bin/sh ./libtool --mode=link gcc -O2 -g -g -Wall -I/opt/informix/incl/esql -L/home/local/lib -
lgd -L/opt/informix/lib -L/opt/informix/lib/esql -o libphp4.la -rpath /home/php/php4/libs -modul
e -avoid-version -L/home/local/lib -lgd -L/opt/informix/lib -L/opt/informix/lib/esql -Wl,-rpath
,/home/local/lib stub.lo libphp_util.la -ldl -lm -lresolv -L/home/php/php4/ext/pcre/pcrelib -lp
cre -lnsl -lcrypt -lgdbm -lgdbm -L/home/local/lib -lgd /opt/informix/lib/esql/libifsql.a /opt/i
nformix/lib/libifasf.a /opt/informix/lib/esql/libifgen.a /opt/informix/lib/esql/libifos.a /opt/i
nformix/lib/esql/libifgls.a -lgen -lgls -lm -ldl /opt/informix/lib/esql/checkapi.o /opt/informix
/lib/esql/libifglx.a -L/opt/informix/lib -L/opt/informix/lib/esql -lpam -L/home/local/lib -l
expat -lz
libtool: link: cannot build libtool library `libphp4.la' from non-libtool objects:
/opt/informix
/lib/esql/libifsql.a /opt/informix/lib/libifasf.a /opt/informix/lib/esql/libifgen.a /opt/informi
x/lib/esql/libifos.a /opt/informix/lib/esql/libifgls.a /opt/informix/lib/esql/checkapi.o /opt/in
formix/lib/esql/libifglx.a
make[2]: *** [libphp4.la] Error 1
make[2]: Leaving directory `/home/php/php4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/php/php4'
make: *** [all-recursive-am] Error 2
Also, I now get these warnings from buildconf :
buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
buildconf: automake version 1.4 (ok)
buildconf: libtool version 1.3.3 (ok)
buildconf: created or modified aclocal.m4
automake: ./libzend/Makefile.am: C++ source seen but
CXX' not defined in
configure.in'
configure.in: 728: required file `./$PHP_OUTPUT_FILES.in' not found
buildconf: created or modified configure
buildconf: created or modified libzend/aclocal.m4
buildconf: created or modified libzend/configure
buildconf: created or modified TSRM/aclocal.m4
buildconf: created or modified TSRM/configure
Danny.
---