#38867 [NEW]: configure: error: cannot find output from lex; giving up
From: lucied21 at hotmail dot com
Operating system: Fedora Core
PHP version: 5.1.6
PHP Bug Type: Compile Failure
Bug description: configure: error: cannot find output from lex; giving up
Description:
------------
I wanna know how to configure this PHP in my system Fedora Core.
I have installed flex, bison already in my system.
Reproduce code:
---------------
# ./configure --with-apxs2=/usr/local/apache2/bin/apxs
loading 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... /bin/sed
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... 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 whether ln -s works... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... 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... gawk
checking for bison... bison -y
checking for bison version... 2.3 (ok)
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 3246: lex: command not
found
configure: error: cannot find output from lex; giving up
Expected result:
----------------
i can make or make install PHP
Actual result:
--------------
Error and warnings...
--
Edit bug report at http://bugs.php.net/?id=38867&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38867&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38867&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38867&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38867&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38867&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38867&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38867&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38867&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38867&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38867&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38867&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38867&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38867&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38867&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38867&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38867&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38867&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38867&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38867&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38867&r=mysqlcfg
Thread (4 messages)
- lucied21 at hotmail dot com