Hello all,
I'm trying to install php4 module on apache.
These are the characteristics of my system:
IBM RS/6000
AIX 4.3.3
IBM DB2 7.1
Apache 1.3.14
php 4.0.3pl1
These are the steps I have attempted but it didn't work:
installed Apache
./configure
make
make install
Note: at first the make didn't work, so then I installed the PTF for ibmcxx 3.6.4.2 and it worked.
compiled php as an Apache module:
./configure --with-ibm-db2=/usr/lpp/db2 --with-apache=/usr/lpp/apache_1
.3.14 --enable-track-var --without-mysql --enable-versioning
make
make install
NOTE: this gave me some warnings for inline redefinition and I also had to insert the option: --without-mysql otherwise it would give me an error in the mysql module compilation (why is the mysql library automatically icluded in the php?)
- recompiled Apache with the php 4 module
./configure --activate-module=src/modules/php4/libphp4.a
make
On this last step is where the compilation gave the following error:
"...
cc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -USTR -DAIX_BIND_PROCES
SOR -qnogenpcomp -qnousepcomp -I/usr/lpp/php-4.0.3pl1 -I/usr/lpp/php-4.0.3pl1/ma
in -I/usr/lpp/php-4.0.3pl1/main -I/usr/lpp/php-4.0.3pl1/Zend -I/usr/lpp/php-4.0.
3pl1/Zend -I/usr/lpp/php-4.0.3pl1/TSRM -I/usr/lpp/php-4.0.3pl1/TSRM -I/usr/lpp/p
hp-4.0.3pl1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ./apaci -lm -lpthrea
d -o httpd buildmark.o modules.o modules/php4/libphp4.a modules/standard/li
bstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libex
pat.a -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -L/home/
db2admin/sqllib/lib -ldb2 -ldl -lbind -lm -ldl -lcrypt
ld: 0711-317 ERROR: Undefined symbol: .alloca
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop."
Does anyone have a fix or suggestion to this problem?