Skip to content

Installing required libraries

shoaibkamil edited this page Jul 12, 2011 · 21 revisions

ASP currently requires Python 2.6+, plus the following libraries:

In order to connect Boost.Python and CodePy, you may need to specify some things in ~/.aksetup-defaults.py. For MacOS 10.6, I have:

      BOOST_INC_DIR=['/Users/skamil/source/boost_1_43_0']
      BOOST_LIB_DIR=['/Users/skamil/source/boost_1_43_0/stage/lib']
      BOOST_PYTHON_LIBNAME=['boost_python']

For Ubuntu 10.10, I have:

      BOOST_PYTHON_LIBNAME=['boost_python-mt-py26']

For Ubuntu 11.04, I have:

      BOOST_PYTHON_LIBNAME=['boost_python-mt-py27']

If you don't set this up correctly, you will receive the error message "/usr/bin/ld: cannot find -lboost_python-gcc43-mt".

Python 3 is currently not tested. Tested on Python 2.6 with Ubuntu 10.10 and MacOS X 10.6, and with Python 2.7.1+ on Ubuntu 11.04. For Ubuntu, all but CodePy can be installed via apt-get:

     sudo apt-get install python-numpy python-mako libboost-python-dev python-pytools python-mock
Clone this wiki locally