Re: Install PHP4.3.1

From: Date: Thu, 15 May 2003 14:32:32 +0000
Subject: Re: Install PHP4.3.1
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-147709@lists.php.net to get a copy of this message
I don't think so on the Bison. Yes, on the lex. On Redhat, if you have up2date, use: up2date -i flex Or grab the RPM, if using debian, apt get it. On Thu, 2003-05-15 at 10:31, Chris Blake wrote: > 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. -- Adam Voigt (adam@cryptocomm.com) Linux/Unix Network Administrator The Cryptocomm Group

« previous php.general (#147709) next »