compilation problems

marco turchi marco.turchi at gmail.com
Wed Feb 7 04:21:56 PST 2007


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 speech.sri.com> wrote:
> John Fry wrote:
> > Andreas Stolcke <stolcke at speech.sri.com> writes:
> >
> >
> >> Send a message with the body
> >>
> >>      help
> >>
> >> to majordomo at speech.sri.com 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
>
>
>
>



More information about the SRILM-User mailing list