I recently tried to compile Moses on a 64-bit X86 Linux machine, and
using the Debian package system's version of the Boost libraries (v.
1.48.0.3, which was current until two weeks ago). I issued the
following:
./bjam -q -j4
and eventually get the following error:
gcc.link
lm/bin/left_test.test/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/left_test
lm/bin/left_test.test/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/left_test.o:
In function `main':
/usr/include/boost/test/unit_test.hpp:59: undefined reference to
`boost::unit_test::unit_test_main(bool (*)(), int, char**)'
collect2: ld returned 1 exit status
"g++" -o
"lm/bin/left_test.test/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/left_test"
-Wl,--start-group
"lm/bin/left_test.test/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/left_test.o"
"util/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/libkenutil.a"
"lm/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/libkenlm.a"
"util/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/libkenutil.a"
-Wl,-Bstatic -lboost_unit_test_framework-mt -lboost_thread-mt -lz
-Wl,-Bdynamic -lrt -Wl,--end-group -g -pthread
...failed gcc.link
lm/bin/left_test.test/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/left_test...
...skipped
<plm/bin/left_test.test/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>left_test.run
for lack of
<plm/bin/left_test.test/gcc-4.6/release/debug-symbols-on/link-static/threading-multi>left_test...
gcc.compile.c++
moses/src/LM/bin/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/Factory.o
...failed updating 1 target...
...skipped 1 target...
I would appreciate any suggestions, as am not knowledgable about Boost.
Yours,
K
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support