Hi Stefan

These errors:

/usr/bin/ld: cannot find -loolm
/usr/bin/ld: cannot find -ldstruct
/usr/bin/ld: cannot find -lmisc
/usr/bin/ld: cannot find -lflm

indicate that the moses build cannot find srilm. Is srilm built, and are the 
libraries in /usr/local/trans/tools/srilm/lib/i686 ?

cheers - Barry

On Tuesday 10 January 2012 11:07:01 Stefan Dumitrescu wrote:
> Hello all,
> 
> I have a problem building Moses with bjam.
> I am working on a clean ubuntu 11.10 64bit server machine on which i
> have root access. I installed srilm and mgiza.
> I downloaded Moses from Git and tried to build with:
> 
> bjam link=shared --with-srilm=/usr/local/trans/tools/srilm
> --with-giza=/usr/local/trans/tools/mgiza/bin -j16 -a
> 
> The first thing i had to do was to create a symlink to the mgiza exec,
> linking the non-existent GIZA++ file to the mgiza file in mgiza/bin, the
> same for snt2cooc.out -> snt2cooc  . (this is because i do not want to
> install giza, and mgiza has a different executable name - hope it will
> work with moses this way).
> 
> Then i had errors like:
> ...failed updating 12 targets...
> ...skipped 27 targets...
> ...updated 354 targets...
> 
> I searched the net and found out thread
> http://article.gmane.org/gmane.comp.nlp.moses.user/5714 which says to
> use link=shared to build. I tried that (as can be seen in the command)
> but still errors appear.
> 
> Apparently Ubuntu has the latest version of libboost installed.
> 
> sudo apt-get install libboost-dev
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> libboost-dev is already the newest version.
> libboost-dev set to manually installed.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> 
> 
> I am attaching the output file (from which i removed quite a lot of
> similar messages because the file was too long)
> 
> Could you please help me in solving this problem?
> 
> Thank you,
> Stefan
> 
 
--
Barry Haddow
University of Edinburgh
+44 (0) 131 651 3173

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

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

Reply via email to