many thanks for thinking about it, noel. if i do not use that setting by
saying:

cmake ../openbabel-2.3.2
-DCMAKE_INSTALL_PREFIX=~/openbabel/openbabel-2.3.2-install
-DPYTHON_BINDINGS=ON -DEIGEN3_INCLUDE_DIR=/home/b/becdurma/include

i get a linker error concerning the babel executable:

/opt/cray/craype/2.01/bin/CC   -O2 -g -DNDEBUG -O2 -g 
-Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc
-Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc  
CMakeFiles/babel.dir/babel.o  -o ../bin/babel -rdynamic
../lib/libopenbabel.so.4.0.2 -lm -ldl -lz
-Wl,-rpath,/home/b/becdurma/openbabel/openbabel-2.3.2-build/lib::
/usr/bin/ld: attempted static link of dynamic object
`../lib/libopenbabel.so.4.0.2'
collect2: error: ld returned 1 exit status

i have no idea what to change next!

vedat



Am 13.01.2014 21:21, schrieb Noel O'Boyle:
> I guess BUILD_SHARED=OFF isn't very well maintained. Is there some
> particular reason you want to use this option?
>
> - Noel
>
> On 13 January 2014 13:43, Vedat Durmaz <dur...@zib.de> wrote:
>> hi folks,
>>
>> for the first time, I was trying to install openbabel-2.3 by myself on a
>> Cray XC30 machine.
>>
>> Actually, the cmake and make commands work fine (withour errors).
>> However, in the bin directory, only "babel" and "roundtrip" were created
>> as executables, but no "obabel" executable which I used to employ on my
>> local ubuntu system. There's only a static library called libopenbabel.a
>> in the lib directory.
>>
>> Does anyone know a reason for that behaviour? Thanks in advance,
>>
>> Vedat
>>
>>
>> ps: My cmake command and output:
>>
>> $ cmake ../openbabel-2.3.2
>> -DCMAKE_INSTALL_PREFIX=~/openbabel/openbabel-2.3.2-install
>> -DEIGEN3_INCLUDE_DIR=/home/user/include -DBUILD_SHARED=OFF
>> -DCMAKE_BUILD_TYPE=Release
>> -- The C compiler identification is GNU 4.8.1
>> -- The CXX compiler identification is GNU 4.8.1
>> -- Check for working C compiler: /opt/cray/craype/2.01/bin/cc
>> -- Check for working C compiler: /opt/cray/craype/2.01/bin/cc -- works
>> -- Detecting C compiler ABI info
>> -- Detecting C compiler ABI info - done
>> -- Check for working CXX compiler: /opt/cray/craype/2.01/bin/CC
>> -- Check for working CXX compiler: /opt/cray/craype/2.01/bin/CC -- works
>> -- Detecting CXX compiler ABI info
>> -- Detecting CXX compiler ABI info - done
>> -- Using included inchi library.
>> -- Found LibXml2: /usr/lib64/libxml2.a (found version "2.7.6")
>> -- Found ZLIB: /usr/lib64/libz.a (found version "1.2.7")
>> -- Could NOT find wxWidgets (missing:  wxWidgets_FOUND)
>> -- Looking for conio.h
>> -- Looking for conio.h - not found
>> -- Looking for sys/time.h
>> -- Looking for sys/time.h - found
>> -- Looking for time.h
>> -- Looking for time.h - found
>> -- Looking for strings.h
>> -- Looking for strings.h - found
>> -- Looking for rpc/xdr.h
>> -- Looking for rpc/xdr.h - found
>> -- Looking for regex.h
>> -- Looking for regex.h - found
>> -- Looking for C++ include sstream
>> -- Looking for C++ include sstream - found
>> -- Looking for rint
>> -- Looking for rint - found
>> -- Looking for snprintf
>> -- Looking for snprintf - found
>> -- Looking for sranddev
>> -- Looking for sranddev - not found
>> -- Looking for strcasecmp
>> -- Looking for strcasecmp - found
>> -- Looking for strncasecmp
>> -- Looking for strncasecmp - found
>> -- Looking for dlopen in dl
>> -- Looking for dlopen in dl - found
>> -- Looking for sys/types.h
>> -- Looking for sys/types.h - found
>> -- Looking for stdint.h
>> -- Looking for stdint.h - found
>> -- Looking for stddef.h
>> -- Looking for stddef.h - found
>> -- Check size of clock_t
>> -- Check size of clock_t - done
>> -- Performing Test SCANDIR_NEEDS_CONST
>> -- Performing Test SCANDIR_NEEDS_CONST - Failed
>> -- Performing Test HAVE_GCC_VISIBILITY
>> -- Performing Test HAVE_GCC_VISIBILITY - Success
>> -- Found PkgConfig: /usr/bin/pkg-config (found version "0.23")
>> -- checking for module 'cairo'
>> --   found cairo, version 1.8.8
>> -- Could NOT find Cairo (missing:  CAIRO_LIBRARIES)
>> -- Could NOT find Cairo. PNG output will NOT be supported.
>> -- Looking for getopt
>> -- Looking for getopt - found
>> -- Looking for include file pthread.h
>> -- Looking for include file pthread.h - found
>> -- Looking for pthread_create
>> -- Looking for pthread_create - found
>> -- Found Threads: TRUE
>> -- GUI will not be built
>> -- Found PythonInterp: /sw/tools/python/2.7.6/generic/bin/python (found
>> version "2.7.6")
>> -- Configuring done
>> -- Generating done
>> -- Build files have been written to:
>> /home/user/openbabel/openbabel-2.3.2-build
>>
>>
>>
>> ------------------------------------------------------------------------------
>> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
>> Learn Why More Businesses Are Choosing CenturyLink Cloud For
>> Critical Workloads, Development Environments & Everything In Between.
>> Get a Quote or Start a Free Trial Today.
>> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
>> _______________________________________________
>> OpenBabel-discuss mailing list
>> OpenBabel-discuss@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to