Divider
  Speech Technology and Research Laboratory
  People
  Current Research Activities
  Past Research Activities
  Publications
  Career Opportunities
  Seminars
  Technologies for License
  In the News
  Contact Us
  STAR Search
  Information and Computing Sciences Division
SpacerAbout UsDividerR and D DivisionsDividerCareersDividerNewsroomDividerContact UsDividerSRI HomeSpacer

Spacer
         
  SRI Logo

Search SRILM-USER Archives

Match: Format: Sort by:
Search:

Re: compiling SRILM

From: Andreas Stolcke <stolcke at ADDRESS HIDDEN>
Date: Sat, 17 Sep 2005 11:16:50 PDT

In message <3b97280005091614402c704325 at ADDRESS HIDDEN>you wrote:
> I'm not sure if this email should be sent to srilm-user at ADDRESS HIDDEN
> instead, let me know if you would prefer that.
>
> I just managed to compile SRILM 1.4.5 after a day of troubleshooting.
> There are a couple of minor points that could be helpful to other
> people. I'm compiling on a pentium running Linux (Debian 1:3.3.4-12).
>
> They are all edits in common/Makefile.machine.i686. As will become
> clear, compiling C++ isn't my strong point.
>
> (1) When editing the TCL variables, I didn't initially realize I had
> to prepend -I and -L to the path  (as below).
>
>    TCL_INCLUDE = -I/usr/include/tcl8.3
>    TCL_LIBRARY = -L/usr/include/tcl8.3  
>
> If the above is actually correct (well, it compiles) then perhaps a
> note in the documentation file (INSTALL) would help.
>
> (2) Currently common/Makefile.machine.i686 has
>
>    GCC_FLAGS = -mtune=pentium3 -Wreturn-type -Wimplicit
>
>   My gcc (3.3.4) and g++ don't like the "tune" option. They prefer
> what was in the same file in SRILM 1.4.4, so that this makes
> everything compile:
>
>    GCC_FLAGS = -mcpu=pentium3 -Wreturn-type -Wimplicit
>
> ...
>
> Ok, that's it. Thanks very much for writing SRILM - I heard that
> implements Chen-Goodman-modified Kneser-Ney smoothing, which is
> exactly what I was looking for. Now to learn how to use it!
>
> Dinoj Surendran
>

Dinoj,

thanks for pointing out these issues.

All the changes you made are as expected.
You are right they could be documented better.

--Andreas

Click here to go to the SRILM home page.

 

About Us  Vertical divider  R&D Divisions  Divider  Careers  Divider  Newsroom  Divider  Contact Us
©2006 SRI International, 333 Ravenswood Avenue, Menlo Park, CA 94025-3493
SRI International is an independent, nonprofit corporation. Privacy policy

Last modified Nov 21, 2008