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:
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 ? Previous Comments: ------------------------------------------------------------------------ [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] $ ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ 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