php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13656 my ./configure command stucks when it tryes to read the 'lex' output
Submitted: 2001-10-12 17:07 UTC Modified: 2001-10-12 18:30 UTC
From: Mihai dot Gherman at com dot utcluj dot ro Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.0.6 OS: Suse 7.1
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: Mihai dot Gherman at com dot utcluj dot ro
New email:
PHP Version: OS:

 

 [2001-10-12 17:07 UTC] Mihai dot Gherman at com dot utcluj dot ro
here is what I get when I run the 
  ./configure --with-mysql --with-apache=../apache_1.3.20 --enable-track-vars :


checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
checking whether ln -s works... yes
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: lex: command not found
configure: error: cannot find output from lex; giving up
19:19:23~/php-4.0.6

of course after this error, the 'make' command cannot run  

mysql and php are the only modules which I try to compile with apache 1.3.20

could this 'lex output' be because of my OS or from the php source? should I try to install a older version of PHP?
I asked some people but they never encounter this kind of problem before. I hope you did, and solved it ;)

thank you  

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-12 18:30 UTC] cardinal@php.net
checking lex output file root... ./configure: lex: command not found

Read this line again.  You don't have the program installed.  On Linux, this program is provided by flex.  Install that, and try again.

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 08:00:02 2026 UTC