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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
46 - 26 = ?
Subscribe to this entry?

 
 [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 14:01:30 2024 UTC