php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15261 failes to configure
Submitted: 2002-01-28 16:28 UTC Modified: 2002-03-18 18:02 UTC
From: d dot a dot roozemond at student dot tue dot nl Assigned: markonen (profile)
Status: Closed Package: Compile Failure
PHP Version: 4.0CVS-2002-01-2 OS: SuSE linux kernel 2.4.4.
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: d dot a dot roozemond at student dot tue dot nl
New email:
PHP Version: OS:

 

 [2002-01-28 16:28 UTC] d dot a dot roozemond at student dot tue dot nl
Hi,
it's very well possible this bug is fixed by the time you read it, but i thought i'd report it anyway. The cvs from about a week ago compiled ok though. I used the same configure command.

i did a buildconf, then

./configure --prefix=/usr --with-apxs2=/usr/local/apache2/bin/apxs --with-openssl --enable-ftp --with-gd --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr --with-mysql=/usr/local/mysql --with-zlib-dir=/usr --enable-sockets

failes with error:

checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for c++... no
checking for g++... no
checking for gcc... gcc
checking whether the C++ compiler (gcc  ) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.


regards,

Dan


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-28 16:30 UTC] d dot a dot roozemond at student dot tue dot nl
gcc -dumpversion gives:
2.95.3
 [2002-01-29 02:18 UTC] markonen@php.net
I don't know why your C++ installation isn't working, but 
the problem is that the latest configure checks for a C++ 
compiler (to pass that info to possible extensions) and the 
old ones didn't. I need to make that check fail gracefully 
since we don't really *require* C++ at the moment. 
Meanwhile, you can just remove the lines that say

AC_PROG_CXX
AC_PROG_CXXCPP

from your configure.in and run buildconf again.
 [2002-01-29 16:16 UTC] d dot a dot roozemond at student dot tue dot nl
I think i figured out why my C++ installation wasn't working... it just wasn't there ;)
now that i've installed gpp everything configures ok.

so i guess you might as well want to close this bug...

regards
dan
 [2002-03-18 18:02 UTC] markonen@php.net
This issue has been corrected in the CVS version.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat May 10 23:01:29 2025 UTC