question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Docker compile for CPU fails due to sentencepiece.pc missing

See original GitHub issue

When 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:open
  • Created 3 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
santhoshtrcommented, Jun 24, 2020

Sorry, my comment was misleading. The docker run works fine. docker-compose up does not (my log is from compose)

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.

1reaction
santhoshtrcommented, Sep 4, 2020

Any updates on progress perhaps?

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found