php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #15980 can't install php4
Submitted: 2002-03-10 00:17 UTC Modified: 2003-04-06 03:39 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:1 of 2 (50.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: arthurkwtang at netvigator dot com Assigned: hholzgra (profile)
Status: Closed Package: Documentation problem
PHP Version: 4.1.2 OS: Linux mandrake 7.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: arthurkwtang at netvigator dot com
New email:
PHP Version: OS:

 

 [2002-03-10 00:17 UTC] arthurkwtang at netvigator dot 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...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-10 01:20 UTC] 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 21:09 UTC] arthurkwtang at netvigator dot 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:11 UTC] arthurkwtang at netvigator dot 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 22:42 UTC] 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-11 03:38 UTC] arthurkwtang at netvigator dot com
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-09-28 14:17 UTC] hholzgra@php.net
why didn't you use the flex and bison rpms from the distribution?
 [2002-11-15 03:50 UTC] philip@php.net
Added a faq for this. Build faq entries can be seen here:
http://cvs.php.net/cvs.php/phpdoc/en/faq/build.xml
 [2003-04-06 03:21 UTC] servio at palacios dot com
My Operative System is Linux Mandrake 7.2 and i install apache 1.3.23 and 1.3.26.

When a try install php with rpm format this fail, but the php 4.3.1 tar.gz is successful installed, the problem is mod_php4 dosn't work with the Apache.

[root@tux php-4.3.1]# ./configure --with-apache=/usr/local/apache
loading cache ./config.cache
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for working sed... (cached) sed
checking host system type... i686-pc-linux-gnu
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether gcc and cc understand -c and -o together... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for AIX... no
checking if compiler supports -R... (cached) no
checking if compiler supports -Wl,-rpath,... (cached) yes
checking for ranlib... (cached) ranlib
checking whether ln -s works... (cached) yes
checking for gawk... (cached) gawk
checking for bison... (cached) bison -y
checking bison version... 1.28 (ok)
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for working const... (cached) yes
checking flex version... 2.5.4 (ok)
checking for pthreads_cflags... (cached) -pthread
checking for pthreads_lib... (cached)

what can i do?

Thanks.

Servio Palacios.
 [2003-04-06 03:39 UTC] philip@php.net
Servio, this is not a documentation problem, you should go here:

   http://www.php.net/support

Please do not make further comments to this unrelated closed documentation bug report.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Sep 19 16:01:27 2024 UTC