Closed palade closed 8 years ago
No need to run make with sudo. Try to run make without -j8 to see where the build really fails.
I build it again with/without sudo and without -j8. This fixed it: sudo apt-get install libssl-dev However, I believe it needs sudo when installed. Have a look below.
Here is the output with sudo:
* Compiling src/Cipher.cpp (release, shared) * Compiling src/CipherFactory.cpp (release, shared) In file included from include/Poco/Crypto/CipherKeyImpl.h:24:0, from include/Poco/Crypto/CipherKey.h:24, from src/CipherFactory.cpp:19: include/Poco/Crypto/OpenSSLInitializer.h:26:28: fatal error: openssl/crypto.h: No such file or directory
include <openssl/crypto.h>
Here is without sudo
\ Building shared library (release) /home/andrei/environment/macchina.io/platform/lib/Linux/x86_64/libPocoFoundation.so.30 mkdir: cannot create directory ‘/home/andrei/environment/macchina.io/platform/XML/obj/Linux/x86_64’: Permission denied make[2]: * [/home/andrei/environment/macchina.io/platform/XML/obj/Linux/x86_64/release_static] Error 1 make[1]: * [XML-libexec] Error 2 make: *\ [clean] Error 2
If you've built it once with sudo, then the owner of the directories created while building will be root. Which explains the permission denied in subsequent non-sudo builds.
Thank you palade and obiltschnig, I have the same issue and solved by install libssl-dev
I tried to build macchina.io by following the guidelines from http://macchina.io/docs/00150-MacchinaGettingStarted.html on a Linux Mint v17.1 and v17.3. However, every time I get the following error during build. Is there something I do wrong?
The steps to reproduce this are: