Problems compiling php4.2.1 (lex command not found)
| From: | andy | Date: | Tue, 14 May 2002 15:04:35 +0000 |
| Subject: | Problems compiling php4.2.1 (lex command not found) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-97544@lists.php.net to get a copy of this message | ||
Hi there,
I did recently compile php4.2.0 and it worked fine. Now I did download 4.2.1
and used the same configure command (still in the cache) to configure the
new php code.
This are the errors I did get:
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: lex: command not found
configure: error: cannot find output from lex; giving up
root@saratoga:/home/andy/sw/php-4.2.1 >
./configure --with-gd=/home/andy/sw/gd-2.0.1 --with-freetype-dir=/usr/ --ena
ble-gd-native-ttf --enable-gd-imgstrttf --with-jpeg-dir=/usr --with-png-dir=
/usr --with-zlib --with-apxs=/usr/local/apache/bin/apxs --with-ftp --with-my
sql --with-pdflib
The machine is a suse7.2 linux system. No changes since last install (last
weekend :-)
Thanx for your help guys!
Andy