php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38867 configure: error: cannot find output from lex; giving up
Submitted: 2006-09-18 14:53 UTC Modified: 2006-09-26 01:00 UTC
Votes:7
Avg. Score:3.9 ± 0.8
Reproduced:7 of 7 (100.0%)
Same Version:1 (14.3%)
Same OS:2 (28.6%)
From: lucied21 at hotmail dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.1.6 OS: Fedora Core
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: lucied21 at hotmail dot com
New email:
PHP Version: OS:

 

 [2006-09-18 14:53 UTC] 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...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-18 15:00 UTC] tony2001@php.net
What do you get with `which lex`, `lex --version` ?
 [2006-09-26 01:00 UTC] 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-11-03 21:51 UTC] 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
 [2008-06-06 17:07 UTC] kanalerik at hotmail dot com
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 13:01:27 2024 UTC