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
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: 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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 11:01:35 2025 UTC