php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2280 configure fails if $GCC not defined
Submitted: 1999-09-10 17:18 UTC Modified: 1999-09-16 04:59 UTC
From: snyder at athena dot lblesd dot k12 dot or dot us Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0 Beta 2 OS: HPUX 10.20
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: snyder at athena dot lblesd dot k12 dot or dot us
New email:
PHP Version: OS:

 

 [1999-09-10 17:18 UTC] snyder at athena dot lblesd dot k12 dot or dot us
I am using gcc as my compiler...
Here is my command line:
./configure --prefix=/usr/local/php4b2 --with-pgsql --with-gcc --with-apache=/usr/local/src/apache_1.3.9 --enable-track-vars

Here's the tail end of the configure output:
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -Ae  -D_HPUX_SOURCE ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

At line 1215 of configure, there is a test for $GCC, but I don't see anywhere that it was previously set.  I set the GCC envariable to point to my gcc executable, and then configure proceeds happily.

-ron

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-09-16 04:59 UTC] sas at cvs dot php dot net
fixed in CVS (we don't use the custom test anymore)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 23:01:28 2024 UTC