Problem with installation of the LM toolkit
Alexandre Patry
patryale at iro.umontreal.ca
Thu Oct 6 13:38:15 PDT 2005
Hi,
from what I understand, TCL_INCLUDE and TCL_LIBRARY are flags which are
passed to the compiler. So they should have the form:
TCL_INCLUDE = -I/dir/to/tcl/headers
TCL_LIBRARY = -L/dir/to/tcl/libraries -ltcl
good luck,
Alexandre
Le jeu 06/10/2005 à 15:45, Behrang Mohit a écrit :
> Hi,
>
> I'm trying to install the toolkit on my group's linux
> server and I keep getting the following error for some
> of the major utilities of the toolkit. I'm using
> "gcc296" and tcl8.3. I did the following settings for
> the TCL paths:
>
> TCL_INCLUDE = /usr/include/itcl.h
> TCL_LIBRARY = /usr/lib/libitcl.so
>
> I have tried another instalation without the actual .h
> and .so files, but that one didn't work either. I
> should note that besides the above changes and also
> the changes in the path of gcc and g++ and the main
> directory of the package, I have not changed any of
> the original settings of the MAKE files.
>
> Here is the error that I get:
>
> gcc: compilation of header file requested
> g++: compilation of header file requested
> gcc: compilation of header file requested
> g++: compilation of header file requested
> gcc: compilation of header file requested
> g++: compilation of header file requested
> g++: compilation of header file requested
> g++: compilation of header file requested
> gcc: cannot specify -o with -c or -S and multiple
> compilations
> make[2]: *** [../obj/i686/option.o] Error 1
> gcc: cannot specify -o with -c or -S and multiple
> compilations
> make[2]: *** [../obj/i686/qsort.o] Error 1
> gcc: cannot specify -o with -c or -S and multiple
> compilations
> make[2]: *** [../obj/i686/matherr.o] Error 1
> g++: cannot specify -o with -c or -S and multiple
> compilations
> make[2]: *** [../obj/i686/FDiscount.o] Error 1
> g++: cannot specify -o with -c or -S and multiple
> compilations
> make[2]: *** [../obj/i686/Lattice.o] Error 1
> g++: cannot specify -o with -c or -S and multiple
> compilations
> make[2]: *** [../obj/i686/ngram.o] Error 1
> g++: cannot specify -o with -c or -S and multiple
> compilations
> make[2]: *** [../obj/i686/fngram-count.o] Error 1
> g++: cannot specify -o with -c or -S and multiple
> compilations
> make[2]: *** [../obj/i686/lattice-tool.o] Error 1
>
>
> I appreciate if you could give me any hint on this
> problem.
>
> Thanks
> Behrang
>
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
More information about the SRILM-User
mailing list