From 14424a5788ed92f59d00082829baca1f8026c3b2 Mon Sep 17 00:00:00 2001 From: Stan Seibert Date: Thu, 17 Nov 2011 13:16:23 -0500 Subject: More fixes to installation guide. --- doc/source/install.rst | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/source/install.rst b/doc/source/install.rst index c2f8ce8..9fe0bec 100644 --- a/doc/source/install.rst +++ b/doc/source/install.rst @@ -150,7 +150,7 @@ Next, append the following lines to the end of ``$HOME/chroma_env/bin/activate`` to add the CUDA tools to the path:: export PATH=/usr/local/cuda/bin:$PATH - export LD_LIBRARY_PATH=/usr/local/cuda/lib64 + export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$VIRTUAL_ENV/lib:$LD_LIBRARY_PATH Finally, we can enable the virtual environment:: @@ -260,7 +260,14 @@ Chroma, so for now you will need to use our fork of g4py:: Step 7: Chroma ^^^^^^^^^^^^^^ -Finally, we are at a stage where the automatic dependency resolution +Finally, we are getting close to being able to use ``pip`` to do the +rest of the installation. In order for PyUblas to find boost, we have +to create a file in your ``$HOME`` directory called ``.aksetup-defaults.py`` that contains the following lines:: + BOOST_INC_DIR = ['/usr/include/boost'] + BOOST_LIB_DIR = ['/usr/lib64'] + BOOST_PYTHON_LIBNAME = ['boost_python-mt-py27'] + +Now we at a stage where the automatic dependency resolution features of ``pip`` can do their magic. We need to upgrade the distribute module prior to installation, but the rest should be automatic:: -- cgit