This is the second run, the first one breaked later. I assume any issue regarding gcc... Any help? ------------- toral tora-1.3.7 # emerge tora Calculating dependencies ...done! >>> emerge dev-db/tora-1.3.7 to / >>> md5 ;-) tora-alpha-1.3.7.tar.gz >>> Unpacking source... >>> Unpacking tora-alpha-1.3.7.tar.gz >>> Source unpacked. kde oci8 checking for perl... perl checking for KDE include files ... /usr/kde/3/include checking for KDE version ... 3.0.3 checking for KDE print support ... yes checking for KDE libraries ... /usr/kde/3/lib checking for KDE base ... /usr/kde/3 checking for Qt library linked to KDE ... libqt-mt checking for Qt library ... /usr/qt/3/lib checking for moc ... /usr/qt/3/bin/moc checking for uic ... /usr/qt/3/bin/uic checking for lrelease ... /usr/qt/3/bin/lrelease checking for Qt include files ... /usr/qt/3/include checking for Qt version ... 3.0.5 checking for library consistency ... yes checking for static Qt library ... no checking for Oracle ... /opt/oracle checking for Oracle version ... 8.1.7.0.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 /usr/bin/cc compiler ... In file included from /tmp/toraconfig.30486.cpp:6: /var/tmp/portage/tora-1.3.7/work/tora-1.3.7/otlv4.h: In member function `void otl_cur::error(otl_exc&)': /var/tmp/portage/tora-1.3.7/work/tora-1.3.7/otlv4.h:8023: `min' undeclared (first use this function) /var/tmp/portage/tora-1.3.7/work/tora-1.3.7/otlv4.h:8023: (Each undeclared identifier is reported only once for each function it appears in.) no checking /usr/bin/g++ compiler ... In file included from /tmp/toraconfig.30486.cpp:6: /var/tmp/portage/tora-1.3.7/work/tora-1.3.7/otlv4.h: In member function `void otl_cur::error(otl_exc&)': /var/tmp/portage/tora-1.3.7/work/tora-1.3.7/otlv4.h:8023: `min' undeclared (first use this function) /var/tmp/portage/tora-1.3.7/work/tora-1.3.7/otlv4.h:8023: (Each undeclared identifier is reported only once for each function it appears in.) no checking /usr/bin/gcc compiler ... In file included from /tmp/toraconfig.30486.cpp:6: /var/tmp/portage/tora-1.3.7/work/tora-1.3.7/otlv4.h: In member function `void otl_cur::error(otl_exc&)': /var/tmp/portage/tora-1.3.7/work/tora-1.3.7/otlv4.h:8023: `min' undeclared (first use this function) /var/tmp/portage/tora-1.3.7/work/tora-1.3.7/otlv4.h:8023: (Each undeclared identifier is reported only once for each function it appears in.) 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/usr/kde/3/lib" -Xlinker "--rpath=/usr/kde/3/lib" "-L/opt/oracle/lib" "-L/usr/qt/3/lib" -Xlinker "--rpath=/opt/oracle/lib" -Xlinker "--rpath=/usr/qt/3/lib" -I`pwd` "-I/usr/kde/3/include" "-I/opt/oracle/rdbms/demo" "-I/opt/oracle/plsql/public" "-I/opt/oracle/rdbms/public" "-I/opt/oracle/network/public" "-I/usr/qt/3/include" -lm -lpthread -lkdeprint -lkdecore -lkdeui -lDCOP -lkhtml -lkparts -lkio -lcrypt -ldl -lqt-mt -lclntsh -otemp /tmp/toraconfig.30486.cpp !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 27, Exitcode 2 !!! configure failed
what version of gcc is installed?
tora works with gcc-2.95.3 fine, with gcc-3.2 it gives compile errors here: tosql.cpp: In static member function `static bool toSQL::updateSQL(const QCString&, const QString&, const QString&, const QCString&, const QCString&, bool)': tosql.cpp:116: ambiguous overload for `QCString& > const QCString&' operator tosql.cpp:116: candidates are: operator>(const char*, const char*) <built-in> /usr/qt/3/include/qcstring.h:323: bool operator>(const QCString&, const char*) /usr/qt/3/include/qcstring.h:326: bool operator>(const char*, const QCString&) /usr/qt/3/include/qstring.h:832: bool operator>(const QString&, const QString&) /usr/qt/3/include/qstring.h:839: bool operator>(const QString&, const char*)
This is a known issue, it might be fixed in 1.3.8. See: http://www.geocrawler.com/lists/3/SourceForge/9281/0/. I'm using gcc32 (what else :-). Jan
is your error also known? did you try the cvs version of tora? have you installed multiple gcc?
As a side note, our tora ebuild should have been given the version 1.3.7 _alpha. We should mind that when making the ebuild for the next version if still applicable...
try the ebuild at Bug 8895
Check the ebuild in Bug 8895. This one works for me. It seems that the option --with-mono does the trick.