[SRILM User List] Problem on Installing SRILM
Xichuan Wu
wuxichuan.go at gmail.com
Tue Nov 1 10:36:39 PDT 2011
Hi All,
I have been trying to install SRILM but confronted with one problem, which
googling does not help. Some infos about the platform: Win7, 32bit, Cygwin
including '*csh*' and '*tcsh*'. I am working with *Joshua decoder*.
After downloading and unzipping *srilm.tgz*, I tried *make* command and got
the following:
make: /sbin/machine-type: Command not found
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
make[1]: /sbin/machine-type: Command not found
make[1]: Entering directory `/cygdrive/f/CL/Drei/Project/Joshua/srilm'
make[1]: Entering directory `/cygdrive/f/CL/Drei/Project/Joshua/srilm'
for subdir in misc dstruct lm flm lattice utils; do \
(cd $subdir/src; make SRILM= MACHINE_TYPE= OPTION= MAKE_PIC= init) || exit
1; \
done
make[2]: Entering directory
`/cygdrive/f/CL/Drei/Project/Joshua/srilm/misc/src'
Makefile:24: /common/Makefile.common.variables: No such file or directory
Makefile:139: /common/Makefile.common.targets: No such file or directory
make[2]: *** No rule to make target `/common/Makefile.common.targets'.
Stop.
make[2]: Leaving directory
`/cygdrive/f/CL/Drei/Project/Joshua/srilm/misc/src'
make[1]: *** [init] Error 1
make[1]: Leaving directory `/cygdrive/f/CL/Drei/Project/Joshua/srilm'
make: *** [World] Error 2
After I changed *Makefile* in the top level, specifically *PACKAGE_DIR =
F:/CL/Drei/Project/Joshua/srilm*, where the directory is the one
*srilm.tgz*unzipped into. When I try make command, what I get is the
following:
Makefile:100: *** target pattern contains no `%'. Stop.
I know there is some problem with line 100 in the *Makefile* file, which is:
package: $(PACKAGE_DIR)/EXCLUDE
$(TAR) cvzXf $(PACKAGE_DIR)/EXCLUDE $(PACKAGE_DIR)/srilm-$(RELEASE).tar.gz .
Where should I add `%'? Or there are other problem in this? Please help.
Thanks.
Xichuan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20111101/f5308803/attachment.html>
More information about the SRILM-User
mailing list