RE: [PHP-INST] Re: apache 2.0.46 + PHP 4.3.2 install problem
| From: | Ross Franklin | Date: | Thu, 19 Jun 2003 19:24:21 +0000 |
| Subject: | RE: [PHP-INST] Re: apache 2.0.46 + PHP 4.3.2 install problem | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-11118@lists.php.net to get a copy of this message | ||
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:gomc@shaw.ca]
Sent: Thursday, June 19, 2003 11:00 AM
To: php-install@lists.php.net
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
[root@truckerwarez 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
[root@truckerwarez php-4.3.2]#
Any ideas?
Thx