Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-26-2003, 03:07 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 8

Rep: Reputation: 0
compiling PHP 4.3.4

I'm trying to compile php, and when i run configure, it says i am missing a few required programs, and it stops when it can't find/use lex or flex. Are lex and flex the same thing? I found the site for flex i think, but nothing for lex. So can i install flex and it will work? I think I also might need bison. Anyone know what to do? Seems like such a pain just to build some binaries
Old 12-26-2003, 04:15 PM   #2
Registered: Dec 2003
Distribution: Debian, OpenBSD
Posts: 46

Rep: Reputation: 15
flex is the GNU implemetation of lex, so just installing either one will work. don't know if you'll need bison. configure will tell you...
i don't really see the problem building binaries - configure usually tells you what's missing. simply install any missing programs, libraries and run configure again until you don't get any error messages and you should be able to build about any program.
Old 12-27-2003, 03:01 PM   #3
LQ Newbie
Registered: Aug 2003
Posts: 8

Original Poster
Rep: Reputation: 0
the flex i found online is some kind of java infrastructure, is that the right flex i need?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling PHP on Debian j@ckrabbit Debian 1 10-28-2005 03:43 PM
Problem Compiling php-4.3.4 kaplan71 Programming 1 05-17-2004 06:02 PM
Re-compiling PHP lumux Linux - Software 1 01-12-2004 02:25 PM
Compiling PHP Risen Linux - Software 3 10-13-2003 01:28 PM
compiling PHP WiWa Linux - Software 4 10-07-2003 10:16 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration