centOS installing boost and opendnp3 : Problems

219 views
Skip to first unread message

ajinkya biradar

unread,
May 28, 2014, 3:00:54 PM5/28/14
to automat...@googlegroups.com
Hello all,

I have cent-OS 6.5 sever and I want to install openDNP3 on it, but I am facing some problems.

The prerequisites given in Wiki page of our openDNP3 the boost lib is to be installed like the way mentioned for centOS too or
is there a different rpm package/procedure for it.

I tried the conventional (given in wiki) way but it is compiling boost using gcc4.4.7 .....
though few days back i installed gcc 4.7.0 the devtools.repo .....
 References : --> (http://superuser.com/questions/381160/how-to-install-gcc-4-7-x-4-8-x-on-centos     or   https://www.centos.org/forums/viewtopic.php?t=22473)

now after PATH variable modification it shows the correct updated gcc version 
like --- gcc -v ---- shows 4.7 and
also ---  which gcc --- shows /opt/centos/devtoolset-1.0/root/usr/bin/gcc ..... which looks fine for me.....

and while installing/compiling DNP3 the make check is giving error.....
-----------------------------------------------------------------------
 -lboost_unit_test_framework-mt
/opt/centos/devtoolset-1.0/root/usr/libexec/gcc/x86_64-redhat-linux/4.7.0/ld: cannot find -lboost_unit_test_framework-mt
collect2: error: ld returned 1 exit status
make[1]: *** [dnp3test] Error 1
make[1]: Leaving directory `/home/ajinkya/dnp3-1.1.x'
make: *** [check-am] Error 2
------------------------------------------------------------------------

this is what i found in one of google groups for boost lib installation --> https://groups.google.com/forum/#!msg/open-dnp3/fEYKjB6VUjo/lKZ_VL-vC_IJ

but it is not working for me..... I am posting last part of the error which i got after running --> rpmbuild --rebuild boost-1.55.0-1.fc21.src.rpm


warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
sh: /usr/bin/python3: No such file or directory
sh: /usr/bin/python3-config: No such file or directory
sh: /usr/bin/python3: No such file or directory
sh: /usr/bin/python3-config: No such file or directory
sh: /usr/bin/python3: No such file or directory
sh: /usr/bin/python3: No such file or directory
sh: /usr/bin/python3-config: No such file or directory
error: Failed build dependencies:
    python3-devel(x86-64) is needed by boost-1.55.0-1.el6.x86_64
    mpich-devel is needed by boost-1.55.0-1.el6.x86_64

so I installed python3 but I am not able to find good link to install python3-devel and the following dependency too i.e. mpich-devel

kindly help me out.... completely stuck.....

thanks in advance..... :-)

--
Ajinkya Biradar

Christopher Verges

unread,
May 29, 2014, 2:22:43 AM5/29/14
to ajinkya biradar, automat...@googlegroups.com
On the prior fork, I had created a RPM:


I haven't done the same for the new fork here, mostly because I use Ubuntu for nearly everything now.  But maybe there's a lesson or so in that old thread for you.

Chris
Reply all
Reply to author
Forward
0 new messages