Difference between revisions of "Install (Cygwin)"

From Open Babel
Jump to: navigation, search
 
Line 6: Line 6:
  
 
If you encounter other problems, please [http://sourceforge.net/tracker/?group_id=40728&atid=428740 report a bug] and contact the [mailto:[email protected] openbabel-devel mailing list].
 
If you encounter other problems, please [http://sourceforge.net/tracker/?group_id=40728&atid=428740 report a bug] and contact the [mailto:[email protected] openbabel-devel mailing list].
 +
 +
Cygwin installation has caused some users problems. See [http://sourceforge.net/tracker/index.php?func=detail&aid=1867368&group_id=40728&atid=428740 here] how igor_filippov overcame them.
  
 
=== Step-by-step Installation Instructions for OpenBabel on Cygwin ===
 
=== Step-by-step Installation Instructions for OpenBabel on Cygwin ===

Revision as of 07:47, 5 February 2008

The Cygwin environment allows running UNIX tools (such as Open Babel) from a command-line, much like Linux.

There are some slight differences between running Open Babel on Cygwin and other environments.

  • Currently, dynamic loading of file format modules is not possible on Cygwin.
  • DLLs generated by Cygwin are not compatible with those distributed with conventional Windows installations.

If you encounter other problems, please report a bug and contact the openbabel-devel mailing list.

Cygwin installation has caused some users problems. See here how igor_filippov overcame them.

Step-by-step Installation Instructions for OpenBabel on Cygwin

Before installing, these instructions assume that you have installed GCC and G++ packages using Cygwin's setup tool.

These instructions describe the installation procedure for OpenBabel 2.0.2. For more different releases, the version number will be different and you should take this in account when reading the instructions below. In addition, these instructions assume that you have root access.

(1) Download the latest version (2.0.2, currently)

(2) Open a command window, change directory into 'openbabel', and decompress the downloaded file with following command:

tar zxvf openbabel-2.0.2.tar.gz

This will create a folder called 'openbabel-2.0.2'.

(3) You now need to configure and compile openbabel. To do this, change directory into 'openbabel-2.0.2'. Run the following commands, one after the other

./configure | tee configure.out
make | tee make.out

If there are any errors at this point, send an email to the openbabel-discuss mailing list and attach the files 'configure.out' and 'make.out'.

(4) If you have root permissions, you should install openbabel globally. As root, run the following command:

make install