From: [EMAIL PROTECTED] Operating system: Solaris 2.8 PHP version: 4.3.0RC2 PHP Bug Type: *Compile Issues Bug description: configure fails detecting flex on Sun's version of lex
Configure command: ./configure --enable-trans-sid --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache2/bin/apxs --with-gd=/usr/local --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-zlib-dir=/usr Configure output: checking for working sed... sed checking build system type... sparc-sun-solaris2.8 checking host system type... sparc-sun-solaris2.8 checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking whether gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for AIX... no checking if compiler supports -R... yes checking for ranlib... ranlib checking whether ln -s works... yes checking for gawk... gawk checking for bison... no checking for byacc... no configure: WARNING: You will need bison if you want to regenerate the PHP parsers. checking for flex... no checking for lex... lex checking for yywrap in -lfl... no checking for yywrap in -ll... yes checking lex output file root... lex.yy checking whether yytext is a pointer... no checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking flex version... lex: Software Generation Utilities (SGU) Solaris-ELF (4.0) The script just hangs and waits indefinitley at this point. Installing the GNU version of flex, obviously, solved the problem. -- Edit bug report at http://bugs.php.net/?id=20756&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20756&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20756&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20756&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20756&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20756&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20756&r=support Expected behavior: http://bugs.php.net/fix.php?id=20756&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20756&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20756&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20756&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20756&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20756&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20756&r=isapi