Difference between revisions of "Install (Cygwin)"

From Open Babel
Jump to: navigation, search
(changed version: 2.0.2 -> 2.2.0)
Line 13: Line 13:
 
Before installing, these instructions assume that you have installed GCC and G++ packages using Cygwin's setup tool.
 
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.
+
These instructions describe the installation procedure for OpenBabel 2.2.0. 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) [http://sourceforge.net/project/showfiles.php?group_id=40728&package_id=32894&release_id=434410 Download] the latest version (2.0.2, currently)
+
(1) [http://sourceforge.net/project/showfiles.php?group_id=40728&package_id=32894&release_id=434410 Download] the latest version (2.2.0, currently)
  
 
(2) Open a command window, change directory into 'openbabel', and
 
(2) Open a command window, change directory into 'openbabel', and
Line 21: Line 21:
  
 
<pre>
 
<pre>
tar zxvf openbabel-2.0.2.tar.gz
+
tar zxvf openbabel-2.2.0.tar.gz
 
</pre>
 
</pre>
  
This will create a folder called 'openbabel-2.0.2'.
+
This will create a folder called 'openbabel-2.2.0'.
  
 
(3) You now need to configure and compile openbabel. To do this, change
 
(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
+
directory into 'openbabel-2.2.0'. Run the following commands, one after
 
the other
 
the other
  

Revision as of 11:26, 27 August 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.2.0. 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.2.0, currently)

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

tar zxvf openbabel-2.2.0.tar.gz

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

(3) You now need to configure and compile openbabel. To do this, change directory into 'openbabel-2.2.0'. 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