HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Install issues with PHP Part (http://www.howtoforge.com/forums/showthread.php?t=1389)

cksrealm 24th November 2005 15:09

Install issues with PHP Part
 
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 15:31

Try to install flex:
Code:

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 09: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 10:03

Please post the output of
Code:

which flex
and
Code:

which lex

cksrealm 29th November 2005 11: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 12: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 12:23

Please install the mysql devel packages to solve this.

falko 29th November 2005 18:55

Quote:

Originally Posted by cksrealm
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:
Code:

apt-get install mysql-server mysql-client libmysqlclient12-dev
It's described here: http://www.howtoforge.com/perfect_setup_debian_sarge_p4


All times are GMT +2. The time now is 07:11.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.