ID:               15980
 Updated by:       [EMAIL PROTECTED]
-Summary:          can't install php4
 Reported By:      [EMAIL PROTECTED]
-Status:           Bogus
+Status:           Open
 Bug Type:         Compile Failure
 Operating System: Linux mandrake 7.2
 PHP Version:      4.1.2
 New Comment:

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]


Previous Comments:
------------------------------------------------------------------------

[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]

------------------------------------------------------------------------

[2002-03-10 01:20:25] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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

Reply via email to