PDA

View Full Version : Install issues with PHP Part


cksrealm
24th November 2005, 16:09
Hi guys

I am having some issues with the installation of ISPConfig. The system that I am running is Debian and this is the error that I am getting during the install.

checking lex output file root... ./configure: line 2422: lex: command not found
configure: error: cannot find output from lex; giving up
ERROR: Could not configure PHP

I am running php4 as can be seen below.

ii php4 4.4.0-4 server-side, HTML-embedded scripting languag
ii php4-cgi 4.4.0-4 server-side, HTML-embedded scripting languag
ii php4-cli 4.4.0-4 command-line interpreter for the php4 script
ii php4-common 4.4.0-4 Common files for packages built from the php
ii php4-mcrypt 4.3.10-2 MCrypt module for php4
ii php4-mysql 4.4.0-4 MySQL module for php4
ii php4-odbc 4.4.0-4 ODBC module for php4
ii php4-pgsql 4.4.0-4 PostgreSQL module for php4
ii php4-rrdtool 1.04-15 RRD module for php4
ii php4-snmp 4.4.0-4 SNMP module for php4
ii php4-sybase 4.4.0-4 Sybase / MS SQL Server module for php4
ii php4-xslt 4.4.0-4 XSLT module for php4


Anyone got any idea why this is not working at all?

Kind Regards

Chris K

falko
24th November 2005, 16:31
Try to install flex:
apt-get install flex

Then delete the current binstall_ispconfig directory and try to install again.
Did you have a look here: http://www.howtoforge.com/perfect_setup_debian_sarge It gives some hints how to install/configure Debian Sarge in order to prepare the system for ISPConfig.

cksrealm
29th November 2005, 10:55
I have tried doing the apt-get install flex again but it is already installed. Any other ideas, is it maybe worth removing php totally and restarting it that way as well. I am really keen to get this setup now.... :)

falko
29th November 2005, 11:03
Please post the output of which flex and which lex

cksrealm
29th November 2005, 12:16
cobra:/home/chris/install_ispconfig# which flex
/usr/bin/flex
cobra:/home/chris/install_ispconfig# which lex
/usr/bin/lex
cobra:/home/chris/install_ispconfig#

cksrealm
29th November 2005, 13:20
configure: error: Cannot find MySQL header files under /usr.
Note that the MySQL client library is not bundled anymore.
ERROR: Could not configure PHP

till
29th November 2005, 13:23
Please install the mysql devel packages to solve this.

falko
29th November 2005, 19:55
configure: error: Cannot find MySQL header files under /usr.
Note that the MySQL client library is not bundled anymore.
ERROR: Could not configure PHP
Run this:
apt-get install mysql-server mysql-client libmysqlclient12-dev

It's described here: http://www.howtoforge.com/perfect_setup_debian_sarge_p4