ID: 15261
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Analyzed
Bug Type: Compile Failure
Operating System: SuSE linux kernel 2.4.4.
PHP Version: 4.0CVS-2002-01-28
Assigned To: markonen
New Comment:

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


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

[2002-01-29 02:18:12] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

gcc -dumpversion gives:
2.95.3

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

[2002-01-28 16:28:46] [EMAIL PROTECTED]

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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to