I wanted to use JUMAN ++ and KNP for dependency analysis, but since I only have a windows PC at hand, I built an environment using Docker for Windows.
jumanpp's ./configure doesn't work.
checking for boostlib >= 1.57... configure: We could not detect the boost libraries (version 1.57 or higher). If you have a staged boost library (still not installed) please specify $BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation.
configure: error: "Error: cannot find available Boost library."
As of August 21, 2017, the latest of the python container is Debian (jessie), The version of jessie's libboost-dev package was 1.55.
https://packages.debian.org/ja/jessie/libboost-dev
The libboost-dev package version of stretch is 1.62 https://packages.debian.org/ja/stretch/libboost-dev
Use a python container with Debian (stretch).
I used 3-stretch
.
The reason is that there was a person who summarized it on the following page, and I thought it was okay because it was the same error ... I thought it was okay, so I wondered if there was something else wrong with it.
Addendum If an error occurs in configure [...] It seems that it may be solved by installing with the following command. In fact, this was the solution in my environment.
sudo apt-get install libboost-all-dev
Recommended Posts