Bug #15261 Updated: failes to configure

From: Date: Mon, 18 Mar 2002 23:02:54 +0000
Subject: Bug #15261 Updated: failes to configure
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-2809@lists.php.net to get a copy of this message
 ID:               15261
 Updated by:       markonen@php.net
 Reported By:      d.a.roozemond@student.tue.nl
-Status:           Analyzed
+Status:           Closed
 Bug Type:         Compile Failure
 Operating System: SuSE linux kernel 2.4.4.
-PHP Version:      4.0CVS-2002-01-28
+PHP Version:      4.0CVS-2002-01-2
 Assigned To:      markonen
 New Comment:

This issue has been corrected in the CVS version.


Previous Comments:
------------------------------------------------------------------------

[2002-01-29 16:16:02] d.a.roozemond@student.tue.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-01-29 02:18:12] 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-28 16:30:09] d.a.roozemond@student.tue.nl

gcc -dumpversion gives:
2.95.3

------------------------------------------------------------------------

[2002-01-28 16:28:46] d.a.roozemond@student.tue.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



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=15261&edit=1



Thread (1 message)

  • markonen@php.net
  • Unknown Message
    • markonen@php.net
« previous php.bugs (#2809) next »