From:             jeremy dot jacque at maximo dot fr
Operating system: AIX 5.1
PHP version:      5CVS-2007-08-03 (CVS)
PHP Bug Type:     *Configuration Issues
Bug description:  c++ compiler needed ?

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 bug report at http://bugs.php.net/?id=42195&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=42195&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=42195&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=42195&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=42195&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=42195&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=42195&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=42195&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=42195&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=42195&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=42195&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=42195&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=42195&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=42195&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=42195&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=42195&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=42195&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=42195&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=42195&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=42195&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=42195&r=mysqlcfg

Reply via email to