From: Jan P. <Jan@Pruner.cz> - 2004-02-10 14:39:21
|
Hi, I'm using SuSE9.0 Prof., Oracle 9.2. client and trying to compile Tora from source (tora-1.3.13). Error: "Failed to find compatible GCC compiler." pruner@jpr:~/app/tora-1.3.13> gcc --version gcc (GCC) 3.3.1 (SuSE Linux) Have I to downgrade it??? Thanks Jan Pruner +++++++++++++++++++++++++++ Output: +++++++++++++++++++++++++++ pruner@jpr:~/app/tora-1.3.13> ./configure --without-mysql --without-kde checking for perl... perl checking for KDE support ... no checking for Qt library ... /usr/lib/qt3/lib checking for moc ... /usr/lib/qt3/bin/moc checking for uic ... /usr/lib/qt3/bin/uic checking for lrelease ... /usr/lib/qt3/bin/lrelease checking for lupdate ... /usr/lib/qt3/bin/lupdate checking for Qt include files ... /usr/lib/qt3/include checking for Qt version ... 3.2.1 checking for library consistency ... yes checking for static Qt library ... no checking for Oracle ... /opt/oracle/app checking for Oracle version ... 9.2.0.1.0 checking for MySQL support ... Available through QSql only with Qt >= 3.0.0 checking for any database ... Oracle QSql checking for extra libraries ... -lcrypt checking for plugin support ... yes checking /usr/bin/cc compiler ... In file included from /tmp/ toraconfig.2160.cpp:20: /home/pruner/app/tora-1.3.13/otlv4.h: In static member function `static long int otl_tmpl_cursor<TExceptionStruct, TConnectStruct, TCursorStruct, TVariableStruct>::parse(otl_tmpl_connect<TExceptionStruct, TConnectStruct, TCursorStruct>&, const char*, int)': /home/pruner/app/tora-1.3.13/otlv4.h:3913: error: invalid use of undefined type `class otl_tmpl_exception<TExceptionStruct, TConnectStruct, TCursorStruct>' /home/pruner/app/tora-1.3.13/otlv4.h:3067: error: declaration of `class otl_tmpl_exception<TExceptionStruct, TConnectStruct, TCursorStruct>' no checking /usr/bin/gcc compiler ... In file included from /tmp/ toraconfig.2160.cpp:20: /home/pruner/app/tora-1.3.13/otlv4.h: In static member function `static long int otl_tmpl_cursor<TExceptionStruct, TConnectStruct, TCursorStruct, TVariableStruct>::parse(otl_tmpl_connect<TExceptionStruct, TConnectStruct, TCursorStruct>&, const char*, int)': /home/pruner/app/tora-1.3.13/otlv4.h:3913: error: invalid use of undefined type `class otl_tmpl_exception<TExceptionStruct, TConnectStruct, TCursorStruct>' /home/pruner/app/tora-1.3.13/otlv4.h:3067: error: declaration of `class otl_tmpl_exception<TExceptionStruct, TConnectStruct, TCursorStruct>' no checking /usr/bin/g++ compiler ... In file included from /tmp/ toraconfig.2160.cpp:20: /home/pruner/app/tora-1.3.13/otlv4.h: In static member function `static long int otl_tmpl_cursor<TExceptionStruct, TConnectStruct, TCursorStruct, TVariableStruct>::parse(otl_tmpl_connect<TExceptionStruct, TConnectStruct, TCursorStruct>&, const char*, int)': /home/pruner/app/tora-1.3.13/otlv4.h:3913: error: invalid use of undefined type `class otl_tmpl_exception<TExceptionStruct, TConnectStruct, TCursorStruct>' /home/pruner/app/tora-1.3.13/otlv4.h:3067: error: declaration of `class otl_tmpl_exception<TExceptionStruct, TConnectStruct, TCursorStruct>' no Failed to find compatible GCC compiler. This doesn't necessary mean that there are no c++ compiler that won't work. This test includes compiling a Qt application using Oracle. So if anything went wrong finding these this test will fail. The command tried was the following ($CC is replaced with whatever C compiler used): $CC "-L/opt/oracle/app/lib" "-L/usr/lib/qt3/lib" -Xlinker "--rpath=/opt/ oracle/app/lib" -Xlinker "--rpath=/usr/lib/qt3/lib" -I`pwd` "-I/opt/oracle/ app/rdbms/demo" "-I/opt/oracle/app/plsql/public" "-I/opt/oracle/app/rdbms/ public" "-I/opt/oracle/app/network/public" "-I/usr/lib/qt3/include" -lm -lpthread -lcrypt -ldl -lqt-mt -lclntsh -otemp /tmp/toraconfig.2160.cpp |