Hello I have apache2 running with module support. (enable-module=so at config) I also have the latest mysql running.
This is on a Mandrake 9.x box I am trying to get php compiled and installed, but it keeps barfing at the config step. I have been RTFM and searching the FAQs to no avail. I need some help please. You can see my config syntax below, just as the instructions state. But it barfs whilst looking for a lex output. I can locate 'lex' in an ocaml directory I downloaded. I do not think I have compiled any of the OCaml parts. In fact, I am unsure what lex and ocaml are. Should I find a 'lex' installer out there? Should I find a PHP.rpm? Does the rmp install the silly little apache modules in the right place? Thanks in advance for your help and ideas of what to try next. Feel free to mail me directly: rob dot bair at covad dot net Rob [root@Mandrake php-4.3.0]# ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs loading cache ./config.cache checking for Cygwin environment... no checking for mingw32 environment... no checking for working sed... sed 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 2482: lex: command not found configure: error: cannot find output from lex; giving up -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php