Hi Hieu
Thanks for the reply. Using link=shared sorted out that error. However, there are some new errors, for which I couldn't find reference by searching the list and web. For example: /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: /home/me/moses/tools/srilm/lib/i686-m64/liboolm.a(Vocab.o): relocation R_X86_64_32 against `Vocab::compare(unsigned int, unsigned int)' can not be used when making a shared object; recompile with -fPIC/home/me/moses/tools/srilm/lib/i686-m64/liboolm.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
/home/me/moses/tools/boost/include/boost/program_options/detail/value_semantic.hpp:58: undefined reference to `boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
Best Regards,Rasul.
Quoting Hieu Hoang <[email protected]>:

i think this is the same problem as
   http://article.gmane.org/gmane.comp.nlp.moses.user/5714

can i ask if you're on 32 or 64 bit machine, and if and where you can
locate the files
    libboost_thread-mt.so
    libboost_thread-mt.a
on your pc.

slightly teething trouble with the new bjam build

---------- Forwarded message ----------
From: Mauro Zanotti <[email protected]>
Date: 7 December 2011 22:52
Subject: [Moses-support] Building error
To: [email protected]


Dear list,

I followed the instructions at the page
http://www.english-spanish-translator.org/machine-translation/12142-how-install-moses-statistical-machine-translation-system-ubuntu-10-04-a.html
skipping the SRILM installation and installing the irstlm-5.70.04.tgz
package

during the installation of Moses, instead of the showed instructions, I
tried with ./bjam --with-irstlm=/usr/local/irstlm
--with-giza=/opt/tools/bin -j2 and I obtain the following errrors (attached
the full log), could someone help me?

Thank you in advance
Mauro

--------------------------
warning: No toolsets are configured.
warning: Configuring default toolset "gcc".
warning: If the default is wrong, your build may not work correctly.
warning: Use the "toolset=xxxxx" option to override our guess.
warning: For more configuration options, please consult
warning:
http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! You are linking the IRSTLM library; be sure the release is >= 5.70.02
!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
...patience...
...found 1836 targets...
...updating 88 targets...
gcc.link
mert/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/mert
/usr/bin/ld: cannot find -lboost_thread
collect2: ld returned 1 exit status

     "g++"    -o
"mert/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/mert"
-Wl,--start-group
"mert/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/mert.o"
"mert/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/ThreadPool.o"
"mert/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/libmert_lib.a"
"util/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/libkenutil.a"
-Wl,-Bstatic -lm -lboost_thread -lz -Wl,-Bdynamic -lrt -Wl,--end-group -g
-pthread


...failed gcc.link
mert/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/mert...
gcc.link
mert/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/extractor
/usr/bin/ld: cannot find -lboost_thread
collect2: ld returned 1 exit status

     "g++"    -o
"mert/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/extractor"
-Wl,--start-group
"mert/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/extractor.o"
"mert/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/libmert_lib.a"
"util/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/libkenutil.a"
-Wl,-Bstatic -lm -lboost_thread -lz -Wl,-Bdynamic -lrt -Wl,--end-group -g
-pthread

........................................... OTHER SIMILAR ERRORS

...failed gcc.link
util/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/tokenize_piece_test...
...skipped
<putil/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi>tokenize_piece_test.passed
for lack of
<putil/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi>tokenize_piece_test...
...skipped <pmert>mert for lack of
<pmert/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi>mert...
...skipped <pmert>extractor for lack of
<pmert/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi>extractor...
...skipped <pmert>evaluator for lack of
<pmert/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi>evaluator...
...skipped <pmert>pro for lack of
<pmert/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi>pro...
gcc.link
scripts/ems/biconcor/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/biconcor
/usr/bin/ld: cannot find -lboost_thread
collect2: ld returned 1 exit status

     "g++"    -o
"scripts/ems/biconcor/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/biconcor"
-Wl,--start-group
"scripts/ems/biconcor/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/Vocabulary.o"
"scripts/ems/biconcor/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/SuffixArray.o"
"scripts/ems/biconcor/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/TargetCorpus.o"
"scripts/ems/biconcor/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/Alignment.o"
"scripts/ems/biconcor/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/Mismatch.o"
"scripts/ems/biconcor/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/PhrasePair.o"
"scripts/ems/biconcor/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/PhrasePairCollection.o"
"scripts/ems/biconcor/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/biconcor.o"
"scripts/ems/biconcor/bin/gcc-4.4.3/release/debug-symbols-on/link-static/threading-multi/base64.o"
-Wl,-Bstatic -lboost_thread -Wl,-Bdynamic -lrt -Wl,--end-group -g -pthread

........................................... OTHER SIMILAR ERRORS


...failed gcc.link moses-chart-cmd/src/moses_chart...
...failed updating 47 targets...
...skipped 37 targets...
...updated 4 targets...
--------------------------

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support



_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to