LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   php compile problem (https://www.linuxquestions.org/questions/linux-software-2/php-compile-problem-64532/)

heathpitts 06-09-2003 10:05 AM

php compile problem
 
Here is the output I get when trying to configure php.


[root@mail php-4.3.2]# ./configure
loading cache ./config.cache
checking host system type... i586-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 ranlib... ranlib
checking whether ln -s works... yes
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: lex: command not found
configure: error: cannot find output from lex; giving up


Any suggestion as to what I need to install?

acid_kewpie 06-09-2003 10:08 AM

Quote:

checking lex output file root... ./configure: lex: command not found
lex

heathpitts 06-11-2003 09:07 AM

I ended up giving up on it and installing redhat 7.0. I got everything working fine after I did that.


All times are GMT -5. The time now is 09:18 PM.