@@ -52,39 +52,54 @@ make -C build && make -C build install
5252cd $WORKDIR
5353rm -rf wdmp-c
5454
55+ # Install dependencies of libparodus
56+ cd $WORKDIR
57+ git clone https://github.com/nanomsg/nanomsg.git
58+ cd nanomsg
59+ mkdir build
60+ cd build
61+ cmake ..
62+ cmake --build .
63+ cmake --build . --target install
64+ cd $WORKDIR
65+ rm -rf nanomsg
66+
67+ git clone https://github.com/xmidt-org/cimplog.git
68+ cd cimplog
69+ git checkout 8a5fb3c2f182241d17f5342bea5b7688c28cd1fd
70+ mkdir build
71+ cd build
72+ cmake ..
73+ make && make install
74+ cd $WORKDIR
75+ rm -rf cimplog
76+
77+
5578cd $WORKDIR
56- git clone https://github.com/schmidtw/wrp-c.git
57- git checkout main
79+ git clone https://github.com/xmidt-org/wrp-c.git
5880cd wrp-c
81+ git checkout 9587e8db33dbbfcd9b78ef66cc2eaf16dfb9afcf
82+ # replace 7a98138f27f27290e680bf8fbf1f8d1b089bf138 with 445880108a1d171f755ff6ac77e03fbebbb23729 in CMakeLists.txt
83+ # Message pack revision used in libparadous is not buildable with latest gcc versions
84+ sed -i ' s/7a98138f27f27290e680bf8fbf1f8d1b089bf138/445880108a1d171f755ff6ac77e03fbebbb23729/g' CMakeLists.txt
5985mkdir build
6086cd build
6187cmake ..
6288make && make install
63- mkdir -p /usr/local/include/wrp-c
64- cp -r ../src/wrp-c.h /usr/local/include/wrp-c/
65- cd $ROOT
89+ cd $WORKDIR
6690rm -rf wrp-c
6791
6892cd $WORKDIR
6993git clone https://github.com/xmidt-org/libparodus.git
7094cd libparodus
95+ # replace 7a98138f27f27290e680bf8fbf1f8d1b089bf138 with 445880108a1d171f755ff6ac77e03fbebbb23729 in CMakeLists.txt
96+ # Message pack revision used in libparadous is not buildable with latest gcc versions
97+ sed -i ' s/7a98138f27f27290e680bf8fbf1f8d1b089bf138/445880108a1d171f755ff6ac77e03fbebbb23729/g' CMakeLists.txt
7198mkdir build
7299cd build
73100cmake ..
74101make && make install
75- cp -r ../src/libparodus.h /usr/local/include/
76- cp -r ../src/libparodus_log.h /usr/local/include/
77102cd $WORKDIR
78103rm -rf libparodus
79104
80-
81- wget https://sourceforge.net/projects/procps-ng/files/Production/procps-ng-3.3.17.tar.xz
82- tar -xf procps-ng-3.3.17.tar.xz
83- cd procps-3.3.17
84- ./configure --without-ncurses
85- make && make install
86- cd $WORKDIR
87- rm -rf procps-ng-3.3.17.tar.xz procps-3.3.17
88-
89-
90105# rtrouted -f -l DEBUG
0 commit comments