details :
http://bugs.gentoo.org/show_bug.cgi?id=259575
Description:
moc_toabout.cpp:14:2: error: #error "This file was generated using the moc from
4.4.0. It"
moc_toabout.cpp:15:2: error: #error "cannot be used with the include files from
this version of Qt."
moc_toabout.cpp:16:2: error: #error "(The moc has changed too much.)"
make[3]: *** [tora-moc_toabout.o] Error 1
make[3]: Leaving directory
`/var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0'
make: *** [all] Error 2
versions:
KDE 4.2.0
qt-4.5.0_rc1 compiled with qt3 support
moc -v
Qt Meta Object Compiler version 61 (Qt 4.5.0-rc1)
qmake -v
QMake version 2.01a
Using Qt version 4.5.0-rc1 in /usr/lib64/qt4
complete build.log
it looks like the tarball is wrongly packed. Can you try to compile it with cmake?
TOOLBOX tora-2.0.0 # cmake .
-- TOra 2.0.0 will be built to install into /usr/local
Qt4 Found OK
-- Found QScintilla2: /usr/lib64/libqscintilla2.a
QScintilla2 Found OK
-- found sqlplus version: 11.1.0.7.0
-- Guessed ORACLE_OCI_VERSION value: 11G
-- Found Oracle: /usr/lib64/oracle/11.1.0.7.0/client/lib/libocci.so;/usr/lib64/oracle/11.1.0.7.0/client/lib/libclntsh.so;/usr/lib64/oracle/11.1.0.7.0/client/lib/libnnz11.so (ORACLE_HOME='/usr/lib64/oracle/11.1.0.7.0/client')
Oracle OCI Library Found OK
-- PostgreSQL environment found: /usr/include /usr/lib64/libpq.so
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QSCINTILLA_INCLUDE_DIR (ADVANCED)
used as include directory in directory /root/Desktop/heanet.dl.sourceforge.net/tora-2.0.0/src
-- Configuring incomplete, errors occurred!
TOOLBOX tora-2.0.0 # emerge -pv qscintilla
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-libs/qscintilla-2.3.2 USE="debug doc python qt4 -examples" 2,097 kB
Total: 1 package (1 reinstall), Size of downloads: 2,097 kB
TOOLBOX tora-2.0.0 # cmake .
-- TOra 2.0.0 will be built to install into /usr/local
Qt4 Found OK
-- Found QScintilla2: /usr/lib64/libqscintilla2.a
QScintilla2 Found OK
-- found sqlplus version: 11.1.0.7.0
-- Guessed ORACLE_OCI_VERSION value: 11G
-- Found Oracle: /usr/lib64/oracle/11.1.0.7.0/client/lib/libocci.so;/usr/lib64/oracle/11.1.0.7.0/client/lib/libclntsh.so;/usr/lib64/oracle/11.1.0.7.0/client/lib/libnnz11.so (ORACLE_HOME='/usr/lib64/oracle/11.1.0.7.0/client')
Oracle OCI Library Found OK
-- PostgreSQL environment found: /usr/include /usr/lib64/libpq.so
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QSCINTILLA_INCLUDE_DIR (ADVANCED)
used as include directory in directory /root/Desktop/heanet.dl.sourceforge.net/tora-2.0.0/src
-- Configuring incomplete, errors occurred!
TOOLBOX tora-2.0.0 # emerge -pv qscintilla
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-libs/qscintilla-2.3.2 USE="debug doc python qt4 -examples" 2,097 kB
Total: 1 package (1 reinstall), Size of downloads: 2,097 kB
The fix is easy. Just remove all the moc*.cpp and ui_*ui.h files in the ./src/ directory. My guess is the bug is either "make distclean" wasn't ran before it was tgzed or "make distclean" isn't deleting these files.
Good luck, and have fun.
yep, it's wrongly packed. Wait for new release, please.
ad cmake issue: it's the same as in https://sourceforge.net/tracker/?func=detail&aid=2725776&group_id=16636&atid=116636 - work in progress.
It will be fixed with new tarball.