Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker build crash #3349

Closed
alextaaa opened this issue Mar 5, 2018 · 5 comments
Closed

Docker build crash #3349

alextaaa opened this issue Mar 5, 2018 · 5 comments
Labels

Comments

@alextaaa
Copy link

alextaaa commented Mar 5, 2018

I try to use docker build -t monero . in stable branch release-v0.11.0.0

But I get the error:

-- Could not find GNU readline library so building without readline support
CMake Error at CMakeLists.txt:847 (message):
  Could not find required header zmq.hpp


-- Configuring incomplete, errors occurred!
See also "/usr/local/src/monero/build/release/CMakeFiles/CMakeOutput.log".
See also "/usr/local/src/monero/build/release/CMakeFiles/CMakeError.log".
Makefile:68: recipe for target 'release-static' failed
make: *** [release-static] Error 1
The command '/bin/sh -c make -j$(nproc) release-static' returned a non-zero code: 2
@moneromooo-monero
Copy link
Collaborator

I see no crash here.

As for your build error, install zmq.hpp.

@alextaaa
Copy link
Author

alextaaa commented Mar 5, 2018

But I use the Dockerfile https://github.com/monero-project/monero/blob/release-v0.11.0.0/Dockerfile

Could you plz include all required command (like this install zmq.hpp) for successfully build?

@MoroccanMalinois
Copy link
Contributor

@alextaaa The Dockerfile you are using is pulling code from branch master (even if you cloned from another branch), and zmq has been added since v0.11.0.0.

So easiest solution is to just add -b release-v0.11.0.0 to https://github.com/monero-project/monero/blob/release-v0.11.0.0/Dockerfile#L19.

Or you could use branch master with #3316 (whose Dockerfile include commands to rebuild all dependencies, but it will probably not work with branch v0.11 because of the -fPIC build).

@homdx
Copy link
Contributor

homdx commented Jun 11, 2018

My commit is fix you issue?
#3879

@moneromooo-monero
Copy link
Collaborator

I'll call that fixed since several people built this since the fix.

+resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants