i have a redhat small setup as per the guide posted in the 'linux, tips, guide section' of this forum.
I wanted to install php 4.3.10 and i am following guide here
http://www.mkaz.com/reference/php/setup_linux.html and when i do the step
Quote:
.Install PHP as a Module
In PHP src directory (php_4.2.3)
# ./configure --with-mysql \
--with-apxs=/usr/local/apache/bin/apxs
i get these errors as below :
Quote:
[root@li10-60 php-4.3.10]# ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
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
[root@li10-60 php-4.3.10]#
so what do i do now .....should i goto to the./configure and change something ...??
