Re: failed compile

From: Date: Mon, 17 Sep 2001 00:49:01 +0000
Subject: Re: failed compile
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-4312@lists.php.net to get a copy of this message
Just install the flex rpm. --Jani On Sun, 16 Sep 2001, Data Driven Design wrote: >I've been writing PHP for over 2 years but I'm just starting with Linux, I >have mandrake 8.0 set up with mysql and postgresql. This is the outpout from >a failed ./configure > >[root@localhost php-4.0.6]# ./configure \ >> --with-mysql \ >> --with-pgsql \ >> --enable-ftp \ >> --with-apache >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... found >checking for working autoconf... found >checking for working automake... found >checking for working autoheader... found >checking for working makeinfo... found >checking whether to enable maintainer-specific portions of Makefiles... no >checking host system type... i586-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 >[root@localhost php-4.0.6]# > >I get a similar failure if I use --with-apxs, is there a tutorial I should >look at someplace? > >Data Driven Design >1506 Tuscaloosa Ave >Holly Hill, Florida 32117 > >http://www.datadrivendesign.com >Phone: (386) 226-8979 > >Websites That WORK For You > > >

« previous php.install (#4312) next »