Dear Moses users,

I have a small bilingual corpus, i.e. some tens of thousands of pairs of
phrases, in a quite rare language combination and I would like to see if
this is enough to provide a statistically based translation that is superior
to Google's, also considering that Google appears to use English as an
intermediate language, with not-so-good- results.

So I have tried to install Moses on a local Dell computer with Linux and
bash following the instructions given here:
http://www.statmt.org/moses_steps.html

Everything goes well until I try "make World", which interrupts because
tcl.h cannot be found. Searching through old e-mail from other Moses
subscribers it appears that a trick to get around this difficulty is to
insert NO_TCL=X in Makefile.machine.i686, considering that the compiler
appears to look there. In this way I'm able to finish compiling SRILM and I
continue with make all, which terminates OK.

IRSTLM also installs just fine, but I'm in doubt as to this instruction:
ln -s i686-redhat-linux-gnu i686

On my system, installing and compiling IRSTLM has led to the creation of a
directory called i386-redhat-linux-gnu under bin/, so it appears that it's
been identified as both i686 and i386. I actually have no idea what it
really is.

So I try to write ln -s i386-redhat-linux-gnu i686 and go on to install and
compile Moses, which goes just fine for a long time until make -j 2
interrupts with these messages:

g++ -g -O2 -o query ngram_query.o
-L/home/christian/demo/tools/srilm/lib/i686
-L/home/christian/demo/tools/srilm/flm/obj/i686
-L/home/christian/demo/tools/irstlm/lib/i686
-L/home/christian/demo/tools/moses/kenlm -loolm -ldstruct -lmisc -lflm
-lirstlm -lkenlm -lz
/usr/bin/ld: cannot find -lirstlm
collect2: ld returned 1 exit status
make[2]: *** [query] Error 1
make[2]: *** Waiting for unfinished jobs....
g++ -g -O2 -o build_binary ngram_build_binary.o
-L/home/christian/demo/tools/srilm/lib/i686
-L/home/christian/demo/tools/srilm/flm/obj/i686
-L/home/christian/demo/tools/irstlm/lib/i686
-L/home/christian/demo/tools/moses/kenlm -loolm -ldstruct -lmisc -lflm
-lirstlm -lkenlm -lz
/usr/bin/ld: cannot find -lirstlm
collect2: ld returned 1 exit status
make[2]: *** [build_binary] Error 1
make[2]: Leaving directory `/home/christian/demo/tools/moses/kenlm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/christian/demo/tools/moses'
make: *** [all] Error 2

Which makes me think that I made a mistake with that ln command, but I don't
know what to try next. Or maybe there's another problem. And perhaps
by-passing that tcl.h problem would create other problems further down the
road.

If anyone has pointers to helpful information or suggestions as to how to
proceed, I'd be very grateful.

Kind regards,
Christian Skaug
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to