[Debichem-devel] FTBFS openbabel 2.3.0

Daniel Leidert daniel.leidert.spam at gmx.net
Tue Feb 8 19:03:42 UTC 2011


Am Dienstag, den 08.02.2011, 19:38 +0100 schrieb Daniel Leidert:
> Am Dienstag, den 08.02.2011, 11:05 +0100 schrieb Michael Banck:
> > On Mon, Feb 07, 2011 at 09:25:32AM +0100, Daniel Leidert wrote:
> > > Hi,
> > > 
> > > Anybody familiar enough with CMAKEto resolve this build failure?
> > > 
> > > > Linking CXX shared module ../../lib/inchiformat.so
> > > > cd /tmp/buildd/openbabel-2.3.0/build/src/formats && /usr/bin/cmake -E cmake_link_script CMakeFiles/inchiformat.dir/link.txt --verbose=1
> > > > /usr/bin/c++  -fPIC -g -O2  -fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -O2 -g -Wl,--enable-new-dtags -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc  -shared -Wl,-soname,inchiformat.so -o ../../lib/inchiformat.so CMakeFiles/inchiformat.dir/inchiformat.o CMakeFiles/inchiformat.dir/getinchi.o CMakeFiles/inchiformat.dir/__/ops/unique.o -lm -ldl -lz inchi103/libinchi.a -lm ../../lib/libopenbabel.so.4.0.0 -lc -lm -ldl -lz 
> > > > /usr/bin/ld: inchi103/libinchi.a(ikey_dll.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
> > > > inchi103/libinchi.a: could not read symbols: Bad value
> > > > collect2: ld returned 1 exit status
> > > > make[4]: *** [lib/inchiformat.so] Error 1
> > > > make[4]: Leaving directory `/tmp/buildd/openbabel-2.3.0/build'
> > > > make[3]: *** [src/formats/CMakeFiles/inchiformat.dir/all] Error 2
> > > 
> > > I cannot figure how to fix this.
> [..]
> > Or we can try to figure out how to build the static libinchi library
> > with -fPIC.  
> 
> Found it and it works.
> 
> I see, we need to write some manual pages.
> 
> Second question: Shall we build the GUI? wxWidgets is available.

This fails:

> In file included from /usr/include/wx-2.8/wx/window.h:23,
>                  from /usr/include/wx-2.8/wx/generic/splitter.h:15,
>                  from /usr/include/wx-2.8/wx/splitter.h:44,
>                  from /tmp/buildd/openbabel-2.3.0/src/GUI/./stdwx.h:29,
>                  from /tmp/buildd/openbabel-2.3.0/src/GUI/OBGUI.cpp:19:
> /usr/include/wx-2.8/wx/cursor.h: In constructor 'wxBusyCursorSuspender::wxBusyCursorSuspender()':
> /usr/include/wx-2.8/wx/cursor.h:65: error: 'wxIsBusy' was not declared in this scope
> /usr/include/wx-2.8/wx/cursor.h:67: error: 'wxBusyCursor' has not been declared
> /usr/include/wx-2.8/wx/cursor.h:67: error: 'wxSetCursor' was not declared in this scope
> /usr/include/wx-2.8/wx/cursor.h: In destructor 'wxBusyCursorSuspender::~wxBusyCursorSuspender()':
> /usr/include/wx-2.8/wx/cursor.h:72: error: 'wxIsBusy' was not declared in this scope
> /usr/include/wx-2.8/wx/cursor.h:74: error: 'wxBusyCursor' has not been declared
> /usr/include/wx-2.8/wx/cursor.h:74: error: 'wxSetCursor' was not declared in this scope
> [..]

Regards, Daniel




More information about the Debichem-devel mailing list