Docker compile for CPU fails due to sentencepiece.pc missing
See original GitHub issueWhen compiling the dockerfile with docker build . error is raised at make install step of marian compilation:
CMake Error at src/3rd_party/sentencepiece/cmake_install.cmake:41 (file):
file INSTALL cannot find "/usr/src/app/marian/sentencepiece.pc".
Call Stack (most recent call first):
src/3rd_party/cmake_install.cmake:46 (include)
src/cmake_install.cmake:42 (include)
cmake_install.cmake:42 (include)
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Why new Macs break your Docker build, and how to fix it
Why do we need a compiler on the Mac, but not on Linux? Symptom #2: Missing packages. Let's try a different Dockerfile :...
Read more >sentencepiece - PyPI
Python wrapper for SentencePiece. This API will offer the encoding, decoding and training of Sentencepiece. Build and Install SentencePiece. For Linux (x64/i686) ...
Read more >Package List — Spack 0.20.0.dev0 documentation
AMD Optimized FFTW is the optimized FFTW implementation targeted for AMD CPUs. For single precision build, please use precision value as float.
Read more >How to Fix and Debug Docker Containers Like a Superhero
While containers help developers rapidly build and run cross-platform applications, creating error-free apps remains a constant challenge.
Read more >Failed to install gcc on Python-3.7-alpine docker container
pc ' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'virtual:world', not found running install running build running ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Perhaps you need to check what is the problem with docker-compose script? Anyway, it is independent of the issue being discussed here, right? Let me know if it is not.
https://github.com/Helsinki-NLP/Opus-MT/pull/22 has the fix for this and I posted the log of that working fine. In case that is not helpful, please let us know what exact issue you see.