[SRILM User List] problem installing ubuntu 11.10

Andreas Stolcke stolcke at icsi.berkeley.edu
Sat Nov 19 14:39:35 PST 2011


Simon h s wrote:
> Dear all, 
>
> I have a problem when compiling SRILM in Ubuntu 11.10
>
> after installing all required package mentioned in INSTALL, I have the 
> following error when running make World:
>
> make[2]: Entering directory 
> `/home/ndriks/Thesis/tools/atools/srilm/misc/src'
> /usr/bin/gcc -march=athlon64 -m64 -Wall -Wno-unused-variable 
> -Wno-uninitialized -D_FILE_OFFSET_BITS=64   /usr/include/tcl8.5/tcl.h 
> -I. -I../../include   -c -g -O3 -o ../obj/i686/option.o option.c
> gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
> compilation terminated.
> make[2]: *** [../obj/i686/option.o] Error 4
> make[2]: Leaving directory 
> `/home/ndriks/Thesis/tools/atools/srilm/misc/src'
> make[1]: *** [release-libraries] Error 1
> make[1]: Leaving directory `/home/ndriks/Thesis/tools/atools/srilm'
> make: *** [World] Error 2
I believe the problem is caused by having

          TCL_INCLUDE = /usr/include/tcl8.5/tcl.h

You should use

          TCL_INCLUDE = -I/usr/include/tcl8.5

instead in Makefile.machine.i686 (or Makefile.machine.i686-m64).

Andreas




More information about the SRILM-User mailing list