I can't figure out what's missing to make it make Magick++.
Can anyone help?
gcc -v
Using built-in specs.
Target: powerpc-ibm-aix5.3.0.0
Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --disable-nls --enable-languages=c,c++ --prefix=/opt/freeware --enab
le-threads --enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.3.0.0
Thread model: aix
gcc version 4.0.0
config.log snippet:
configure:31379: g++ -o conftest -g -O2 -Wall -W -D_THREAD_SAFE -omp conftest.cpp >&5
conftest.cpp:3: error: 'choke' does not name a type
conftest.cpp: In function 'int main()':
conftest.cpp:6: error: 'omp_get_num_threads' was not declared in this scope
configure:31385: $? = 1
configure: failed program was:
|
| #ifndef _OPENMP
| choke me
| #endif
| #include <omp.h>
| int main () { return omp_get_num_threads (); }
|
configure:31379: g++ -o conftest -g -O2 -Wall -W -D_THREAD_SAFE -qsmp=omp conftest.cpp >&5
g++: unrecognized option '-qsmp=omp'
conftest.cpp:3: error: 'choke' does not name a type
conftest.cpp: In function 'int main()':
conftest.cpp:6: error: 'omp_get_num_threads' was not declared in this scope
configure:31385: $? = 1
configure: failed program was:
|
| #ifndef _OPENMP
| choke me
| #endif
| #include <omp.h>
| int main () { return omp_get_num_threads (); }
|
configure:31411: result: unsupported
configure:31430: checking whether C++ compiler is sufficient for Magick++
configure:31442: result: no (failed tests)
configure:31503: checking for X11 configure files
configure:31550: result: /usr/X11R6/lib/X11/
configure:31894: checking for sqrt in -lm
configure:31929: gcc -o conftest -g -O2 -Wall -W -D_THREAD_SAFE conftest.c -lm -lpthreads >&5
conftest.c:170: warning: conflicting types for built-in function 'sqrt'
configure:31935: $? = 0
configure:31953: result: yes
configure:31968: result: -------------------------------------------------------------
configure:31970: result: Checking for ZLIB support
configure:31972: result: -------------------------------------------------------------
configure:31987: checking zconf.h usability
configure:32004: gcc -c -g -O2 -Wall -W -D_THREAD_SAFE conftest.c >&5
Problem building 6.3.5 on AIX 5.3
Re: Problem building 6.3.5 on AIX 5.3
Add --disable-openmp to your configure script command line and reissue your make command. That may fix the problem.
Re: Problem building 6.3.5 on AIX 5.3
Ok,
It seems like this is the real cause:
checking whether the compiler supports the std namespace... no
checking whether the compiler supports ISO C++ standard library... no
Do I need a newer version of gcc, rebuild it or a completely different compiler?
Thanks again.
It seems like this is the real cause:
checking whether the compiler supports the std namespace... no
checking whether the compiler supports ISO C++ standard library... no
Do I need a newer version of gcc, rebuild it or a completely different compiler?
Thanks again.
Re: Problem building 6.3.5 on AIX 5.3
Only Magick++ requires a C++ complier otherwise only C is needed. Try adding --disable-openmp --without-magick-plus-plus to your configure script command line and rebuild.
Re: Problem building 6.3.5 on AIX 5.3
Magick++ requires a modern C++ compiler. You may need to upgrade your version of g++ so it meets the validation requirements of the configure script.