Fedora Linux Support Community & Resources Center
Sections ›› Home | Forums | Guidelines | Forum Help | Fedora FAQ | Fedora News 

Go Back   FedoraForum.org > Fedora Support > Servers

Servers The place to discuss any Fedora server problems you may have.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2004-09-03, 01:50 PM CDT
snet Offline
Registered User
 
Join Date: Sep 2004
Posts: 1
PHP Error

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.
Reply With Quote
  #2  
Old 2004-09-03, 01:59 PM CDT
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,073
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.
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #3  
Old 2004-09-03, 02:03 PM CDT
kosmosik's Avatar
kosmosik Offline
Registered User
 
Join Date: Apr 2004
Location: Warsaw, Poland
Age: 28
Posts: 1,084
% apt-get install flex

you are missing flex package...
Reply With Quote
  #4  
Old 2004-09-03, 05:39 PM CDT
fjleal's Avatar
fjleal Offline
Registered User
 
Join Date: Feb 2004
Location: Portugal, Europe
Age: 39
Posts: 519
Quote:
Originally Posted by snet
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.
__________________
"I'd crawl over an acre of 'Visual This++' and 'Integrated Development That' to get to gcc, Emacs, and gdb. Thank you."
-- Vance Petree, Virginia Power
Reply With Quote
  #5  
Old 2004-09-03, 06:11 PM CDT
superbnerd
Guest
 
Posts: n/a
it is also possible to just use yum or apt
Code:
yum install php
or
Code:
apt-get install php
Reply With Quote
  #6  
Old 2004-09-03, 06:16 PM CDT
kosmosik's Avatar
kosmosik Offline
Registered User
 
Join Date: Apr 2004
Location: Warsaw, Poland
Age: 28
Posts: 1,084
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...
Reply With Quote
  #7  
Old 2004-09-03, 06:36 PM CDT
ewdi's Avatar
ewdi Offline
Retired Admin
 
Join Date: Jan 2004
Location: Penguin Land
Age: 59
Posts: 1,939
just a warning, many web application is broken in PHP5
__________________
+ Visit My new blog
- [b]SlashGear US, SlashGear Japan, and
+Founder & Admin of www.fedoraforum.org

Follow me at http://twitter.com/ewdi

Laptop : MacBook Pro 2.4Ghz 4GB DDR, 20-inch iMac Aluminium/4GB RAM
Reply With Quote
  #8  
Old 2004-09-04, 04:07 AM CDT
foolish's Avatar
foolish Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Aalesund, Norway
Age: 23
Posts: 1,890
PHP5 isn't ready for prime time yet. It'll be included in Fedora once people start using it seriously.
__________________
Sindre Pedersen Bjørdal || http://www.fedorasolved.org || Hardware Profile
- Please adhere to the FedoraForum Guidelines.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mount error - error mounting /dev/root on sysroot as ext3 : invalid argument marko General Support 5 2009-04-16 04:11 PM CDT
Error: DBus error org.freedesktop.DBus.Error.NoReply: -- F10 -- bluetooth kamil General Support 4 2009-04-12 07:29 AM CDT
madman error freshrpm error repository error! ilbh Software 5 2006-06-01 03:52 PM CDT
CUPS error: "lpr: error - unable to print file:client-error-not-found" Colin Brace gmane.linux.redhat.fedora.general 10 2006-04-09 03:50 PM CDT
mysql error while starting it "[ERROR] Fatal error: Can't open Ankush Grover gmane.linux.redhat.fedora.general 1 2005-09-23 08:30 AM CDT

Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 03:55 AM CST.

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
Hosting provided by ThePlanet



All trademarks, and forum posts in this site are property of their respective owner(s).

FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2009, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
vB Enterprise Translator (vBET) made by NLP-er