make failure for PHP 4.4.2 on AIX 5.3 ML-03

From: Date: Sat, 22 Apr 2006 05:48:43 +0000
Subject: make failure for PHP 4.4.2 on AIX 5.3 ML-03
Groups: php.install 
Request: Send a blank email to php-install+get-17283@lists.php.net to get a copy of this message
am trying to build mod_php for Apache 2.0.55 AIX 5.3 ML-03 The packages are built as follows: 1) Build gcc 3.3.4 bootstrap with VAC 7.0.0 2) Build gcc 3.4.5 bootstrap with gcc 3.3.4 3) Build zlib 1.2.3 bootstrap with gcc 3.4.5 4) I have used the rpm of OpenSSL openssl-0.9.7d-1 openssl-devel-0.9.7d-1 openssl-doc-0.9.7d-1 5) Build OpenLDAP 2.2.23 bootstrap with gcc 3.4.5 6) Build Apache 2.0.55 Bootstrap with gcc 3.4.5 7) Trying to build mod_php php-4.4.2 bootstrap with gcc 3.4.5 Config works well - no problems #!/usr/bin/bash export CONFIG_SHELL=/usr/bin/bash export TOPDIR=/work export SRCDIR=${TOPDIR}/php-4.4.2 export OBJSRC=${TOPDIR}/php-4.4.2 export LOGFILE=${TOPDIR}/logs/basename $0-log-${RUNTIME} export PREFIX=/usr/php-4.4.2 export CC=/usr/gcc/bin/gcc export OPENLDAP_DIR=/usr/openldap.2.2.23-bs_gcc345 export ZLIB_DIR=/usr/zlib123-bs_gcc345 export APACHE_DIR=/usr/apache-2.0.55 export CPPFLAGS="-I/opt/freeware/include " export CPPFLAGS="$CPPFLAGS -I/usr/openldap.2.2.23-bs_gcc345 " export CPPFLAGS="$CPPFLAGS -I/opt/freeware/include/openssl " export CPPFLAGS="$CPPFLAGS -I/usr/gcc/include/c++/3.4.5 " export CPPFLAGS="$CPPFLAGS -I/usr/gcc/include/c++/3.4.5/backward" export CPPFLAGS="$CPPFLAGS -I/usr/gcc/include/c++/3.4.5/bits " export CPPFLAGS="$CPPFLAGS -I/usr/gcc/include/c++/3.4.5/ext" export CPPFLAGS="$CPPFLAGS -I/usr/gcc/include/c++/3.4.5/powerpc-ibm-aix5.3.0.0" export CPPFLAGS="$CPPFLAGS -I/usr/gcc/include/c++/3.4.5/powerpc-ibm-aix5.3.0.0/bits" export CPPFLAGS="$CPPFLAGS -I/usr/zlib123-bs_gcc345/include" export CPPFLAGS="$CPPFLAGS -I/usr/openldap.2.2.23-bs_gcc345/include" ./configure --with-ldap=shared,${OPENLDAP_DIR} --with-zlib-dir=${ZLIB_DIR} --with-openssl=/opt/freeware/ --with-a pxs2=${APACHE_DIR}/bin/apxs --with-mime-magic=${APACHE_DIR}/conf/magic --prefix=${PREFIX} --disable-cgi --with-layout=GNU - -disable-ipv6 --enable-memory-limit --without-mysql --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-bcmath --en able-ctype --with-exec-dir=/usr/lib/php4/libexec --disable-static --with-regex=php --with-as=/usr/ccs/bin/as --with-ld=/usr /ccs/bin/ld --with-ar=/usr/ccs/bin/ar When I run gmake I get the following error: /usr/bin/bash /work/php-4.4.2/libtool --silent --preserve-dup-deps --mode=link /usr/gcc/bin/gcc -DPHP_ATOM_INC -I/work/php- 4.4.2/include -I/work/php-4.4.2/main -I/work/php-4.4.2 -I/opt/freeware//include -I/usr/zlib123-bs_gcc345/include -I/usr/ope nldap.2.2.23-bs_gcc345/include -I/work/php-4.4.2/ext/xml/expat -I/work/php-4.4.2/TSRM -I/work/php-4.4.2/Zend -I/opt/freewa re/include -I/usr/openldap.2.2.23-bs_gcc345 -I/opt/freeware/include/openssl -I/usr/gcc/include/c++/3.4.5 -I/usr/gcc/include /c++/3.4.5/backward -I/usr/gcc/include/c++/3.4.5/bits -I/usr/gcc/include/c++/3.4.5/ext -I/usr/gcc/include/c++/3.4.5/powerpc -ibm-aix5.3.0.0 -I/usr/gcc/include/c++/3.4.5/powerpc-ibm-aix5.3.0.0/bits -I/usr/zlib123-bs_gcc345/include -I/usr/openldap.2 .2.23-bs_gcc345/include -g -O2 -o ext/ldap/ldap.la -export-dynamic -avoid-version -prefer-pic -module -rpath /work/php-4 .4.2/modules -Wl,-brtl -Wl,-bI:/usr/apache-2.0.55//modules/httpd.exp -avoid-version -module -L/opt/freeware//lib -L/usr/zli b123-bs_gcc345/lib ext/ldap/ldap.lo -L/usr/openldap.2.2.23-bs_gcc345/lib -L/usr/openldap.2.2.23-bs_gcc345/lib -lldap -L/usr /openldap.2.2.23-bs_gcc345/lib -L/usr/openldap.2.2.23-bs_gcc345/lib -llber ar: No such file or directory ar: 0707-117 The fopen system call failed on file .libs/ldap.so. gmake: *** [ext/ldap/ldap.la] Error 1 As a matter of fact the .libs/ldap.so. is found in ./ext/ldap/.libs/ldap.so Help requested !!!!!

« previous php.install (#17283) next »