trouble building RC1 on AIX 4.3.3

From: Date: Fri, 14 Apr 2000 18:37:05 +0000
Subject: trouble building RC1 on AIX 4.3.3
Groups: php.version4 
Request: Send a blank email to php-version4+get-13566@lists.php.net to get a copy of this message
Hi, I'm trying to build PHP4RC1 on AIX 4.3.3 $ ./configure --with-apxs --disable-debug [runs file] $ make ... /bin/sh ../../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/home/root/compile/php-4.0RC1/ext/mysql/libmysql -I../../.. -I../../../Zend -I/home/root/compile/php-4.0RC1 -I/usr/local/include/apache -I/home/root/compile/php-4.0RC1/ext/mysql/libmysql -I/home/root/compile/php-4.0RC1/ext/xml/expat/xmltok -I/home/root/compile/php-4.0RC1/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=21 -D_THREAD_SAFE -O2 -c libmysql.c In file included from libmysql.c:11: global.h:484: conflicting types for `int8' /usr/include/sys/inttypes.h:622: previous declaration of `int8' global.h:485: warning: redefinition of `int16' /usr/include/sys/inttypes.h:623: warning: `int16' previously declared here global.h:495: warning: redefinition of `int32' /usr/include/sys/inttypes.h:624: warning: `int32' previously declared here make[4]: *** [libmysql.lo] Error 1 make[4]: Leaving directory `/home/root/compile/php-4.0RC1/ext/mysql/libmysql' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/root/compile/php-4.0RC1/ext/mysql/libmysql' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/root/compile/php-4.0RC1/ext/mysql' make[1]: *** [all] Error 1 make[1]: Leaving directory `/home/root/compile/php-4.0RC1/ext' make: *** [all-recursive] Error 1 ok, so there's something wrong with MySQL. Can I do some thing to fix it (for the time being I do need MySQL)? In the mean time it seems to compile without MySQL-support: $ ./configure --with-apxs --disable-debug --without-mysql [fine] $ make clean $ make but when I do: $ make install to have .libs/libphp4.so (which do not exist!?) copied to /usr/local/lib/apache I get the following error: $ make install ... make[1]: Entering directory `/home/root/compile/php-4.0RC1' apxs -i -a -n php4 libs/libphp4.so cp libs/libphp4.so /usr/local/lib/apache/libphp4.so cp: libs/libphp4.so: No such file or directory apxs:Break: Command failed with rc=65536 make[1]: *** [install-local] Error 1 make[1]: Leaving directory `/home/root/compile/php-4.0RC1' make: *** [install-recursive] Error 1 $ $ ls -l .libs/ lrwxrwxrwx 1 root system 16 Apr 14 20:31 libphp4.a -> libphp4.so.0.0.0 lrwxrwxrwx 1 root system 13 Apr 14 20:31 libphp4.la -> ../libphp4.la -rw-r--r-- 1 root system 732 Apr 14 20:31 libphp4.lai lrwxrwxrwx 1 root system 16 Apr 14 20:31 libphp4.so.0 -> libphp4.so.0.0.0 -rwxr-xr-x 1 root system 1819892 Apr 14 20:31 libphp4.so.0.0.0 I'v tried to copy .libs/php4.so.0.0.0 to /usr/local/lib/apache/libphp4.so and add the appropriate config directives to httpd.conf, but then apachecrl configtest (or apachectl start) just dumps core. Is it possible to build PHP4 as a Apache module under AIX? I'm using GCC 2.95.2, GNU make 3.78.1, and Apache 1.3.12 all fetch from http://www-frec.bull.com/ Thank you /Michael

« previous php.version4 (#13566) next »