Bug #17439 Updated: configure script doesn't set CPP variable to find C preprocessor
| From: | derick@php.net | Date: | Sun, 26 May 2002 18:26:49 +0000 |
| Subject: | Bug #17439 Updated: configure script doesn't set CPP variable to find C preprocessor | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-8611@lists.php.net to get a copy of this message | ||
ID: 17439
Updated by: derick@php.net
Reported By: jb@poplar.com
-Status: Open
+Status: Closed
Bug Type: *Configuration Issues
Operating System: Solaris 2.7
PHP Version: 4.2.1
New Comment:
I'm closing this one as there are several reports about this already.
It's some bug in autoconf 2.13 on Solaris.
You can do two things here:
1. install autoconf 2.52; rm configure; ./buildconf
2. CC=gcc ./configure --your switches
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-05-26 14:24:03] jb@poplar.com
There seems to be a bug in the configure script with 4.2.1
for Solaris 2.7 with gcc.
Symptom is that make fails complaining that it can't find
unix.h
Cause seems to be that the script isn't setting the CPP
variable properly. Instead of gcc -E it gets set to cc-E.
(I know because I echoed it.) So tests for include files
don't work and configuration data is wrong.
Kludge is to set CPP explicitly. Bug elimination and right
answer is over to you. thanks.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17439&edit=1