Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#873 Bundled libs

open
nobody
None
5
2013-10-23
2013-09-15
Hubbitus
No

Hello.

As I mentioned before I try package Tora for Fedora (https://bugzilla.redhat.com/show_bug.cgi?id=979166).

Now I found you bundle several libs in extlibs directory of sources. It is strongly prohibited by our guidelines - https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries

Could you please help me use system libraries instead?

Discussion

<< < 1 2 3 (Page 3 of 3)
  • Hubbitus
    Hubbitus
    2013-10-26

    Unfortunately trotl unconditionally search Oracle libraries even besides -DENABLE_ORACLE:BOOLEAN=false and then fail:

    • /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DPOSTGRESQL_PATH_INCLUDES=/usr/include -DENABLE_ORACLE:BOOLEAN=false
      Qt4 Found OK
      QScintilla2 Found OK

    CMake Error at extlibs/trotl/CMakeLists.txt:76 (MESSAGE):
    No Oracle client found

     
    • Ivan Brezina
      Ivan Brezina
      2013-10-26

      Ok fixed in trunk, although it does not make to much sense. (To build "Tool for Oracle" without Oracle support). Support for MySQL and PostgreSQL is still heavily experimental. So far we do not have any maintainer for these.

       
      • Hubbitus
        Hubbitus
        2013-10-28

        Thank you.
        Unfortunately Oracle is not free software. So in Fedora we can ship only Postgres and MySQL support only. But in spec leaved two strings to just uncomment end recompile src.rpm for whom need it. I hope.
        Personally I've used it for Postgresql.

         
        • Ivan Brezina
          Ivan Brezina
          2013-10-28

          You do not have to ship Oracle libs. Just compile Tora with Oracle connector plugin. So far we do not have any maintainer for MySQL nor PostgeSQL port. It's still experimental and a lot for work have to be done.

           
      • Hubbitus
        Hubbitus
        2013-10-28

        Additionally trunc revision 4913 failed with:

        CMake Error at src/CMakeLists.txt:1060 (ADD_EXECUTABLE):
          Cannot find source file:
        
            connection/moc_tooraclesetting.cxx
        
          Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
          .hxx .in .txx
        
         
        • Ivan Brezina
          Ivan Brezina
          2013-10-28

          Should be ok when using -DCMAKE_BUILD_TYPE=Release.

           
  • Hubbitus
    Hubbitus
    2013-10-23

    • stack - is excluded if you use -DCMAKE_BUILD_TYPE=Release
      I think it is bad Idea. If I understand correctly we then archive stripped binary without debugging symbols, is not?
     
    • Ivan Brezina
      Ivan Brezina
      2013-10-23

      No. CMAKE_CXX_FLAGS_RELEASE will be used. If you append -ggdb3 into this variable debug symbols will be used. Try to compile the project and look into CMAKE build files.

       
<< < 1 2 3 (Page 3 of 3)