A memo when setting up a Docker container for using JUMAN ++, KNP, python

Purpose

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.

problem

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."

Cause

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

solution

Use a python container with Debian (stretch). I used 3-stretch.

The reason for the stray

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

Quote: I installed JUMAN ++ on Ubuntu, which is more accurate than MeCab | Foolean – Memorandum-style miscellaneous blog

Recommended Posts

A memo when setting up a Docker container for using JUMAN ++, KNP, python
I made a Docker container to use JUMAN ++, KNP, python (for pyKNP).
Memo for building a machine learning environment using Python
A memo when creating a directed graph using Graphviz in Python
Ansible playbook for setting up Python preferences using pyenv on Mac
A memo for when pip3 is installed with python2.7 for some reason
[python, multiprocessing] Behavior for exceptions when using multiprocessing
Setting up Basic authentication using Python @Lambda
Setting up Digest authentication using Python @Lambda
A useful note when using Python for the first time in a while
Beware of disable_existing_loggers when setting up Python logging
A memo when creating a python environment with miniconda
A memo for creating a python environment by a beginner
Let's make a module for Python using SWIG
Try Python interactive mode inside a Docker container
How to set up a Python environment using pyenv
[Heroku] Memo for deploying Python apps using Heroku on Windows [Python]
Create a Layer for AWS Lambda Python with Docker
A memo about building a Django (Python) application with Docker
Launch Django on a Docker container with docker-compose up
Minimum memo when using Python on Mac (pyenv edition)
Setting up Jupyter Lab in a Python 3.9 venv environment
Carry a Docker container
I got "ModuleNotFoundError: No module named'azure'" when running a program using Azure SDK for Python
I got a Value Error when using JUMAN ++ with PyKNP
[Memo] Build a development environment for Django + Nuxt.js with Docker
Try a similar search for Image Search using the Python SDK [Search]
A memo when face is detected with Python + OpenCV quickly
How to implement Python EXE for Windows in Docker container
Python environment construction procedure memo using Docker on Windows10 Home
A memo of writing a basic function in Python using recursion
When I tried to scrape using requests in python, I was addicted to SSLError, so a workaround memo
Set Up for Mac (Python)
Python code memo for yourself
Python memo using perl --join
Regarding speeding up python (memo)
Building a Docker working environment for R and Python 2: Japanese support
Build a local development environment for Lambda + Python using Serverless Framework
Effective Python Note Item 17 Respect for certainty when using iterators for arguments
[Python] Appears when using iterdir () etc. [Errno 20] Not a directory:'*** / .DS_Store'
Try docker: Create your own container image for your Python web app
I get a can't set attribute when using @property in python
A note on using tab completion when running Python interactively on Windows
A memo about using Colab Pro for about 2 months (good points / bad points)
When a Python beginner tried using Bottle, it worked unexpectedly easily.
A memo for those who use Python in Visual Studio (me)
A memo when using systemd to keep a Python script running as a daemon on CentOS 7 at all times.