[SRILM User List] How to compile srilm-1.5.11 under Ubuntu 10.04?
Andreas Stolcke
stolcke at speech.sri.com
Sat Jul 17 19:09:01 PDT 2010
I think someone had this problem recently.
Make sure you have csh/tcsh installed. The machine-type script uses it.
to check run $SRILM/sbin/machine-type and make sure it outputs something
sensible.
--Andreas
In message <AANLkTimk5nrXqqtHE4dF64UgnzJcxCbHX7PBEXH9dseD at mail.gmail.com>you wrote:
>
> Hi, all:
>
> I'm trying to install srilm-1.5.11 on my laptop.
> My environments:
> Ubuntu 10.04
> gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
> srilm-1.5.11
>
> Followed the description in file "INSTALL",
> I just "make" srilm from its top-level folder,
> but obtained the following error messages.
>
>
> jiapei at jiapei-laptop:~/Tools/speechrecog/srilm-1.5.11$ make
> make: /sbin/machine-type: Command not found
> mkdir include lib bin
> mkdir: cannot create directory `lib': File exists
> make: [dirs] Error 1 (ignored)
> make init
> make[1]: /sbin/machine-type: Command not found
> make[1]: Entering directory `/home/jiapei/Tools/speechrecog/srilm-1.5.11'
> 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
> `/home/jiapei/Tools/speechrecog/srilm-1.5.11/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
> `/home/jiapei/Tools/speechrecog/srilm-1.5.11/misc/src'
> make[1]: *** [init] Error 1
> make[1]: Leaving directory `/home/jiapei/Tools/speechrecog/srilm-1.5.11'
> make: *** [World] Error 2
>
>
> Why are there so many error messages, and
> is there a standard way to
> "configure
> make
> install"
> this package?
>
>
> Best Regards
> JIA
>
>
> --
> Welcome to Vision Open
> http://www.visionopen.com
>
> --e0cb4e88781196b423048b9f37d7
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable
>
> <div><br></div><div>Hi, all:</div><div><br></div><div>I'm trying to ins=
> tall srilm-1.5.11 on my laptop.</div><div>My environments:</div><div>Ubuntu=
> 10.04</div><div>gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3</div><div>srilm-1.5.11</=
> div>
> <div><br></div><div>Followed the description in file "INSTALL",=
> =A0</div><div>I just "make" srilm from its top-level folder,</div=
> ><div>but obtained the following error messages.</div><div><br></div><br cl=
> ear=3D"all">
> <div>jiapei at jiapei-laptop:~/Tools/speechrecog/srilm-1.5.11$ make</div><div>=
> make: /sbin/machine-type: Command not found</div><div>mkdir include lib bin=
> </div><div>mkdir: cannot create directory `lib': File exists</div><div>
> make: [dirs] Error 1 (ignored)</div><div>make init</div><div>make[1]: /sbin=
> /machine-type: Command not found</div><div>make[1]: Entering directory `/ho=
> me/jiapei/Tools/speechrecog/srilm-1.5.11'</div><div>for subdir in misc =
> dstruct lm flm lattice utils; do \</div>
> <div>=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(cd $subdir/src; make SRILM=3D MACHI=
> NE_TYPE=3D OPTION=3D MAKE_PIC=3D init) || exit 1; \</div><div>=A0=A0 =A0 =
> =A0 =A0done</div><div>make[2]: Entering directory `/home/jiapei/Tools/speec=
> hrecog/srilm-1.5.11/misc/src'</div>
> <div>Makefile:24: /common/Makefile.common.variables: No such file or direct=
> ory</div><div>Makefile:139: /common/Makefile.common.targets: No such file o=
> r directory</div><div>make[2]: *** No rule to make target `/common/Makefile=
> .common.targets'. =A0Stop.</div>
> <div>make[2]: Leaving directory `/home/jiapei/Tools/speechrecog/srilm-1.5.1=
> 1/misc/src'</div><div>make[1]: *** [init] Error 1</div><div>make[1]: Le=
> aving directory `/home/jiapei/Tools/speechrecog/srilm-1.5.11'</div>
> <div>make: *** [World] Error 2</div><div><br></div><div><br></div><div>Why =
> are there so many error messages, and=A0</div><div>is there a standard way =
> to</div><div>"configure</div><div>make</div><div>install"</div>
> <div>this package?</div><div><br></div><div><br></div><div>Best Regards</di=
> v><div>JIA</div><div><br></div><div><br></div>-- <br>Welcome to Vision Open=
> <br><a href=3D"http://www.visionopen.com">http://www.visionopen.com</a><br>
>
>
> --e0cb4e88781196b423048b9f37d7--
>
> --===============0077075051==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> _______________________________________________
> SRILM-User site list
> SRILM-User at speech.sri.com
> http://www.speech.sri.com/mailman/listinfo/srilm-user
> --===============0077075051==--
More information about the SRILM-User
mailing list