Click to See Complete Forum and Search --> : Which package is missing ?


Linux
12-06-2001, 03:34 PM
This is what happens when I trie to compile php:

checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
checking whether ln -s works... yes
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: lex: command not found
configure: error: cannot find output from lex; giving up

RH 7.2, PHP-4.0.6
I have installed rh on new box because on old box I could not compile from source(.tar.gz files)

ThanX
:rolleyes:

slapNUT
12-06-2001, 05:10 PM
I would guess it's looking for flex-2.5.X.

Chatterjee
12-06-2001, 05:41 PM
you're going to need the bison package as well.. look for it on www.rpmfind.net (http://www.rpmfind.net)

-S

Linux
12-06-2001, 06:10 PM
ThanX, I will look for those two and see if it helps