#42195 [Opn->Fbk]: c++ compiler needed ?
| From: | jani@php.net | Date: | Sat, 04 Aug 2007 00:50:56 +0000 |
| Subject: | #42195 [Opn->Fbk]: c++ compiler needed ? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-115736@lists.php.net to get a copy of this message | ||
ID: 42195
Updated by: jani@php.net
Reported By: jeremy dot jacque at maximo dot fr
-Status: Open
+Status: Feedback
Bug Type: *Configuration Issues
Operating System: AIX 5.1
PHP Version: 5CVS-2007-08-03 (CVS)
New Comment:
How exactly did you run configure? Any CFLAGS/LDFLAGS set? What shell?
Previous Comments:
------------------------------------------------------------------------
[2007-08-03 08:56:50] jeremy dot jacque at maximo dot fr
Description:
------------
when running configure and entering the "Configuring libtool" part,
an error occured because i do not have access to an c++ compiler.
By just suppressing the lines referring to c++, it works great,
so the c++ search in configure shouldn't just be optional ??
One more thing, i'm compiling using the native AIX compiler and linker,
and in order to link correctly i use the cheat i saw in bug report
39187
(change
sed 's/\([A-Za-z0-9_]*\)\.lo/\1.o/g'
by
sed 's/\([A-Za-z0-9_]*\)\.lo/.libs\/\1.o/g'
in the BUILD_CLI part of the configure.
When compiling proftpd on the same machine, their configure report
this:
"checking for objdir... .libs"
Sould it be possible to integrate such a test in your script?
Thank in advance.
Jeremy Jacque
Reproduce code:
---------------
run configure on a machine with no c++ compiler
Expected result:
----------------
Pass the c++ test with no error (may be a warning ?? )
checking for g++... no
checking for c++... no
checking whether we are using the GNU C++ compiler... no
Actual result:
--------------
checking for c++... no
checking for g++... no
checking for gcc... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking whether the C++ compiler (gcc ) works... no
configure: error: installation or configuration problem: C++ compiler
cannot create executables.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42195&edit=1