From: Geoffrey H. <ge...@ge...> - 2007-10-30 23:02:46
|
On Oct 28, 2007, at 1:55 PM, Adam Tenderholt wrote: > dynamic file format modules to work correctly. Does anyone know where > these should be copied? As you might know, I cheat. I install everything Open Babel into /usr/ local much like on UNIX. This is even true for Avogadro, ChemSpotlight, iBabel, etc. It's arguably a decent solution -- several packages all use the same libopenbabel.dylib, Alternatively, you can always tell Open Babel to look for dynamic file formats using BABEL_LIBDIR and BABEL_DATADIR environment variables. On the Mac, you can create .mpkg files which have multiple install packages. See ChemSpotlight or Avogadro packages for an example. You can simply re-use my OpenBabel.pkg file. For those of us with OB already installed, it will discover it and not bother to re-install. > way to compile openbabel so that only a couple of supported formats > are included instead of everything? I really only need XYZ, PDB, and > MOL. The easiest way is to use dynamic modules and delete the ones you don't want. You can also hack the Makefile.am in src/formats and disable some. Cheers, -Geoff |