Problem installing SRILM

Andreas Stolcke stolcke at speech.sri.com
Fri Aug 24 11:10:01 PDT 2007


Christine de Bond wrote:
> Hello,
>
> I am trying to install SRILM on a Suse Linux 10.1 system.
> Whenever I type "make World" I get error prompts. (see below)
> It seems the libmisc.a is not created, and therefore
> ngram, ngram-count, disambig, fngram-count, fngram, hidden-ngram,
> mulit-ngram, nbest-lattice, nbest-optimize, ngram-class, anti-ngram,
> nbest-mix, nbest-pron-score, ngram-merge, segment, segment-nbest
> are not being installed.
>
> I am new to Linux, and new to MT. I tried installing SRILM for weeks,
> and I don't know what goes wrong.
> (I did change the environment variables and adjusted the gcc, g++, perl,
> tcl paths, and I followed the install instructions.)
> Does anyone have a clue and can give me a hint? Does someone know where
> the libmisc.a file should come from?
>
> With kind regards,
> Christine de Bond
>   

My guess is you are having trouble with the Tcl library.  Please rebuild 
everything after editing the common/Makefile.machine.i686 file to contain:
   NO_TCL = X
   TCL_INCLUDE =
   TCL_LIBRARY =

Andreas


> ----------------------------------------------------------------------------------------
> ...
> make[2]: Entering directory `/home/bond/SMTSystem/srilm/lm/src'
> /usr/bin/g++ -mtune=pentium3 -Wreturn-type -Wimplicit
> -DINSTANTIATE_TEMPLATES -D_FILE_OFFSET_BITS=64  
> -I/home/bond/ActiveTcl8.4.15.0. -I. -I../../include   -u matherr
> -L../../lib/i686  -g -O3 -o ../bin/i686/ngram ../obj/i686/ngram.o
> ../obj/i686/liboolm.a -lm -ldl ../../lib/i686/libflm.a
> ../../lib/i686/libdstruct.a ../../lib/i686/libmisc.a
> /home/bond/ActiveTcl8.4.15.0./lib/libtcl8.4.so -lm 2>&1 | c++filt
>
> g++: ../../lib/i686/libmisc.a: No such file or directory
>
> /home/bond/SMTSystem/srilm/sbin/decipher-install 0555 ../bin/i686/ngram
> ../../bin/i686
> ERROR:  File to be installed (../bin/i686/ngram) does not exist.
> ERROR:  File to be installed (../bin/i686/ngram) is not a plain file.
> Usage:  decipher-install <mode> <file1> ... <fileN> <directory>
>         mode:                 file permission mode, in octal
>         file1 ... fileN:      files to be installed
>         directory:            where the files should be installed
>
> files =  ../bin/i686/ngram
> directory =  ../../bin/i686
> mode =  0555
>
> make[2]: [../../bin/i686/ngram] Error 1 (ignored)
> touch ../../bin/i686/ngram
> ...
> ----------------------------------------------------------------------------------------
>
>   





More information about the SRILM-User mailing list