PHP 4.0 Bug #2280: configure fails if $GCC not defined

From: Date: Fri, 10 Sep 1999 21:18:23 +0000
Subject: PHP 4.0 Bug #2280: configure fails if $GCC not defined
Groups: php.dev 
Request: Send a blank email to php-dev+get-10806@lists.php.net to get a copy of this message
From: snyder@athena.lblesd.k12.or.us Operating system: HPUX 10.20 PHP version: 4.0 Beta 2 PHP Bug Type: Installation problem Bug description: configure fails if $GCC not defined 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

« previous php.dev (#10806) next »