These are chat archives for beniz/deepdetect

21st
Jan 2018
mazenlhm
@mazenlhm
Jan 21 2018 14:01

Good day
I am trying to build with the following error:

[  3%] Performing configure step for 'caffe_dd'
CXX src/caffe/layers/softmax_infogain_loss_layer.cpp
CXX src/caffe/layers/threshold_layer.cpp
CXX src/caffe/layers/cudnn_conv_layer.cpp
CXX src/caffe/layers/prior_box_layer.cpp
CXX src/caffe/layers/deconv_layer.cpp
g++: 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.
Makefile:581: recipe for target '.build_release/src/caffe/layers/prior_box_layer.o' failed
make[3]: *** [.build_release/src/caffe/layers/prior_box_layer.o] Error 1
make[3]: *** Waiting for unfinished jobs....
g++: 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.
Makefile:581: recipe for target '.build_release/src/caffe/layers/softmax_infogain_loss_layer.o' failed
make[3]: *** [.build_release/src/caffe/layers/softmax_infogain_loss_layer.o] Error 1
CMakeFiles/caffe_dd.dir/build.make:108: recipe for target 'caffe_dd/src/caffe_dd-stamp/caffe_dd-configure' failed
make[2]: *** [caffe_dd/src/caffe_dd-stamp/caffe_dd-configure] Error 2
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/caffe_dd.dir/all' failed
make[1]: *** [CMakeFiles/caffe_dd.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

My machine: "Ubuntu 16.04.3 LTS"
Any ideas!! thanks

Emmanuel Benazera
@beniz
Jan 21 2018 15:12
try make again
mazenlhm
@mazenlhm
Jan 21 2018 17:03

Unfortunately same error after trying "make" again.
I already tried "make" several time .. but the first "make" error was different
This is the first "make" error:

Scanning dependencies of target caffe_dd
[  3%] Creating directories for 'caffe_dd'
[  7%] Performing download step (download, verify and extract) for 'caffe_dd'
-- downloading...
     src='https://github.com/beniz/caffe/archive/master.tar.gz'
     dst='/root/deepdetect/build/caffe_dd/src/master.tar.gz'
     timeout='none'
-- downloading... done
-- verifying file...
     file='/root/deepdetect/build/caffe_dd/src/master.tar.gz'
-- verifying file... warning: did not verify file - no URL_HASH specified?
-- extracting...
     src='/root/deepdetect/build/caffe_dd/src/master.tar.gz'
     dst='/root/deepdetect/build/caffe_dd/src/caffe_dd'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 10%] No patch step for 'caffe_dd'
[ 14%] No update step for 'caffe_dd'
[ 17%] Performing configure step for 'caffe_dd'
PROTOC src/caffe/proto/caffe.proto
CXX src/caffe/common.cpp
CXX src/caffe/layer.cpp
CXX src/caffe/data_transformer.cpp
CXX src/caffe/syncedmem.cpp
CXX src/caffe/internal_thread.cpp
g++: 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.
Makefile:581: recipe for target '.build_release/src/caffe/layer.o' failed
make[3]: *** [.build_release/src/caffe/layer.o] Error 1
make[3]: *** Waiting for unfinished jobs....
g++: 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.
Makefile:581: recipe for target '.build_release/src/caffe/common.o' failed
make[3]: *** [.build_release/src/caffe/common.o] Error 1
CMakeFiles/caffe_dd.dir/build.make:108: recipe for target 'caffe_dd/src/caffe_dd-stamp/caffe_dd-configure' failed
make[2]: *** [caffe_dd/src/caffe_dd-stamp/caffe_dd-configure] Error 2
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/caffe_dd.dir/all' failed
make[1]: *** [CMakeFiles/caffe_dd.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Also I can't install a docker version due as Docker can't be installed on OpenVZ VPS
https://stackoverflow.com/questions/34472937/install-docker-on-openvz-vps

Emmanuel Benazera
@beniz
Jan 21 2018 17:03
you don't have enough memory or something related, your compiler is crashing. bump your machine up.
mazenlhm
@mazenlhm
Jan 21 2018 17:05
Many thanks for fast respond .. appreciate it .. will bump it up ;)