Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm a newbie, and I can't compile the Moses translation tools. Here's my command:

sudo ./bjam --with-boost=~/home/ubuntu/boost_1_55_0 -j8

A lot of files compile but after a while I keep getting warnings like

...failed gcc.compile.c++ lm/filter/bin/gcc-4.7/release/debug-symbols-on/link-static/threading-multi/main.o...
gcc.compile.c++ lm/filter/bin/gcc-4.7/release/debug-symbols-on/link-static/threading-  multi/arpa_io.o
In file included from /usr/local/include/boost/scoped_array.hpp:14:0,
             from ./lm/filter/arpa_io.hh:11,
             from lm/filter/arpa_io.cc:1:
/usr/local/include/boost/smart_ptr/scoped_array.hpp:17:51: fatal error: boost/smart_ptr/detail/sp_nullptr_t.hpp: No such file or directory
compilation terminated.

I copied the 'boost' folder to usr/local/include, but it didn't help. I have no idea how boost works, I only know it is some collection of c++ libraries, please keep that in mind :) Thanks in advance.

share|improve this question
    
Is ~/home/ubuntu/boost... what you mean? This will be translated to /home/ubuntu/home/ubuntu/boost..., which I'm assuming is not what you want. –  chronitis Feb 7 at 12:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.