--- Begin Message ---
Hello All,
I’m not able to build nupic on ubuntu 12.04 and 14.04. I’m following the
instructions from
https://github.com/numenta/nupic/wiki/Installing-NuPIC-on-Ubuntu to create a
chef cookbook that can spin up a vagrant VM. But the process fails while
building with following error:
Linking CXX shared module ../../nupic/bindings/_iorange.so
[ 58%] Built target _iorange
[ 64%] Swig source
/tmp/nupic/include/nta/utils/LoggingException.hpp:37: Warning(401): Nothing
known about base class 'Exception'. Ignored.
[ 70%] Building CXX object
CMakeFiles/_math.dir/temp/extensions/bindings/py/math/MathPyPYTHON_wrap.cxx.o
In file included from
/usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1728:0,
from
/usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:15,
from
/tmp/nupic/temp/extensions/bindings/py/math/MathPyPYTHON_wrap.cxx:2741:
/usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2:
warning: #warning "Using deprecated NumPy API, disable it by #defining
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
make[2]: ***
[CMakeFiles/_math.dir/temp/extensions/bindings/py/math/MathPyPYTHON_wrap.cxx.o]
Error 4
make[1]: *** [CMakeFiles/_math.dir/all] Error 2
make: *** [all] Error 2
Unable to build the library!
Please help.
Cheers
/Ven
PS: the current version of the cookbook is at
https://github.com/outofjungle/nupic/blob/master/recipes/default.rb
--- End Message ---