What steps will reproduce the problem?
1. Clone the git repository on a 64-bit Ubuntu system
2. cd dnp3
3. autoreconf -f -i
4. mkdir build && cd build
5. ../configure
What is the expected output? What do you see instead?
Expected output would be all the checks succeeding, and final line should look
like this:
When ready, type 'make' to build.
Instead, I'm getting an error, although libboost-date-time is installed:
checking whether the Boost::Date_Time library is available... yes
configure: error: Could not find a version of the library!
What version of the product are you using? On what operating system?
OpenDNP3 v1.1.0 (not confident about it), commit
7c07708c83e675c166bfc995865b9454fb910f20
OS: 64-bit Ubuntu 14.04.1 LTS, kernel:3.13.0-39-generic
Please provide any additional information below.
I have managed to compile successfully using this workaround:
Either run the config like this:
../configure --with-boost-libdir=/usr/lib/x86_64-linux-gnu
Or edit dnp3/configure and add the following line before $libsubdirs is used
(line 4117 for me):
libsubdirs="lib/x86_64-linux-gnu $libsubdirs"
Building works fine using any of those :D
A proper fix should be done in the code to cause autoreconf to produce the
correct configure script.
The issue exists in other pieces of software:
https://github.com/bitcoin/bitcoin/issues/3219
Original issue reported on code.google.com by cma...@gmail.com on 27 Nov 2014 at 1:12
Original issue reported on code.google.com by
cma...@gmail.com
on 27 Nov 2014 at 1:12