php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17484 Error "grep: can't open conftest.out" while running ./configure
Submitted: 2002-05-28 11:42 UTC Modified: 2002-06-18 20:03 UTC
From: b dot courtin at t-online dot net Assigned:
Status: Closed Package: *Configuration Issues
PHP Version: 4.2.1 OS: Solaris 2.8
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: b dot courtin at t-online dot net
New email:
PHP Version: OS:

 

 [2002-05-28 11:42 UTC] b dot courtin at t-online dot 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-28 11:48 UTC] sander@php.net
Can you give us the relevant parts of config.log, or mail the whole file to me?
 [2002-05-28 11:58 UTC] edink@php.net
In the meanwhile you should be able to configure PHP with:

CC=gcc ./configure ...
 [2002-05-28 14:43 UTC] sander@php.net
Dupe of #17417.
 [2002-06-12 14:48 UTC] akjohnson78 at yahoo dot com
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
 [2002-06-18 20:03 UTC] sniper@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 15 19:01:34 2024 UTC