Errors compiling Apache 1.3.9 / PHP4 CVS version
| From: | Brian Leyton | Date: | Tue, 28 Dec 1999 16:47:30 +0000 |
| Subject: | Errors compiling Apache 1.3.9 / PHP4 CVS version | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-8596@lists.php.net to get a copy of this message | ||
I'm working from a checkout of PHP4 that I grabbed yesterday. PHP compiles
ok, but I'm getting the following errors when compiling Apache:
gcc -DAIX=42 -U__STR__ -DAIX_BIND_PROCESSOR -DNO_DBM_REWRITEMAP -DMOD_S
SL=204108 -I/usr/local/lib/php4dev/php4 -I/usr/local/lib/php4dev/php4/Zend -
I/us
r/local/lib/php4dev/php4/Zend -I/usr/local/lib/php4dev/php4 -DUSE_HSREGEX -D
EAPI
-DUSE_EXPAT -I./lib/expat-lite
./apaci -lm -L/usr/local/ssl/lib -o
httpd
buildmark.o modules.o modules/ssl/libssl.a modules/php4/libphp4.a
modules/sta
ndard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a
regex/librege
x.a
lib/expat-lite/libexpat.a -L/usr/local/lib/mysql/lib/libmysqlclient.a -lmysq
lclient -L/usr/lib -lld -L/usr/local/lib -L/usr/local/lib/mysql/lib -L/usr/
loca
l/lib -L/usr/local/lib/mysql/lib -Lmodules/php4 -L../modules/php4 -L../../mo
dule
s/php4 -lmodphp4 -lgdbm -L/usr/local/lib -liodbc -ldl -ldl -lmysqlclien
t -l
lber -lldap -lm -lnsl -lssl -lcrypto
ld: 0711-224 WARNING: Duplicate symbol: sapi_module
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
ld: 0711-317 ERROR: Undefined symbol: .SQL_SUCCEEDED
collect2: ld returned 8 exit status
make: The error code from the last command is 1.
Stop.
make: The error code from the last command is 2.
Stop.
make: The error code from the last command is 2.
Stop.
#
Here's the configure line for PHP:
./configure --with-mysql=/usr/local/lib/mysql \
--with-ldap \
--with-iodbc \
--enable-trackvars \
--with-apache=/usr/local/lib/apache_1.3.9
And here's the one from Apache:
./configure --prefix=/usr/local/www \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=ssl --enable-module=rewrite --without-execstrip
This is on an RS-6000 with AIX 4.2.1.
I don't know if this matters, but per Sascha, I had to move the .PHONY
target in the file build.mk to the end of the file in order to get buildconf
to do its thing.
Any ideas?
Brian