ID: 37183 User updated by: murthys at us dot ibm dot com Reported By: murthys at us dot ibm dot com Status: Open Bug Type: Compile Failure Operating System: AIX 5.3 PHP Version: 4.4.2 New Comment:
I have installed the bison package fro: http://aixpdslib.seas.ucla.edu/packages/bison.html Version 2.1 for AIX 5.3 Previous Comments: ------------------------------------------------------------------------ [2006-04-24 14:17:12] murthys at us dot ibm dot com Description: ------------ I am trying to build mod_php for Apache 2.0.55 AIX 5.3 ML-03 The required 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 I am now 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 However when I run make I get the following error: yacc -p zend -v -d /work/php-4.4.2/Zend/zend_language_parser.y -o Zend/zend_language_parser.c yacc: 1285-742 The escape is not valid or pure_parser is not a reserved word. Line 47 gmake: *** [Zend/zend_language_parser.c] Error 1 This is my first attempt to build the mod_php and ignorant of the basics. Is this a real BUG or have I missed out on a prerequisite - Kindly help me. Thanks I read the previously reported bugs with 1285-742 error and none of those resolutions seem to resolve the problem I am facing ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37183&edit=1