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: compilation problems

From: Alexandre Patry <patryale at ADDRESS HIDDEN>
Date: Wed, 07 Feb 2007 08:32:18 -0500

Hi,

the compiler does not seem to find a TCL header files (tclmain.cc:8:17:
error: tcl.h: No such file or directory).  

Did you set the TCL_INCLUDE and TCL_LIBRARY variables in the
common/Makefile.machine.ARCH file?

Mine look like it (in common/Makefile.machine.i686):

8<----------------------------------
# Tcl support (standard in Linux)
TCL_INCLUDE = -I/usr/include/tcl8.4
TCL_LIBRARY =  -L/usr/lib/tcl8.4 -ltcl
8<----------------------------------

Hope this help,

Alexandre

Le mercredi 07 février 2007 à 12:21 +0000, marco turchi a écrit :
> Dear Andreas,
> I wrote on this mailing list a month ago. I had some compilation
> problems. You suggested me to install a new gcc version. I did it, and
> I was able to compile srilm.
> In this day I have realized that some executable files are empty:
> ngram
> ngram-count
> ngram-merge ...
>
> I have the object file of them.
>
> I have compiled srilm again and I have found these errors:
>
> /usr/bin/g++4 -mtune=pentium3 -Wreturn-type -Wimplicit
> -DINSTANTIATE_TEMPLATES -D_FILE_OFFSET_BITS=64    -I. -I../../include
>  -c -g -O3 -o ../obj/i686/tclmain.o tclmain.cc
> tclmain.cc:8:17: error: tcl.h: No such file or directory
> make[2]: *** [../obj/i686/tclmain.o] Error 1
>
>
>
> ../../lib/i686/libdstruct.a ../../lib/i686/libmisc.a -ltcl -lm 2>&1 | c++filt
> g++4: ../../lib/i686/libmisc.a: No such file or directory
> /usr/local/Moses/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
> and so on for the other files...
>
> please can you help me?
>
> thanks
> Marco
>
> On 1/8/07, Andreas Stolcke <stolcke at ADDRESS HIDDEN> wrote:
> > John Fry wrote:
> > > Andreas Stolcke <stolcke at ADDRESS HIDDEN> writes:
> > >
> > >
> > >> Send a message with the body
> > >>
> > >>      help
> > >>
> > >> to majordomo at ADDRESS HIDDEN to get instructions on how to retrieve
> > >> archives of old messages (as well as other documentation).
> > >>
> > >
> > > Hi Andreas,
> > >
> > > Before I start complaining, let me say that SRILM is a fantastic,
> > > world-class system, and we're all *extremely* grateful to you for
> > > opening it up to us and continuing to support it.
> > >
> > Thanks, that's nice to hear.
> > > That said, I must point out that using majordomo, a perl script from
> > > 1992, to retrieve old messages is completely unworkable.  If you don't
> > > believe me, try it yourself.
> > >
> > > Maybe one of these days you can persuade a summer intern to archive
> > > the srilm-user mailing list on the web, where it will be searchable?
> > >
> > Believe me, converting from majordomo to mailman has been on our to-do
> > list for a while now.
> > Any day now ...
> >
> > 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