Menu

#566 building Openbabel in Mac OS 10.6.2

2.3.x
closed
7
2012-10-23
2009-12-06
No

Although OB (trunk or version 2.2.3) builds without errors using cmake (version 2.8.0 or 2.6.4),
babel ends in error when invoked from the command line. "babel -H" does not display the list
of supported format. When invoked ,v.g. with "babel file.res file.xyz", The following error message
is displayed :
¨babel pa142.res pa142.xyz
babel: cannot write output format!
Open Babel 2.2.99 -- Dec 6 2009 -- 16:51:34
Usage: babel [-i<input-type>]</input-type> <name> [-o<output-type>]</output-type> <name>
Try -H option for more information."</name></name>

Version 2.2.3 builds correctly using the old configure script.

Louis

Discussion

  • Louis Ricard

    Louis Ricard - 2009-12-08

    Using cmake-2.8.0, OB trunk does compile as follows.

    Removed all previous openbabel libs and includes in /usr/local.
    Then compiled OB trunk with:
    "CXX=g++-4.0 CC=gcc-4.0 cmake -DCMAKE_OSX_ARCHITECTURES="i386" .."

    And now have a working babel. I do not understand why not with g++2.4.1

    Louis

     
  • Geoff Hutchison

    Geoff Hutchison - 2010-03-01

    This appears to be a CMake bug. I'm trying to reproduce it with Kitware.

     
  • Geoff Hutchison

    Geoff Hutchison - 2010-03-02

    This is now fixed in 2.3 trunk.

     
MongoDB Logo MongoDB