Bug #15980 Updated: can't install php4

From: Date: Mon, 11 Mar 2002 08:38:55 +0000
Subject: Bug #15980 Updated: can't install php4
References: 1  Groups: php.bugs php.doc 
Request: Send a blank email to php-bugs+get-2189@lists.php.net to get a copy of this message
ID: 15980 Updated by: arthurkwtang@netvigator.com -Summary: can't install php4 Reported By: arthurkwtang@netvigator.com Status: Analyzed Bug Type: Documentation problem Operating System: Linux mandrake 7.2 PHP Version: 4.1.2 New Comment: dear sir/madam, i have installed flex and bison again. however the same problems still occurred. (my procedure is : download the flex-2.5.4a.tar.gz and bison-1.33.tar.gz ) then copy to /usr/local/ and go to their directory and "./configure" and "make" and "make install". Finally, i go to /usr/local/php-4.1.2/ and cd /usr/local/php-4.1.2 ./configure --with-apxs=/usr/local/apache/bin/apxs \ --with-mysql \ --enable-track-vars :( but the same problem is still here thanks Rgds, arthur Previous Comments: ------------------------------------------------------------------------ [2002-03-10 22:42:20] sniper@php.net You need to install flex.. ask further support questions on the mailing lists. http://www.php.net/support.php (Reclassified as documentation problem, FAQ's build section should have entry for this :) ------------------------------------------------------------------------ [2002-03-10 21:11:09] arthurkwtang@netvigator.com Dear sir/madam, my OS is Linux Mandrake 7.2 and i install apache as my web server and mysql as my database. (Perl is also pre loaded) However, i tried to install PHP by use php*.tar.gz or *.rpm are both failed. i don't know why. Isn't the computer missed some gcc (compilers such as C compiler or others). Please give me a hand . thanks. when i tried to install by using un-tar *.tar.gz. the error is as below: firstly, i saved the un-tar directory in /tmp/php-4.1.2/** it is a root user too. The error as below: ********************************** [root@i-arthur php-4.1.2]# ./configure loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... i686-pc-linux-gnu checking for gawk... gawk checking for bison... bison -y checking bison version... 1.28 (ok) 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 how to run the C preprocessor... gcc -E checking for AIX... no checking for gcc option to accept ANSI C... none needed checking for ranlib... ranlib checking whether gcc and cc understand -c and -o together... yes checking whether ln -s works... yes 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 ********************************** What can i do? thanks Rgds, arthur arthurkwtang@netvigator.com ------------------------------------------------------------------------ [2002-03-10 21:09:34] arthurkwtang@netvigator.com Dear sir/madam, my OS is Linux Mandrake 7.2 and i install apache as my web server and mysql as my database. (Perl is also pre loaded) However, i tried to install PHP by use php*.tar.gz or *.rpm are both failed. i don't know why. Isn't the computer missed some gcc (compilers such as C compiler or others). Please give me a hand . thanks. when i tried to install by using un-tar *.tar.gz. the error is as below: firstly, i saved the un-tar directory in /tmp/php-4.1.2/** it is a root user too. The error as below: ********************************** [root@i-arthur php-4.1.2]# ./configure loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... i686-pc-linux-gnu checking for gawk... gawk checking for bison... bison -y checking bison version... 1.28 (ok) 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 how to run the C preprocessor... gcc -E checking for AIX... no checking for gcc option to accept ANSI C... none needed checking for ranlib... ranlib checking whether gcc and cc understand -c and -o together... yes checking whether ln -s works... yes 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 ********************************** What can i do? thanks Rgds, arthur arthurkwtang@netvigator.com ------------------------------------------------------------------------ [2002-03-10 01:20:25] mfischer@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". ------------------------------------------------------------------------ [2002-03-10 00:17:30] arthurkwtang@netvigator.com loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... i686-pc-linux-gnu checking for gawk... gawk checking for bison... bison -y checking bison version... 1.28 (ok) 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 how to run the C preprocessor... gcc -E checking for AIX... no checking for gcc option to accept ANSI C... none needed checking for ranlib... ranlib checking whether gcc and cc understand -c and -o together... yes checking whether ln -s works... yes checking for flex... lex checking for yywrap in -ll... no checking lex output file root... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15980&edit=1

« previous php.bugs (#2189) next »