I want to build the Java JNI bindings for the OpenDNP3 library from https://github.com/gec/dnp3.
after autoreconf -f -i, when I ./configure --with-java=/path/to/jdk/include, it is giving an error. However if I am trying to run it with other platfom it is giving me the same error.
the error is:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for boostlib >= 1.43... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking whether the Boost::Date_Time library is available... yes
configure: error: Could not find a version of the library!
I have swig installed. I have tried ./configure --with-boost-libdir=/usr/lib/x86_64-linux-gnu
It is not working. I am using UBUNTU 21.04, arm64, 64bit.
I have spent time on fixing with the link below. It did not work out.
https://stackoverflow.com/questions/53089494/configure-error-could-not-find-a-version-of-the-library
Please see the attached config.log file
config.log
I have tried to do the same thing on a raspbian. I still have the same problem. Not sure what is the problem.
Please assist me. Thanks