LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   installing PHP4 (https://www.linuxquestions.org/questions/linux-software-2/installing-php4-289658/)

viperkt400 02-13-2005 10:44 AM

installing PHP4
 
I'm somewhat new to linux so heres by problem, upon running ./configure for php4 this is what I get:

./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
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 whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... exit 0;
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for mawk... no
checking for gawk... gawk
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the PHP parsers.
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 2425: lex: command not found
configure: error: cannot find output from lex; giving up
travis@linux:~/php4/php4>

I'm just trying to insall HelpCore and I need this app to make it work. Thank you.

rob0t 02-13-2005 12:45 PM

Are you sure you have Flex installed? Look for an RPM on rpmfind.net:

http://rpmfind.net/linux/rpm2html/se...mit=Search+...


All times are GMT -5. The time now is 02:39 PM.