Commit b25d3b80 authored by Yonghong Song's avatar Yonghong Song

fix README to provide more clarity for potential python pkg installation issue

Signed-off-by: default avatarYonghong Song <yhs@plumgrid.com>
parent c989d1ab
...@@ -67,12 +67,14 @@ cd bcc; mkdir build; cd build ...@@ -67,12 +67,14 @@ cd bcc; mkdir build; cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_PREFIX_PATH=/opt/local/llvm cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_PREFIX_PATH=/opt/local/llvm
make -j$(grep -c ^processor /proc/cpuinfo) make -j$(grep -c ^processor /proc/cpuinfo)
sudo make install sudo make install
cd ../../ cd ../
sudo python examples/hello_world.py sudo python examples/hello_world.py
<ctrl-C> <ctrl-C>
``` ```
Change `CMAKE_PREFIX_PATH` if llvm is installed elsewhere. Change `CMAKE_PREFIX_PATH` if llvm is installed elsewhere.
Change CMAKE_INSTALL_PREFIX to /usr/local if your python package installation
is under /usr/local install /usr.
### Cleaning up ### Cleaning up
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment