Moses Support Digest:SRILM installation problem

[Moses-support] SRILM installation problem

Hi All,

I had a problem to install Moses and posted it here but no response is coming out yet. Can any one help me where to post this. I appreciate you guys for any help.

Mulu G.

Hi All,

I was trying to install srilm on Debian linux 5 lenny, MACHINE_TYPE= i686, with gcc version v 4.3.2. I have changed the Makefile according the manuals and without success. So when I try to enter #make World, it produces the following message

/bin/sh: /root/srilm: is a directory
mkdir include lib bin
mkdir: cannot create directory `include’: File exists
mkdir: cannot create directory `lib’: File exists
mkdir: cannot create directory `bin’: File exists
make: [dirs] Error 1 (ignored)
make init
/bin/sh: /root/srilm: is a directory
make[1]: Entering directory `/root/srilm’
for subdir in misc dstruct lm flm lattice utils; do
(cd $subdir/src; make SRILM=/root/srilm [SRILM] MACHINE_TYPE=
OPTION= MAKE_PIC= init) || exit 1;
done
make[2]: Entering directory `/root/srilm/misc/src’
/root/srilm/common/Makefile.common.variables:96:
/root/srilm/common/Makefile.machine.: No such file or directory
make[2]: *** No rule to make target `/root/srilm/common/Makefile.machine.’.
Stop.
make[2]: Leaving directory `/root/srilm/misc/src’
make[1]: *** [init] Error 1
make[1]: Leaving directory `/root/srilm’
make: *** [World] Error 2

Could you please help me in sorting out the problem and how to fix it.

Thank you all,

Mulu G.

Re:[Moses-support] SRILM installation problem

hi mulu

it seems you have an srilm compilation problem rather than a moses problem. from my experience, srilm is easy to compile but you have to read & follow the instruction very carefully. If you dont succeed, I suggest you download SRILM and start again.

you will know when it succeeds when you have these files are created:
liboolm.a
libdstruct.a
libflm.a
liblattice.a
libmisc.a

NOTICE:This is digested from the Moses-support mailing list, which supports for the moses SMT decoder.

Related posts:

  1. Moses Support Digest: moses installation
  2. Moses Support Digest: moses install on 64-bit
  3. Moses Support Digest:Binarized SRILM
  4. Moses Support Digest:Building POS language model with SRILM
  5. Moses Support Digest:Moses compilation problem on fedora 11
  6. Moses Support Digest: cannot find -loolm
  7. Moses Support Digest:Moses Error in training phrase
  8. Moses Support Digest: moses-chart error while compiling training scripts
  9. Moses Support Digest:Error compiling on Linux
  10. Moses Support Digest:CreateBerkeleyPt and On-Disk Rule Table
This entry was posted in Moses, SMT and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>