|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-01-13 11:31 UTC] thierryblind at msn dot com
Description: ------------ Hello, since php 5.1.1, the "configure" script hangs on AIX 5.1 while "checking for flex version...". I have to hit "ctrl-d" and "enter" to bypass this test (and to make fail this one by the same occasion), but compilation of PHP still succeeds. I think the script simply do some wrong tests and it results that it waits on user input ... In comparison, "configure" script in php-5.0.5 had no such problem. Thank you. Reproduce code: --------------- creating cache ./config.cache checking for Cygwin environment... no checking for mingw32 environment... no checking for egrep... grep -E checking for a sed that does not truncate output... /usr/bin/sed checking host system type... powerpc-ibm-aix5.1.0.0 checking target system type... powerpc-ibm-aix5.1.0.0 checking for gcc... no checking for cc... cc checking whether the C compiler (cc ) works... yes checking whether the C compiler (cc ) is a cross-compiler... no checking whether we are using GNU C... no checking whether cc accepts -g... yes checking whether cc understands -c and -o together... yes checking how to run the C preprocessor... cc -E checking for AIX... yes checking whether ln -s works... yes checking if compiler supports -R... yes checking for re2c... no configure: warning: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers. checking for gawk... no checking for nawk... nawk checking if nawk is broken... no checking for bison... no checking for byacc... no checking for bison version... invalid configure: warning: bison versions supported for regeneration of the Zend/PHP pa rsers: 1.28 1.35 1.75 1.875 2.0 2.1 (found: none). checking for flex... lex checking for yywrap in -ll... yes checking lex output file root... lex.yy checking whether yytext is a pointer... no checking for working const... yes checking for flex version... <script hangs here> PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 07:00:01 2025 UTC |
I have the same problem with the php 5.1.3 with AIX 5.3. I have compared the Makefile generated by the configure between a old version of php (5.0.5 wich is ok) and this version. I noticed the diffence for the "BUILD_CLI". I have to modify two things : - first, the file apxs from IBM. I add "push(@cmds, "cp /Libre/web/php-5.1.3/.libs/libphp5.so /usr/HTTPServer/modules");", before the command line "push(@cmds, "chmod 755 $CFG_LIBEXECDIR/$t");" - two, I modify "BUILD_CLI" in the Makefile. I write "BUILD_CLI = $(LIBTOOL) --mode=link $(CC) -export-dynamic $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(EXTRA_LDFLAGS_PROGRAM) $(LDFLAGS) $(PHP_RPATHS) $(PHP_GLOBAL_OBJS) $(PHP_CLI_OBJS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $(SAPI_CLI_PATH)" instead of "BUILD_CLI = echo '\#! .' > php.sym && echo >>php.sym && nm -BCpg `echo $(PHP_GLOBAL_OBJS) $(PHP_CLI_OBJS) | sed 's/\([A-Za-z0-9_]*\)\.lo/\1.o/g'` | $(AWK) '{ if ((($$2 == "T") || ($$2 == "D") || ($$2 == "B")) && (substr($$3,1,1) != ".")) { print $$3 } }' | sort -u >> php.sym && $(LIBTOOL) --mode=link $(CC) -export-dynamic $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(EXTRA_LDFLAGS_PROGRAM) $(LDFLAGS) -Wl,-brtl -Wl,-bE:php.sym $(PHP_RPATHS) $(PHP_GLOBAL_OBJS) $(PHP_CLI_OBJS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $(SAPI_CLI_PATH)". So, the "make install" is OK. that's all.