View Full Version : PHP Error
snet
3rd September 2004, 08:50 PM
Whenever I type ./configure to start the installation of PHP it gives the following error:
Checking lex output file root... ./configure: line 2425: lex: command not found
configure: error: cannot find output from lex; giving up
Does anyone know how to fix this?
Thanks.
tashirosgt
3rd September 2004, 08:59 PM
See if lex is on your machine. On the FC1 machine I'm at now, it is /usr/bin/lex which is a link to /usr/bin/flex.
If the file is present then the problem is probably with your path. Use the command
echo $PATH
or the command
env
to see that /usr/bin is in you PATH.
kosmosik
3rd September 2004, 09:03 PM
% apt-get install flex
you are missing flex package...
fjleal
4th September 2004, 12:39 AM
Whenever I type ./configure to start the installation of PHP it gives the following error:
Checking lex output file root... ./configure: line 2425: lex: command not found
configure: error: cannot find output from lex; giving up
Does anyone know how to fix this?
Thanks.
You probably shouldn't install PHP from source in Fedora. Use the Add/Remove Applications interface, there's an RPM with the latest PHP inyour installation ISOs.
superbnerd
4th September 2004, 01:11 AM
it is also possible to just use yum or apt yum install php or apt-get install php
kosmosik
4th September 2004, 01:16 AM
well I've assumed the guy here wan't to install PHP5 :) is it packaged somehow for Fedora? it should be as Fedora is bleeding edge... I've recently built (sorry no rpms now) PostgreSQL and Mono to support my projects so I can understand need of compiling anything (even hardcore things like web accessed scripting engines) myself...
ewdi
4th September 2004, 01:36 AM
just a warning, many web application is broken in PHP5 :(
foolish
4th September 2004, 11:07 AM
PHP5 isn't ready for prime time yet. It'll be included in Fedora once people start using it seriously.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.