Menu

#772 tora 2.0.0 moc fails on linux

closed
nobody
None
9
2009-04-28
2009-02-21
No

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

Discussion

  • renato gallo

    renato gallo - 2009-02-21

    complete build.log

     
  • Petr Vaněk

    Petr Vaněk - 2009-04-01

    it looks like the tarball is wrongly packed. Can you try to compile it with cmake?

     
  • renato gallo

    renato gallo - 2009-04-01

    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

     
  • renato gallo

    renato gallo - 2009-04-01

    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

     
  • renato gallo

    renato gallo - 2009-04-01
    • priority: 5 --> 9
     
  • Brett S. Blackham

    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.

     
  • Petr Vaněk

    Petr Vaněk - 2009-04-28

    It will be fixed with new tarball.

     
  • Petr Vaněk

    Petr Vaněk - 2009-04-28
    • status: open --> closed
     

Log in to post a comment.