php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17439 configure script doesn't set CPP variable to find C preprocessor
Submitted: 2002-05-26 14:24 UTC Modified: 2002-05-26 14:26 UTC
From: jb at poplar dot com Assigned:
Status: Closed Package: *Configuration Issues
PHP Version: 4.2.1 OS: Solaris 2.7
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: jb at poplar dot com
New email:
PHP Version: OS:

 

 [2002-05-26 14:24 UTC] jb at poplar dot 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-26 14:26 UTC] derick@php.net
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 02:01:29 2024 UTC