Building IPBus Software: Difference between revisions

From pCT
No edit summary
No edit summary
 
Line 2: Line 2:


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
$ 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
$ git clone https://github.com/ipbus/ipbus-software.git



Latest revision as of 12:57, 7 February 2020

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