John,
It looks as though configure can't find the bison or flex programs. I had this
exact problem just the other day. What you need to do is get these from the gnu
website:
http://www.gnu.org/software/bison/bison.html    (direct link on page)
http://www.gnu.org/software/flex/                       (you will have to go to mirror 
ftp site)
Just download these two source packages and install them. Then php will
configure fine.

-----Original Message-----
From: John [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 11:00 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Re: apache 2.0.46 + PHP 4.3.2 install problem


Very similar situation here but I think I'm doing  something wrong and could
use a little help from you guys.

Apache 2.0.46 & PHP 4.3.2

Here's my info: I can't get the ./configure to run


[EMAIL PROTECTED] php-4.3.2]#
./configure --with-apxs2=/usr/local/apache2/bin/apxs
loading cache ./config.cache
checking host 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 if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
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 flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 2356: lex: command not
found
configure: error: cannot find output from lex; giving up
[EMAIL PROTECTED] php-4.3.2]#


Any ideas?

Thx


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to