When trying to compile midgard-php4, I am getting the following error:
---------------------------------
locutus:/ftpub/linux/midgard/midgard/midgard-php4-1.4.1-1 # ./configure
creating cache ./config.cache
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 for PHP prefix... /usr
checking for PHP includes... -I${prefix}/include/php
-I${prefix}/include/php/main -I${prefix}/include/php/Zend
-I${prefix}/include/php/TSRM
checking for PHP extension directory...
/usr/lib/php/extensions/no-debug-zts-20001214
checking for bison... bison -y
checking how to run the C preprocessor... gcc -E
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
===================================
locutus:/ftpub/linux/midgard/midgard/midgard-php4-1.4.1-1 #
---------------------------------
What is "lex"? I also don't understand this INSTALL instruction:
1 - To install midgard php4-module, you'll first need to have the
version
4.0.4 of PHP, as well as the matching php-devel package (or install
PHP 4.0.4 from source).
Well, I use Apache/1.3.19 (Unix) and php 4.0.4pl1, but I I could not
find a "php-devel" package. The documentation of the latest php source
(php-4.0.4pl1.tar.gz) does not contain anything of this name ...
(Distribution is suse. 7.1)
Thanks for help,
Thomas
--
-------------------------------------------------------
Thomas M. ROTHER - "netzwissen" - 73728 Esslingen
Germany/EU - http://www.netzwissen.de (updated)
Public PGP Key available from http://www.keyserver.net
-------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]