export OB=$HOME/openbabel sudo apt-get update sudo apt-get install cmake subversion g++ swig2.0 python-dev libxml2-dev wx-common wx2.8-headers libwxbase2.8-dev libeigen3-dev libwxgtk2.8-dev mkdir $OB cd $OB svn checkout http://openbabel.svn.sourceforge.net/svnroot/openbabel/openbabel/trunk trunk mkdir build cd build cmake ../trunk -DCMAKE_INSTALL_PREFIX=../install -DPYTHON_BINDINGS=ON -DRUN_SWIG=ON make -j2 && make install export PATH=$OB/install/bin:$PATH export PYTHONPATH=$OB/install/lib:$PYTHONPATHThereafter, just type "svn update" in $OB/trunk, and "make && make install" in $OB/build, to get the latest and greatest.
Monday, 5 March 2012
Grab, build and install the development version of Open Babel on Linux Mint 12
This is one of those "Notes to self" posts. I just installed Linux Mint 12 into a VM. Here's what I had to do to build the development version of Open Babel, complete with GUI and Python bindings. As far as I know, these instructions should also work for Ubuntu 11.10 (Oneiric oh-whatever).
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment