PHP 5.0.1 on Red Hat 9 (Small)
configure: error: cannot find output from lex; giving up
Getting the above error when trying to ./configure
Can't seem to dig up an RPM for it real easy, "lex" is pretty wild at Google resulting in all sorts of results that have nothing to do with Linux, Compilers or PHP
At any rate, trying to update PHP and hit a wall I can't find my way around yet.
Would appreciate any help.
Nathan
5 Replies
I did find a package for redhat 9, part of "openpkg" and it includes an RPM for Flex.
trying to install flex generates:
error: Failed dependencies:
OpenPKG is needed by flex-2.5.4a-1.3.0
openpkg >= 1.3.0 is needed by flex-2.5.4a-1.3.0
trying to install openpkg generates:
Preparing… ########################################### [100%]
package openpkg-1.3.0-1.3.0 is intended for a ix86 architecture
package openpkg-1.3.0-1.3.0 is intended for a linux2.4 operating system
Apparently it doesn't know that I am installing it to an x86 with a Linux 2.4 kernel. hmmm, grrr
checking whether to enable LIBXML support… yes
checking libxml2 install dir… no
configure: error: xml2-config not found. Please check your libxml2 installation.
And of course it exits abruptly there. Get past one problem and run smack into another. I've found a couple RPM links for xml2 but unable to get all the dependencies right, looking for an updated source tar.gz