moneroexamples / compile-monero-09-on-ubuntu-16-04

Compile Monero 0.10.1 on Ubuntu 16.04 x64
11 stars 8 forks source link

Compile error #7

Closed lukaisailovic closed 6 years ago

lukaisailovic commented 6 years ago

I've been following the tutorial on Ubuntu 16.04 but get this error:

make[3]: Entering directory '/root/monero/build/release'
make[3]: Leaving directory '/root/monero/build/release'
make[3]: Entering directory '/root/monero/build/release'
-- You are currently on commit 8d511f3
-- The most recent tag was at fda88c8
-- You are ahead of or behind a tagged release
make[3]: Leaving directory '/root/monero/build/release'
[  0%] Built target genversion
make[3]: Entering directory '/root/monero/build/release'
make[3]: Leaving directory '/root/monero/build/release'
[  2%] Built target lmdb
make[3]: Entering directory '/root/monero/build/release'
make[3]: Leaving directory '/root/monero/build/release'
[  4%] Built target easylogging
make[3]: Entering directory '/root/monero/build/release'
make[3]: Leaving directory '/root/monero/build/release'
[ 19%] Built target obj_cncrypto
make[3]: Entering directory '/root/monero/build/release'
make[3]: Leaving directory '/root/monero/build/release'
[ 20%] Built target cncrypto
make[3]: Entering directory '/root/monero/build/release'
make[3]: Leaving directory '/root/monero/build/release'
make[3]: Entering directory '/root/monero/build/release'
[ 21%] Building CXX object contrib/epee/src/CMakeFiles/epee.dir/http_auth.cpp.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
contrib/epee/src/CMakeFiles/epee.dir/build.make:86: recipe for target 'contrib/epee/src/CMakeFiles/epee.dir/http_auth.cpp.o' failed
make[3]: *** [contrib/epee/src/CMakeFiles/epee.dir/http_auth.cpp.o] Error 4
make[3]: Leaving directory '/root/monero/build/release'
CMakeFiles/Makefile2:340: recipe for target 'contrib/epee/src/CMakeFiles/epee.dir/all' failed
make[2]: *** [contrib/epee/src/CMakeFiles/epee.dir/all] Error 2
make[2]: Leaving directory '/root/monero/build/release'
Makefile:138: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/root/monero/build/release'
Makefile:55: recipe for target 'release' failed
make: *** [release] Error 2

This is the point where it fails. I've double checked if all dependencies are installed and all looks fine to me.

moneroexamples commented 6 years ago

How much free ram do you have? c++: internal compiler error: Killed (program cc1plus) this occurs for me if I compile it on a vps server with less than 2GB of free ram.

Also do you install current development version of monero from master, or compiling latest release v0.11.0.0?

lukaisailovic commented 6 years ago

@moneroexamples VPS had less than 2GB. That was the issue. Thanks for helping out !

moneroexamples commented 6 years ago

Ok, so I will close the issue now. Please feel free to make new one or reopen this, if something else happens.