Thanks so much, Kenneth!
I used the command "Using make MACHINE_TYPE=i686-m64 World" to recompile
SRILM and Moses was successfully compiled.
I confirmed with the sample using phrase model.
-Philley

On Mon, Jan 23, 2012 at 6:55 AM, Kenneth Heafield <[email protected]>wrote:

> The problem is with linking against SRILM.  Looks like it found the
> headers fine.  Did you fix SRILM's build process as described in Moses's
> BUILD-INSTURCTIONS.txt
>
> On x86_64, the default machine type is broken.  Edit sbin/machine-type,
> find
> this code
>    else if (`uname -m` == x86_64) then
>        set MACHINE_TYPE = i686
> and change it to
>    else if (`uname -m` == x86_64) then
>        set MACHINE_TYPE = i686-m64
> You may have to chmod +w sbin/machine-type first.
>
> then recompile SRILM?
>
> Kenneth
>
> On 01/23/2012 04:59 AM, Feifan Liu wrote:
> > Hi All,
> > I realized that I didn't compile moses  successfully. Anyone can give
> > a step-by-step guide on setting up the boost library?
> > Currently, I am getting the following error. (linux, 64bit, gcc 4.1.2,
> > boost_1_48_0)
> >
> > 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
> > ...patience...
> > ...found 1880 targets...
> > ...updating 23 targets...
> > gcc.compile.c++
> >
> moses/src/LM/bin/gcc-4.1.2/release/debug-symbols-on/link-static/threading-multi/Factory.o
> > gcc.archive
> moses/src/LM/bin/gcc-4.1.2/release/debug-symbols-on/link-static/threading-multi/libLM.a
> > common.copy
> /data_pool/home/liuf/Work/SMS/MT/tools/mosesdecoder/dist/lib/libLM.a
> > gcc.link
> moses-chart-cmd/src/bin/gcc-4.1.2/release/debug-symbols-on/link-static/threading-multi/moses_chart
> > /usr/bin/ld: cannot find -loolm
> > collect2: ld returned 1 exit status
> >
> > Thanks a lot!
> > -Feifan
> > On Mon, Jan 23, 2012 at 2:33 AM, Feifan Liu <[email protected]>
> wrote:
> >> Dear All,
> >>
> >> I am new to Moses. I followed the step guide to install the Moses. And
> >> I didn't find any error during the installation.
> >> But after that, I noticed that the following files were generated in
> >> $HOME/moses/dist/bin
> >>
> >> build_binary  evaluator  extractor  mert  pro  query
> >>
> >> There are no moses binary files as mentioned below in the guide:
> >>
> >> dist/bin/processPhraseTable - Used to binarize phrase tables
> >> dist/bin/processLexicalTable - Used to binarize reordering tables
> >> dist/bin/moses - The actual decoder
> >>
> >> Did I install it correctly? But I can't try it because I couldn't try
> >> the sample using the command(the installation didn't generate
> >> "moses"): $HOME/moses/dist/bin/moses -f moses.ini < in > out
> >>
> >> Thanks for your help!
> >> Philley
> >
> > _______________________________________________
> > 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
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to