Update installing.rst

building llvmpy requires Python.h for python2.7. If python-dev is not installed here's the error. 

llvmpy/api.cpp:2:20: fatal error: Python.h: No such file or directory
 #include "Python.h"
This commit is contained in:
JBoulder 2014-11-12 09:54:22 -07:00
parent 12860e2ef2
commit 0f81e8d302
1 changed files with 1 additions and 0 deletions

View File

@ -143,6 +143,7 @@ Installing the host-side software
$ cd ~/artiq-dev/llvmpy $ cd ~/artiq-dev/llvmpy
$ git checkout 7af2f7140391d4f708adf2721e84f23c1b89e97a $ git checkout 7af2f7140391d4f708adf2721e84f23c1b89e97a
$ cat /path_to/artiq/patches/llvmpy/* | patch -p1 $ cat /path_to/artiq/patches/llvmpy/* | patch -p1
$ sudo apt-get install python-dev
$ LLVM_CONFIG_PATH=/usr/local/llvm-or1k/bin/llvm-config sudo -E python setup.py install $ LLVM_CONFIG_PATH=/usr/local/llvm-or1k/bin/llvm-config sudo -E python setup.py install
.. note:: .. note::