ID: 37183 User updated by: murthys at us dot ibm dot com Reported By: murthys at us dot ibm dot com -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: AIX 5.3 PHP Version: 4.4.2 New Comment:
Thank you for your prompt response and helping me through this ordeal. You may already know it but just to make sure that the installation went through clean may I humbly request you to do the followng: 1) Download the tar ball to /tmp/ 2) cd / 3) tar -xvf /tmp/bison.2.1-tar 4) ln -sf /usr/local/lib/liby.a /usr/lib/ 5) export PATH=$PATH:/usr/local/bin: 6) bison -y -v -d $PWD/ext/standard/parsedate.y -o /tmp/lll Things should work. Just to make sure I have put the command output from my machine for your perusal: [EMAIL PROTECTED] $ type bison bison is /usr/local/bin/bison [EMAIL PROTECTED] $ what /usr/local/bin/bison /usr/local/bin/bison: 61 1.14 src/bos/usr/ccs/lib/libc/__threads_init.c, libcthrd, bos530 7/11/00 12:04:14 [EMAIL PROTECTED] $ cksum /usr/local/bin/bison 1145367119 1955189 /usr/local/bin/bison [EMAIL PROTECTED] $ oslevel -r 5300-03 [EMAIL PROTECTED] $ bison -y -v -d $PWD/ext/standard/parsedate.y -o /tmp/lll [EMAIL PROTECTED] $ echo $PWD /work/php-4.4.1 [EMAIL PROTECTED] $ bison -y -v -d $PWD/ext/standard/parsedate.y -o /tmp/lll [EMAIL PROTECTED] $ echo $? 0 [EMAIL PROTECTED] $ cksum $PWD/ext/standard/parsedate.y 2527442736 29326 /work/php-4.4.1/ext/standard/parsedate.y [EMAIL PROTECTED] $ Previous Comments: ------------------------------------------------------------------------ [2006-04-24 19:30:02] [EMAIL PROTECTED] I was unable to use any of 2.1/2.0 binaries from this site because of the problem below: bison -y -v -d /fastemp/tony/php-src_4_4/ext/standard/parsedate.y -o /fastemp/tony/php-src_4_4/ext/standard/parsedate.c make: *** [/fastemp/tony/php-src_4_4/ext/standard/parsedate.c] Broken pipe But in the same time self-compiled bison-1.35 works just fine. So I would recommend you to try to compile and use 1.35, I believe it should help. ------------------------------------------------------------------------ [2006-04-24 14:24:21] murthys at us dot ibm dot com I have installed the bison package fro: http://aixpdslib.seas.ucla.edu/packages/bison.html Version 2.1 for AIX 5.3 ------------------------------------------------------------------------ [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