Hi everyone,
I'm trying to build CodeBlocks 12.11 from SVN on Mac Os X Mountain Lion (10.8.3) but i'm receiving this error during the configuration
checking for g++... g++
checking whether the C++ compiler works... no
configure: error: in `/Users/Rock/Desktop/Codeblocks/trunk':
configure: error: C++ compiler cannot create executables
can anyone tell me why g++ should not work? ??? it worked for wxWidget...
Thank you.
Thank you for your answer,
./configure --verbose produce the same output as ./configure but here it is a part of the .log file where you can see the failure of the g++ test:
configure:3668: checking whether the C++ compiler works
configure:3690: g++ -O2 -ffast-math -DCB_AUTOCONF -Wl,--no-undefined conftest.cpp >&5
ld: unknown option: --no-undefined
collect2: ld returned 1 exit status
configure:3694: $? = 1
configure:3732: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "codeblocks"
| #define PACKAGE_TARNAME "codeblocks"
| #define PACKAGE_VERSION "12.11svn8909"
| #define PACKAGE_STRING "codeblocks 12.11svn8909"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "codeblocks"
| #define VERSION "12.11svn8909"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3737: error: in `/Users/Rocco/Desktop/Codeblocks/trunk':
configure:3739: error: C++ compiler cannot create executables
See `config.log' for more details