Install PHP4.3.1

From: Date: Thu, 15 May 2003 14:31:33 +0000
Subject: Install PHP4.3.1
Groups: php.general 
Request: Send a blank email to php-general+get-147707@lists.php.net to get a copy of this message
Greetings learned PHP(eople), Trying to install PHP 4.3.1. on my system. Having some trouble. According to INSTALL file here`s what I must do $ gunzip -c php-4.x.y.tar.gz | tar xf - $ cd php-4.x.y $ ./configure --with-mysql --with-apxs $ make $ make install After typing ./configure etc etc it starts and then produces the following : ====================================================================== [root@pb004 php-4.3.1]# ./configure --with-mysql --with-apxs --with-gd loading cache ./config.cache checking for Cygwin environment... no checking for mingw32 environment... no checking for working sed... sed 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 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: line 2482: lex: command not found configure: error: cannot find output from lex; giving up ======================================================================= I checked the troubleshooting docs for occurrences of lex but no joy. Do I need bison.......what is bison ? Is this PHP or Linux missing something ? -- Chris Blake Office : (011) 782-0840 Cell : 083 985 0379 286 emulator for Pentium IV released. It`s called Windows NT.

« previous php.general (#147707) next »