Help - Search - Members - Calendar
Full Version: ./configure Problem With Mdk9.1
Linuxhelp > Support > Technical Support

I am following the procedure in the PHP manual to configure PHP for use with MYSQL.

When I run ./configure --with-mysql --with..............
It stops after a few seconds complaining that it can find output from Lex.

I am new to linux and probably jumping in deeper than I should, howevwe I gotta learn somehow.....

Here is a section of the output from the configure script:

creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
Updated main/php_version.h
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... bison -y
checking bison version... 1.35 (ok)
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

Any suggestions????

Your going about this the hard way...
urpmi php-mysql

and your done smile.gif
However, if you do want to compile everything, you need the package "flex" according to that error.

I crashed and burned with something else so ended up re-installing.

I'll try your suggestions tonight.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.