Building IPBus Software

From pCT

Version used: ipbus-software-v2.7.0 (firmware version used is ipbus-firmware-v1.6)

$ sudo yum -y install make rpm-build git-core erlang gcc-c++ boost-devel pugixml-devel python-devel

$ git clone https://github.com/ipbus/ipbus-software.git

$ cd ipbus-software/

$ git checkout v2.7.0

$ make EXTERN_BOOST_INCLUDE_PREFIX=/opt/boost-v1.7-python3/include EXTERN_BOOST_LIB_PREFIX=/opt/boost-v1.7-python3/lib -j4

$ sudo make install prefix=/opt/ipbus-v2.7.0

Remember to add ipbus-software details to your environment, e.g. /etc/bashrc:

export PATH=$PATH:/opt/ipbus-v2.7.0/bin

export LD_LIBRARY_PATH=/opt/ipbus-v2.7.0/lib:$LD_LIBRARY_PATH

export PYTHONPATH=/opt/ipbus-v2.7.0/lib:$PYTHONPATH