(Linux 3.16.0-4-amd64 Debian 3.16.7-ckt11-1+deb8u5 (2015-10-09) x86_64 GNU/Linux)
Hey guys, sorry for disturbing you.
Have the same problem while building Mitie's nodejs wrapper. It seems that an error occurs in Mitie, not in node-gyp, but I might be wrong.
What can it be? Maybe I miss something? Thanks!
> mitie@1.0.0 install /var/www/dh-nlp/node_modules/mitie
> node-gyp rebuild
make: Entering directory '/var/www/dh-nlp/node_modules/mitie/build'
CXX(target) Release/obj.target/mitie/src/mitie.o
In file included from ../mitie/dlib/dlib/serialize.h:157:0,
from /usr/local/include/mitie/approximate_substring_set.h:9,
from /usr/local/include/mitie/word_morphology_feature_extractor.h:7,
from /usr/local/include/mitie/total_word_feature_extractor.h:8,
from /usr/local/include/mitie/named_entity_extractor.h:7,
from ../src/entity_extractor.h:5,
from ../src/mitie.cc:2:
../mitie/dlib/dlib/smart_pointers/shared_ptr.h: In member function 'void* dlib::shared_ptr<T>::deleter_template<D>::get_deleter_void(const std::type_info&) const':
../mitie/dlib/dlib/smart_pointers/shared_ptr.h:112:29: error: cannot use typeid with -fno-rtti
if (typeid(D) == t)
^
../mitie/dlib/dlib/smart_pointers/shared_ptr.h: In member function 'D* dlib::shared_ptr<T>::_get_deleter() const':
../mitie/dlib/dlib/smart_pointers/shared_ptr.h:432:83: error: cannot use typeid with -fno-rtti
return static_cast<D*>(shared_node->del->get_deleter_void(typeid(D)));
^
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
mitie.target.mk:94: recipe for target 'Release/obj.target/mitie/src/mitie.o' failed
make: *** [Release/obj.target/mitie/src/mitie.o] Error 4
make: Leaving directory '/var/www/dh-nlp/node_modules/mitie/build'
(Linux 3.16.0-4-amd64 Debian 3.16.7-ckt11-1+deb8u5 (2015-10-09) x86_64 GNU/Linux)
Hey guys, sorry for disturbing you. Have the same problem while building Mitie's nodejs wrapper. It seems that an error occurs in Mitie, not in node-gyp, but I might be wrong.What can it be? Maybe I miss something? Thanks!