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:
I was able to fix few things during the gmake command and complete the make May I request you to kindly tell me if I was successful in my attempt or not by looking at the segment of the output I have attached to this BUG report. If you prefer to look at the complete log, I can send you the config log and the output of the build-php.4.4.2.bash script. I use a bash script to build the PHP so that I can easily backtrach my work The script I use is called build-php.4.4.2.bash ## build-php.4.4.2.bash #!/usr/bin/bash export pct="%" export RUNTIME="$(date +${pct}Y${pct}m${pct}d-${pct}H${pct}M${pct}S)" export CONFIG_SHELL=/usr/bin/bash export TOPDIR=/work export SRCDIR=${TOPDIR}/php-4.4.2 export OBJSRC=${TOPDIR}/objsrc-php4.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/include" 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 PATH="$PATH:/usr/local/bin:" { echo "START: `date`" echo "=========================================" if [[ ${PWD} != "${OBJSRC}" ]]; then echo " ERROR !!! This script must be run from '${OBJSRC}' directory" exit 1 fi case $1 in -config) cmd="${SRCDIR}/configure --with-ldap=${OPENLDAP_DIR} --with-zlib-dir=${ZLIB_DIR} --with-openssl=/opt/freeware/bin/openssl --wit h-apxs=${APACHE_DIR}/bin/apxs --with-mime-magic=${APACHE_DIR}/conf/magic --prefix=${PREFIX} --disable-cgi --with-layout=GNU --dis able-ipv6 --enable-memory-limit --without-mysql --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-bcmath --enable-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" echo "COMMAND: '${cmd}'" ${SRCDIR}/configure --with-ldap=shared,${OPENLDAP_DIR} --with-zlib-dir=${ZLIB_DIR} --with-openssl=/opt/freeware/ --with-apxs2=$ {APACHE_DIR}/bin/apxs --with-mime-magic=${APACHE_DIR}/conf/magic --prefix=${PREFIX} --disable-cgi --with-layout=GNU --disable-ipv 6 --enable-memory-limit --without-mysql --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-bcmath --enable-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 echo "RC($?)" echo "=========================================" ;; -make) echo "COMMAND: 'gmake'" gmake echo "RC($?)" echo "=========================================" ;; -install) echo "COMMAND: 'gmake install'" gmake install echo "RC($?)" echo "=========================================" ;; *) echo " build-php.4.4.2.bash [ -configure | -make | -install ] " exit 0 ;; esac echo "END: `date`" } 2>&1 | tee ${LOGFILE} [EMAIL PROTECTED] $ [EMAIL PROTECTED] $ pwd /work/objsrc-php4.4.2 [EMAIL PROTECTED] $ build-php.4.4.2.bash -make ................................................. .................................................. /usr/bin/bash /work/objsrc-php4.4.2/libtool --silent --preserve-dup-deps --mode=compile /usr/gcc/bin/gcc -Iext/ldap/ -I/work/php-4.4.2/ext/ldap/ -DPHP_ATOM_INC -I/work/objsrc-php4.4.2/include -I/work/objsrc-php4.4.2/main -I/work/php-4.4.2 -I/opt/freeware//include -I/usr/zlib123-bs_gcc345/include -I/usr/openldap.2.2.23-bs_gcc345/include -I/work/php-4.4.2/ext/xml/expat -I/work/objsrc-php4.4.2/TSRM -I/work/objsrc-php4.4.2/Zend -I/work/php-4.4.2/main -I/work/php-4.4.2/Zend -I/work/php-4.4.2/TSRM -I/work/objsrc-php4.4.2/ -I/opt/freeware/include -I/usr/openldap/include -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 -g -O2 -c /work/php-4.4.2/ext/ldap/ldap.c -o ext/ldap/ldap.lo /usr/bin/bash /work/objsrc-php4.4.2/libtool --silent --preserve-dup-deps --mode=link /usr/gcc/bin/gcc -DPHP_ATOM_INC -I/work/objsrc-php4.4.2/include -I/work/objsrc-php4.4.2/main -I/work/php-4.4.2 -I/opt/freeware//include -I/usr/zlib123-bs_gcc345/include -I/usr/openldap.2.2.23-bs_gcc345/include -I/work/php-4.4.2/ext/xml/expat -I/work/objsrc-php4.4.2/TSRM -I/work/objsrc-php4.4.2/Zend -I/work/php-4.4.2/main -I/work/php-4.4.2/Zend -I/work/php-4.4.2/TSRM -I/work/objsrc-php4.4.2/ -I/opt/freeware/include -I/usr/openldap/include -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 -g -O2 -o ext/ldap/ldap.la -export-dynamic -avoid-version -prefer-pic -module -rpath /work/objsrc-php4.4.2/modules -Wl,-brtl -Wl,-bI:/usr/apache-2.0.55//modules/httpd.exp -avoid-version -module -L/opt/freeware//lib -L/usr/zlib123-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 RC(2) ========================================= END: Wed Apr 26 10:54:54 MDT 2006 [EMAIL PROTECTED] $ FAILED at this point - I started to develop my workaround [EMAIL PROTECTED] $ pwd /work/objsrc-php4.4.2 [EMAIL PROTECTED] $ ls .libs/ Zend/ config.status* libtool* regex/ Makefile build-php.4.4.2.bash* ext/ main/ sapi/ Makefile.fragments config.cache include/ modules/ scripts/ Makefile.objects config.log libphp4.la pear/ TSRM/ config.nice* libs/ php4.spec [EMAIL PROTECTED] $ find . -name ldap.so -print ./ext/ldap/.libs/ldap.so [EMAIL PROTECTED] $ ls -l ./ext/ldap/.libs/ total 352 -rw-r--r-- 1 root system 845 Apr 26 10:54 ldap.exp -rwxr-xr-x 1 root system 174939 Apr 26 10:54 ldap.so* [EMAIL PROTECTED] $ ls -l ./.libs total 31880 -rw-r--r-- 1 root system 8193004 Apr 26 10:54 libphp4.a -rw-r--r-- 1 root system 35861 Apr 26 10:54 libphp4.exp lrwxrwxrwx 1 root system 13 Apr 26 10:54 libphp4.la@ -> ../libphp4.la -rw-r--r-- 1 root system 759 Apr 26 10:54 libphp4.lai -rwxr-xr-x 1 root system 8078618 Apr 26 10:54 libphp4.so* [EMAIL PROTECTED] $ pwd /work/objsrc-php4.4.2 [EMAIL PROTECTED] $ cd .libs [EMAIL PROTECTED] $ mv * ../ext/ldap/.libs/ [EMAIL PROTECTED] $ cd .. [EMAIL PROTECTED] $ rmdir .libs [EMAIL PROTECTED] $ ln -sf ext/ldap/.libs ./.libs [EMAIL PROTECTED] $ cp -p libphp4.la ext/ldap/ [EMAIL PROTECTED] $ [EMAIL PROTECTED] $ build-php.4.4.2.bash -make START: Wed Apr 26 11:16:45 MDT 2006 ========================================= COMMAND: 'gmake' /usr/bin/bash /work/objsrc-php4.4.2/libtool --silent --preserve-dup-deps --mode=link /usr/gcc/bin/gcc -DPHP_ATOM_INC -I/work/objsrc-php4.4.2/include -I/work/objsrc-php4.4.2/main -I/work/php-4.4.2 -I/opt/freeware//include -I/usr/zlib123-bs_gcc345/include -I/usr/openldap.2.2.23-bs_gcc345/include -I/work/php-4.4.2/ext/xml/expat -I/work/objsrc-php4.4.2/TSRM -I/work/objsrc-php4.4.2/Zend -I/work/php-4.4.2/main -I/work/php-4.4.2/Zend -I/work/php-4.4.2/TSRM -I/work/objsrc-php4.4.2/ -I/opt/freeware/include -I/usr/openldap/include -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 -g -O2 -o ext/ldap/ldap.la -export-dynamic -avoid-version -prefer-pic -module -rpath /work/objsrc-php4.4.2/modules -Wl,-brtl -Wl,-bI:/usr/apache-2.0.55//modules/httpd.exp -avoid-version -module -L/opt/freeware//lib -L/usr/zlib123-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 /usr/bin/bash /work/objsrc-php4.4.2/libtool --silent --preserve-dup-deps --mode=install cp ext/ldap/ldap.la /work/objsrc-php4.4.2/mod ules ---------------------------------------------------------------------- Libraries have been installed in: /work/objsrc-php4.4.2/modules ................................................. { .... Lot of messages ....}. ................................................. /usr/bin/bash /work/objsrc-php4.4.2/libtool --silent --preserve-dup-deps --mode=link /usr/gcc/bin/gcc -export-dynamic -g -O2 -L/opt/freeware//lib -L/usr/zlib123-bs_gcc345/lib -R /opt/freeware//lib -R /usr/zlib123-bs_gcc345/lib ext/openssl/openssl.lo ext/pcre/pcrelib/pcre_chartables.lo ext/pcre/pcrelib/pcre_compile.lo ext/pcre/pcrelib/pcre_config.lo ext/pcre/pcrelib/pcre_dfa_exec.lo ext/pcre/pcrelib/pcre_exec.lo ext/pcre/pcrelib/pcre_fullinfo.lo ext/pcre/pcrelib/pcre_get.lo ext/pcre/pcrelib/pcre_globals.lo ext/pcre/pcrelib/pcre_info.lo ext/pcre/pcrelib/pcre_maketables.lo ext/pcre/pcrelib/pcre_ord2utf8.lo ext/pcre/pcrelib/pcre_printint.lo ext/pcre/pcrelib/pcre_refcount.lo ext/pcre/pcrelib/pcre_study.lo ext/pcre/pcrelib/pcre_tables.lo ext/pcre/pcrelib/pcre_try_flipped.lo ext/pcre/pcrelib/pcre_ucp_findchar.lo ext/pcre/pcrelib/pcre_valid_utf8.lo ext/pcre/pcrelib/pcre_version.lo ext/pcre/pcrelib/pcre_xclass.lo ext/pcre/php_pcre.lo ext/zlib/zlib.lo ext/zlib/zlib_fopen_wrapper.lo ext/bcmath/bcmath.lo ext/bcmath/libbcmath/src/add.lo ext/bcmath/libbcmath/src/div.lo ext/bcmath/libbcmath/src/init.lo ext/bcmath/libbcmath/src/neg.lo ext/bcmath/libbcmath/src/outofmem.lo ext/bcmath/libbcmath/src/raisemod.lo ext/bcmath/libbcmath/src/rt.lo ext/bcmath/libbcmath/src/sub.lo ext/bcmath/libbcmath/src/compare.lo ext/bcmath/libbcmath/src/divmod.lo ext/bcmath/libbcmath/src/int2num.lo ext/bcmath/libbcmath/src/num2long.lo ext/bcmath/libbcmath/src/output.lo ext/bcmath/libbcmath/src/recmul.lo ext/bcmath/libbcmath/src/sqrt.lo ext/bcmath/libbcmath/src/zero.lo ext/bcmath/libbcmath/src/debug.lo ext/bcmath/libbcmath/src/doaddsub.lo ext/bcmath/libbcmath/src/nearzero.lo ext/bcmath/libbcmath/src/num2str.lo ext/bcmath/libbcmath/src/raise.lo ext/bcmath/libbcmath/src/rmzero.lo ext/bcmath/libbcmath/src/str2num.lo ext/ctype/ctype.lo ext/mime_magic/mime_magic.lo ext/overload/overload.lo ext/posix/posix.lo ext/session/session.lo ext/session/mod_files.lo ext/session/mod_mm.lo ext/session/mod_user.lo regex/regcomp.lo regex/regexec.lo regex/regerror.lo regex/regfree.lo ext/standard/array.lo ext/standard/base64.lo ext/standard/basic_functions.lo ext/standard/browscap.lo ext/standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_convert.lo ext/standard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo ext/standard/dns.lo ext/standard/exec.lo ext/standard/file.lo ext/standard/filestat.lo ext/standard/flock_compat.lo ext/standard/formatted_print.lo ext/standard/fsock.lo ext/standard/head.lo ext/standard/html.lo ext/standard/image.lo ext/standard/info.lo ext/standard/iptc.lo ext/standard/lcg.lo ext/standard/link.lo ext/standard/mail.lo ext/standard/math.lo ext/standard/md5.lo ext/standard/metaphone.lo ext/standard/microtime.lo ext/standard/pack.lo ext/standard/pageinfo.lo ext/standard/parsedate.lo ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/reg.lo ext/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo ext/standard/url.lo ext/standard/url_scanner.lo ext/standard/var.lo ext/standard/versioning.lo ext/standard/assert.lo ext/standard/strnatcmp.lo ext/standard/levenshtein.lo ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo ext/standard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo ext/standard/php_fopen_wrapper.lo ext/standard/credits.lo ext/standard/css.lo ext/standard/var_unserializer.lo ext/standard/ftok.lo ext/standard/aggregation.lo ext/standard/sha1.lo ext/sysvmsg/sysvmsg.lo ext/sysvsem/sysvsem.lo ext/sysvshm/sysvshm.lo ext/tokenizer/tokenizer.lo ext/xml/xml.lo ext/xml/expat/xmlparse.lo ext/xml/expat/xmlrole.lo ext/xml/expat/xmltok.lo TSRM/TSRM.lo TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo main/snprintf.lo main/spprintf.lo main/php_sprintf.lo main/safe_mode.lo main/fopen_wrappers.lo main/alloca.lo main/php_scandir.lo main/php_ini.lo main/SAPI.lo main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo main/strlcat.lo main/mergesort.lo main/reentrancy.lo main/php_variables.lo main/php_ticks.lo main/streams.lomain/network.lomain/php_open_temporary_file.lo main/php_logos.lo main/output.lo main/memory_streams.lo main/user_streams.lo Zend/zend_language_parser.lo Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo Zend/zend_dynamic_array.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.loZend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.loZend/zend_multibyte.lo Zend/zend_strtod.lo Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo main/internal_functions_cli.lo -lz -lssl -lcrypto -lm -o sapi/cli/php Build complete. (It is safe to ignore warnings about tempnam and tmpnam). RC(0) ========================================= END: Wed Apr 26 11:16:50 MDT 2006 [EMAIL PROTECTED] $ Previous Comments: ------------------------------------------------------------------------ [2006-04-25 18:43:04] [EMAIL PROTECTED] The machine I have is AIX 5.1 00595ADA4C00. Flex version is 2.5.4 too, but I don't remember if it is a self-compiled one or I installed it from a package. >Is there something that I have missed out along the >way which is coming back to haunt me ? Yes. AIX is the most problematic Unix platform I know of =) ------------------------------------------------------------------------ [2006-04-25 18:28:04] murthys at us dot ibm dot com Hi: I have put the Flex information for your perusal. [EMAIL PROTECTED] $ type flex flex is /usr/local/bin/flex [EMAIL PROTECTED] $ /usr/local/bin/flex --version /usr/local/bin/flex version 2.5.4 [EMAIL PROTECTED] $ what /usr/local/bin/flex /usr/local/bin/flex: 61 1.14 src/bos/usr/ccs/lib/libc/__threads_init.c, libcthrd, bos530 7/11/00 12:04:14 [EMAIL PROTECTED] $ I am really surprised at so many failures on my system. Is your machine also at AIX 5.3 ML-03 + ? Is there something that I have missed out along the way which is coming back to haunt me ? ------------------------------------------------------------------------ [2006-04-25 07:22:57] [EMAIL PROTECTED] With bison 2.1 I still get "Broken pipe" with this command. bison 1.35 works perfectly fine. What version of flex are you using? ------------------------------------------------------------------------ [2006-04-25 00:37:01] murthys at us dot ibm dot com I had made the mistake of noth mentioning the /usr/local/bin path in the window from which I was eceuting gmake. I fixed that - but now I get a different error and fails with the following messages: lex -Pzend -S/work/php-4.4.1/Zend/flex.skl -oZend/zend_language_scanner.c -i /work/php-4.4.1/Zend/zend_language_scanner.l 0: Warning: 1285-300 The P flag is not valid. 0: Warning: 1285-300 The z flag is not valid. 0: Warning: 1285-300 The e flag is not valid. 0: Warning: 1285-300 The d flag is not valid. 0: Warning: 1285-300 The S flag is not valid. 0: Warning: 1285-300 The / flag is not valid. 0: Warning: 1285-300 The w flag is not valid. 0: Warning: 1285-300 The o flag is not valid. 0: Warning: 1285-339 Ratfor is not supported with lex. 0: Warning: 1285-300 The k flag is not valid. 0: Warning: 1285-300 The / flag is not valid. 0: Warning: 1285-300 The p flag is not valid. 0: Warning: 1285-300 The h flag is not valid. 0: Warning: 1285-300 The p flag is not valid. 0: Warning: 1285-300 The - flag is not valid. 0: Warning: 1285-300 The 4 flag is not valid. 0: Warning: 1285-300 The . flag is not valid. 0: Warning: 1285-300 The 4 flag is not valid. 0: Warning: 1285-300 The . flag is not valid. 0: Warning: 1285-300 The 1 flag is not valid. 0: Warning: 1285-300 The / flag is not valid. 0: Warning: 1285-300 The Z flag is not valid. 0: Warning: 1285-300 The e flag is not valid. 0: Warning: 1285-300 The d flag is not valid. 0: Warning: 1285-300 The / flag is not valid. 0: Warning: 1285-300 The f flag is not valid. 0: Warning: 1285-300 The l flag is not valid. 0: Warning: 1285-300 The e flag is not valid. 0: Warning: 1285-300 The x flag is not valid. 0: Warning: 1285-300 The . flag is not valid. 0: Warning: 1285-300 The s flag is not valid. 0: Warning: 1285-300 The k flag is not valid. 0: Warning: 1285-300 The l flag is not valid. 0: Warning: 1285-300 The o flag is not valid. 0: Warning: 1285-300 The Z flag is not valid. 0: Warning: 1285-300 The e flag is not valid. 0: Warning: 1285-300 The d flag is not valid. 0: Warning: 1285-300 The / flag is not valid. 0: Warning: 1285-300 The z flag is not valid. 0: Warning: 1285-300 The e flag is not valid. 0: Warning: 1285-300 The d flag is not valid. 0: Warning: 1285-300 The _ flag is not valid. 0: Warning: 1285-300 The l flag is not valid. 0: Warning: 1285-300 The a flag is not valid. 0: Warning: 1285-300 The g flag is not valid. 0: Warning: 1285-300 The u flag is not valid. 0: Warning: 1285-300 The a flag is not valid. 0: Warning: 1285-300 The g flag is not valid. 0: Warning: 1285-300 The e flag is not valid. 0: Warning: 1285-300 The _ flag is not valid. 0: Warning: 1285-300 The s flag is not valid. 0: Warning: 1285-300 The a flag is not valid. 0: Warning: 1285-300 The e flag is not valid. 0: Warning: 1285-339 Ratfor is not supported with lex. 0: Warning: 1285-300 The . flag is not valid. 0: Warning: 1285-300 The i flag is not valid. 1249: Error: 1285-302 The parse tree is too large. Try using the following: %e Number gmake: *** [Zend/zend_language_scanner.c] Error 1 I have a return code of 2. ------------------------------------------------------------------------ [2006-04-25 00:29:30] murthys at us dot ibm dot com 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] $ ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/37183 -- Edit this bug report at http://bugs.php.net/?id=37183&edit=1