Bug #17484 Updated: Error "grep: can't open conftest.out" while running ./configure
| From: | akjohnson78 at yahoo dot com | Date: | Wed, 12 Jun 2002 18:48:46 +0000 |
| Subject: | Bug #17484 Updated: Error "grep: can't open conftest.out" while running ./configure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10274@lists.php.net to get a copy of this message | ||
ID: 17484
Updated by: akjohnson78@yahoo.com
Reported By: b.courtin@t-online.net
Status: Duplicate
Bug Type: *Configuration Issues
Operating System: Solaris 2.8
PHP Version: 4.2.1
New Comment:
Hello,
I ran into the same issue for solaris 2.7 and found that if you run:
autoconf
./configure [your options]
make
make install
then autoconf will correct whatever error is in the build files.
Hope this helps,
Allen
Previous Comments:
------------------------------------------------------------------------
[2002-05-28 14:43:49] sander@php.net
Dupe of #17417.
------------------------------------------------------------------------
[2002-05-28 11:58:35] edink@php.net
In the meanwhile you should be able to configure PHP with:
CC=gcc ./configure ...
------------------------------------------------------------------------
[2002-05-28 11:48:34] sander@php.net
Can you give us the relevant parts of config.log, or mail the whole
file to me?
------------------------------------------------------------------------
[2002-05-28 11:42:27] b.courtin@t-online.net
Hi,
while running "./configure" for php-4.2.1 on Solaris 2.8 I get the
following error which prevents from compiling the sources (see below,
summary: Error "grep: can't open conftest.out" while running
./configure). Compiling php-4.2.0 on the same platform works without
any problems.
php-4.2.1 # ./configure --prefix=/opt/php_test/
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... sparc-sun-solaris2.8
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles...
no
Updated php_version.h
checking how to run the C preprocessor... grep: can't open
conftest.out
cc -E
checking for AIX... no
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 for style of include used by make... GNU
checking dependency style of gcc... none
checking whether gcc and cc understand -c and -o together... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking whether compiler supports -R... yes
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17484&edit=1