Menu

#779 tora 2.0.0 fails to build even using cmake

closed-fixed
nobody
None
5
2009-04-28
2009-04-01
No

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

Discussion

  • Petr Vaněk

    Petr Vaněk - 2009-04-17

    Firstly I suggest to use SVN trunk for TOra just because there are huge improvements and fixes and it's stable for daily work now (20090417) ;) It would be great if you can try to compile it from trunk.

    Anyway:
    Can you provide a path where are stored qscintilla include files on Gentoo, please?

    We are searching it in these locations:
    ${QT_INCLUDE_DIR}/Qsci
    /usr/include
    /usr/include/Qsci

    You can use a workaround: -DWANT_INTERNAL_QSCINTILLA=1 for tora's cmake run...

    P.S.: is it allowed to connect to your machine over ssh (for example) to try to fix it and prepare a patch for svn?

     
  • renato gallo

    renato gallo - 2009-04-17

    this hack solved the problem, please apply to release

    > the hack works perfectly Tobias can you update the ebuild accordingly please ?
    >
    > (In reply to comment #16)
    > > cd /usr/portage/dev-db/tora
    > > ebuild tora-2.0.0.ebuild prepare
    > > rm /var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src/moc_*.cpp
    > > rm /var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src/ui_*ui.h
    > > ebuild tora-2.0.0.ebuild install
    > >
    > >
    > >
    > > Or you can hack the ebuild file itself:
    > >
    > > src_compile() {
    > > rm /var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src/moc_*.cpp
    > > rm /var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src/ui_*ui.h
    > > emake -j1 || die "make failed"
    > > }
    > >
    > > Then run 'ebuild tora-2.0.0.ebuild digest'
    > >
    >

     
  • 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-fixed
     

Log in to post a comment.