Lack of flex-2.5.4a-29.i386.rpm, find flex-2.5.4a-29.i386.rpm from linux9.0 CD, install, recompile php, OK. compile error solution when installing php5.2.0
1. Error message...
Checking for mcrypt support... no
Checking for mhash support... no
Checking whether to include mime_magic support... no
Checking for MING support... no
Checking for mSQL support... no
Checking for MSSQL support via FreeTDS... no
Checking for MySQL support... yes
Checking for specified location of the MySQL UNIX socket.../tmp/mysql. sock
Checking for MySQL UNIX socket location.../tmp/mysql. sock
Checking for mysql_close in-lmysqlclient... no
Checking for mysql_error in-lmysqlclient... no
Configure: error: mysql configure failed. Please check config. log for more information.
2. solution:
For example, if you choose to install MYSQL in the GZ package. Add a path here.
Add -- with-mysql-dir =/user/local/mysql
Remember not to write it as: -- with-mysql =/user/local/mysql
A. checking lex output file root.../configure: line 2425: lex: command not found
Configure: error: cannot find output from lex; giving up
Lack of flex-2.5.4a-29.i386.rpm, find flex-2.5.4a-29.i386.rpm from linux 9.0 CD, install, recompile php, OK.