#1  
Old 24th November 2005, 16:09
cksrealm cksrealm is offline
Junior Member
 
Join Date: Nov 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 24th November 2005, 16:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 29th November 2005, 10:55
cksrealm cksrealm is offline
Junior Member
 
Join Date: Nov 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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....
Reply With Quote
  #4  
Old 29th November 2005, 11:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Please post the output of
Code:
which flex
and
Code:
which lex
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 29th November 2005, 12:16
cksrealm cksrealm is offline
Junior Member
 
Join Date: Nov 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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#
Reply With Quote
  #6  
Old 29th November 2005, 13:20
cksrealm cksrealm is offline
Junior Member
 
Join Date: Nov 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

configure: error: Cannot find MySQL header files under /usr.
Note that the MySQL client library is not bundled anymore.
ERROR: Could not configure PHP
Reply With Quote
  #7  
Old 29th November 2005, 13:23
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

Please install the mysql devel packages to solve this.
Reply With Quote
  #8  
Old 29th November 2005, 19:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
 
Default

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
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I get PHP to work after ISPConfig Install alvadore Installation/Configuration 22 30th March 2008 16:57
[error] an unkown filter was not added: PHP Arien Installation/Configuration 12 7th October 2006 15:17
Installation Problems right after php building nagual Installation/Configuration 1 31st October 2005 09:30
Nasty time with PHP on the install dkhird Installation/Configuration 1 11th September 2005 14:09
Install HELP:: ERROR: Could not create aps.tar.gz palkat Installation/Configuration 3 29th August 2005 10:35


All times are GMT +2. The time now is 00:49.


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