ID: 15980 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Analyzed +Status: Closed Bug Type: Documentation problem Operating System: Linux mandrake 7.2 PHP Version: 4.1.2 Assigned To: hholzgra New Comment:
Added a faq for this. Build faq entries can be seen here: http://cvs.php.net/cvs.php/phpdoc/en/faq/build.xml Previous Comments: ------------------------------------------------------------------------ [2002-09-28 14:17:46] [EMAIL PROTECTED] why didn't you use the flex and bison rpms from the distribution? ------------------------------------------------------------------------ [2002-03-11 03:38:54] [EMAIL PROTECTED] 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 ------------------------------------------------------------------------ [2002-03-10 22:42:20] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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 [EMAIL PROTECTED] ------------------------------------------------------------------------ [2002-03-10 21:09:34] [EMAIL PROTECTED] 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 [EMAIL PROTECTED] ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/15980 -- Edit this bug report at http://bugs.php.net/?id=15980&edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php