#38867 [Opn->Fbk]: configure: error: cannot find output from lex; giving up

From: Date: Mon, 18 Sep 2006 15:00:46 +0000
Subject: #38867 [Opn->Fbk]: configure: error: cannot find output from lex; giving up
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-102331@lists.php.net to get a copy of this message
ID: 38867 Updated by: tony2001@php.net Reported By: lucied21 at hotmail dot com -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Fedora Core PHP Version: 5.1.6 New Comment: What do you get with which lex, lex --version ? Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#102331) next »