General help compiling in Mandrake 8.1

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ScytheBlade1
Forum Newbie
Posts: 2
Joined: Mon Mar 17, 2003 9:25 pm
Contact:

General help compiling in Mandrake 8.1

Post by ScytheBlade1 »

All right, I downloaded PHP 4.3.1 source, extracted, and ran through the install steps, and yet, it fails when I ./configure it. I'm running Mandrake 8.1, if this is relevant at all.

I don't have the exact error, mainly because I'm stuck on a winmodem and can't connect in Linux. So, I'm basically asking for the general install steps---anything would be appreciated. Also, any general hints, etc. would be greatly appreciated.

I'm not a n00b to PHP--I have the win32 source from 4.2.1, 4.3.0, 4.3.1, 4.3.2, etc., and I've compliled them just fine in Win32, but not linux :S. My Apache (2.0.43) has three different vitrual hosts up and running. I just cannot seem to get PHP compiles on Linux! Any help is greatly appreciated.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

without the error message it's hard to tell what fails.
Probably there's another package missing.
ScytheBlade1
Forum Newbie
Posts: 2
Joined: Mon Mar 17, 2003 9:25 pm
Contact:

Post by ScytheBlade1 »

It says that it cannot get output from "lex", and something about missing it all together.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

install a flex and a bison package for your system (should be in the distribution somewhere, probably under "development")
Post Reply