| |
Search SRILM-USER Archives
How to install
From: hongfei jiang <hfei.jiang at ADDRESS HIDDEN>
Date: Fri, 16 Dec 2005 22:25:44 +0800
------=_Part_6226_30151760.1134743144817
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Dear everyone,
I have upacked the srilm toolkit in the directory
/home/Franz
Then how could I install it?
below is the Makefile in directory /home/Franz:
But i dont know how to set it.
I am newer for linux platform , could anyone tell me in detailed.
Thank you very much.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
#
# Top-level Makefile for SRILM
#
# $Header: /home/srilm/devel/RCS/Makefile,v 1.31 2005/08/21 04:54:58 stolck=
e
Exp $
#
# SRILM =3D /home/speech/stolcke/project/srilm/devel
MACHINE_TYPE :=3D $(shell $(SRILM)/sbin/machine-type)
RELEASE :=3D $(shell cat RELEASE)
MODULES =3D \
misc \
dstruct \
lm \
flm \
lattice \
utils \
htk a
EXCLUDE =3D \
me \
contrib \
lm/src/test \
flm/src/test \
lattice/src/test \
dstruct/src/test \
utils/src/fsmtest \
test/output \
EXCLUDE
MAKE_VARS =3D \
SRILM=3D$(SRILM) \
MACHINE_TYPE=3D$(MACHINE_TYPE) \
OPTION=3D$(OPTION)
World: dirs
$(MAKE) init
$(MAKE) release-headers
$(MAKE) depend
$(MAKE) release-libraries
$(MAKE) release-programs
$(MAKE) release-scripts
dirs:
-mkdir include lib bin
init depend all programs release clean cleaner cleanest sanitize desanitize
\
release-headers release-libraries release-programs release-scripts:
for subdir in $(MODULES); do \
(cd $$subdir/src; $(MAKE) $(MAKE_VARS) $@); \
done
# files needed for the web page
WWW_DOCS =3D CHANGES License INSTALL RELEASE
WWW_DIR =3D /home/spftp/www/DocumentRoot/projects/srilm
www: $(WWW_DOCS)
ginstall -m 444 $(WWW_DOCS) $(WWW_DIR)/docs
ginstall -m 444 man/html/* $(WWW_DIR)/manpages
TAR =3D /usr/local/gnu/bin/tar-1.12
package: EXCLUDE
$(TAR) cvzXf EXCLUDE ../srilm-$(RELEASE).tar.gz .
package_notest: EXCLUDE
echo test >> EXCLUDE
$(TAR) cvzXf EXCLUDE ../srilm-$(RELEASE)-notest.tar.gz .
rm EXCLUDE
package_x:
$(MAKE) $(MAKE_VARS) sanitize
$(MAKE) $(MAKE_VARS) RELEASE=3D$(RELEASE)_x package
$(MAKE) $(MAKE_VARS) desanitize
EXCLUDE: force
(find bin/* lib/* */bin/* */obj/* -type d -print -prune ; \
find $(EXCLUDE) include bin -type f -print; \
find . \( -name "*.~[0-9]*" -o -name Dependencies.\* -o -name core -o -nam=
e
\*.3rdparty -o -name out.\* \) -print; \
find . -name RCS -print) | \
sed 's,^\./,,' > $@
force:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D
------=_Part_6226_30151760.1134743144817
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
<div>Dear everyone,</div>
<div> </div>
<div> I have upacked the srilm toolkit in the =
directory</div>
<div> /home/Franz </div>
<div> Then how could I install it?</div>
<div>below is the Makefile in directory /home/Franz:</div>
<div>But i dont know how to set it. </div>
<div>I am newer for linux platform , could anyone tell me in detailed.</div=
>
<div>Thank you very much.</div>
<div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D</div>
<div>
<p>#<br># Top-level Makefile for SRILM<br>#<br># $Header: /home/srilm/devel=
/RCS/Makefile,v 1.31 2005/08/21 04:54:58 stolcke Exp $<br>#</p>
<p># SRILM =3D /home/speech/stolcke/project/srilm/devel<br>MACHINE_TYPE :=
=3D $(shell $(SRILM)/sbin/machine-type)</p>
<p>RELEASE :=3D $(shell cat RELEASE)</p>
<p>MODULES =3D \<br> misc \<br> dstruct \<br> lm \<br> =
flm \<br> lattice \<br> utils \<br> htk a</p>
<p>EXCLUDE =3D \<br> me \<br> contrib \<br> lm/src/test \<br=
> flm/src/test \<br> lattice/src/test \<br> dstruct/src/test=
\<br> utils/src/fsmtest \<br> test/output \<br> EXCLUDE</p>
<p>MAKE_VARS =3D \<br> SRILM=3D$(SRILM) \<br> MACHINE_TYPE=3D$(MA=
CHINE_TYPE) \<br> OPTION=3D$(OPTION)</p>
<p>World: dirs<br> $(MAKE) init<br> $(MAKE) release-headers<=
br> $(MAKE) depend<br> $(MAKE) release-libraries<br> $(MAKE)=
release-programs<br> $(MAKE) release-scripts<br>dirs:<br> -mkdir=
include lib bin</p>
<p>init depend all programs release clean cleaner cleanest sanitize desanit=
ize \<br>release-headers release-libraries release-programs release-scripts=
:<br> for subdir in $(MODULES); do \<br> (cd $$subdir/src; =
$(MAKE) $(MAKE_VARS) $@); \
<br> done</p>
<p># files needed for the web page<br>WWW_DOCS =3D CHANGES License INSTALL =
RELEASE<br>WWW_DIR =3D /home/spftp/www/DocumentRoot/projects/srilm</p>
<p>www: $(WWW_DOCS)<br> ginstall -m 444 $(WWW_DOCS) $(WWW_DIR)/do=
cs<br> ginstall -m 444 man/html/* $(WWW_DIR)/manpages</p>
<p>TAR =3D /usr/local/gnu/bin/tar-1.12</p>
<p>package: EXCLUDE<br> $(TAR) cvzXf EXCLUDE ../srilm-$(RELEASE).=
tar.gz .</p>
<p>package_notest: EXCLUDE<br> echo test >> EXCLUDE<br>&nbs=
p;$(TAR) cvzXf EXCLUDE ../srilm-$(RELEASE)-notest.tar.gz .<br> rm EXCL=
UDE</p>
<p>package_x:<br> $(MAKE) $(MAKE_VARS) sanitize<br> $(MAKE) $(MAK=
E_VARS) RELEASE=3D$(RELEASE)_x package<br> $(MAKE) $(MAKE_VARS) desani=
tize</p>
<p>EXCLUDE: force<br> (find bin/* lib/* */bin/* */obj/* -type d -=
print -prune ; \<br> find $(EXCLUDE) include bin -type f -print; \<br>=
find . \( -name "*.~[0-9]*" -o -name Dependencies.\* -o -na=
me core -o -name \*.3rdparty -o -name out.\* \) -print; \
<br> find . -name RCS -print) | \<br> sed 's,^\./,,' > $@</p>
<p>force:</p>
<p> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D</p>
<p> </p></div>
<div> </div>
------=_Part_6226_30151760.1134743144817--
Click here to go to the SRILM home page.
|
|