I've appended this here since I'm not the one that had the problem and
Scott sent me a response directly.
Scott Mebberson wrote:
> What is flex.
>
I believe Flex the GNU version of lex. It is a lexical scanner and some
form of one must be installed on your system before you can build PHP.
Failing to find Flex the PHP configure will look for the lex command but
if you have niether you won't be able to proceed with the build.
> When I installed in I untared the stuf in a directory. Cd'd there and type
>
> # ./configure --with_any_driective_you_want_here
> # make
> # make install
>
> And this worked fine.Maybe try that?
>
If you're configure worked, it means that you have some form of lex (or
more likely flex) already installed. The person who had the problem
(h3rb) apparently wasn't as fortunate.
> Also, the root might be /var/www/html/ - I found this out. It is really
> weird. In the httpd.conf the server root is set to /url/local/public_html/
> but when typing http://localhost it actually pulls the pages from
> /var/www/html/
>
> "Alex Akilov" wrote in message
> news:<[EMAIL PROTECTED]>...
> > h3rb wrote:
> >
> > > At first I tried compiling PHP4 myself. And as it turned out I didn't
> have
> > > lex. So then I searched for lex and couldn't really find a spot to
> download
> > > it.
> >
> > What you needed was actually flex. It's available from GNU.
> >
> > Alex
>