#38867 [Com]: configure: error: cannot find output from lex; giving up
| From: | kanalerik at hotmail dot com | Date: | Fri, 06 Jun 2008 17:07:02 +0000 |
| Subject: | #38867 [Com]: configure: error: cannot find output from lex; giving up | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-125551@lists.php.net to get a copy of this message | ||
ID: 38867
Comment by: kanalerik at hotmail dot com
Reported By: lucied21 at hotmail dot com
Status: No Feedback
Bug Type: Compile Failure
Operating System: Fedora Core
PHP Version: 5.1.6
New Comment:
the only thing you have to do is installing flex which is on your
FedoraCD seek it in RPM and do this: rpm -i flex(version) and problem
solved.
Previous Comments:
------------------------------------------------------------------------
[2006-11-03 21:51:44] ac_sweeney at yahoo dot co dot uk
I have the same problem, with ubuntu 06.06 doesn't have lex installed,
when I do an apt-cache search for lex about 60 programs come back but I
do not know what program to install to fix this
------------------------------------------------------------------------
[2006-09-26 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2006-09-18 15:00:46] tony2001@php.net
What do you get with
which lex, lex --version ?
------------------------------------------------------------------------
[2006-09-18 14:53:06] lucied21 at hotmail dot com
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 this bug report at http://bugs.php.net/?id=38867&edit=1