Re: ./configure on Linux failed

From: Date: Fri, 10 Aug 2001 17:36:36 +0000
Subject: Re: ./configure on Linux failed
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-3930@lists.php.net to get a copy of this message
i had same issue. so i went on to look for a flex rpm, and installed it on my redhat. error is gone forever. =P -sean Kok Wei Koh wrote: > [root@dreamserver php-4.0.6]# > /configure --with-mysql --with-apache=../apachelite_1.3.9 --enable-track-va > rs > loading cache ./config.cache > checking for a BSD compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking whether make sets ${MAKE}... yes > checking for working aclocal... missing > checking for working autoconf... missing > checking for working automake... missing > checking for working autoheader... missing > checking for working makeinfo... missing > checking whether to enable maintainer-specific portions of Makefiles... no > checking host system type... i686-pc-linux-gnu > checking for gawk... gawk > checking for bison... no > checking for byacc... no > configure: warning: You will need bison if you want to regenerate the PHP > parsers. > 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 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 > > Can someone help me on this? What is lex: command not found? > > Regards, > Kok Wei Koh

« previous php.install (#3930) next »