compilation problems
sanyaade
sanyaade at hotmail.com
Sat Jan 6 19:55:04 PST 2007
What platform are you on -> Windows, Linux, Unix, etc..
If you are on windows then its got to be in your root directory -> c:\srilm (Cygwin installed)
On linux put it in your home /home/srilm or on root -> /srilm
then do: set 1.) srlim home variable inside the Makefile and 2.) make world
Hope this help!
God blesses!!!
Best regards,
Sanyaade
----- Original Message -----
From: marco turchi
To: srilm-user at speech.sri.com
Sent: Saturday, January 06, 2007 8:24 PM
Subject: compilation problems
Dear all,
I'm a new user, and I'm trying to compile and install it, but I have some problems.
I set the srlim home variable inside the Makefile, and I run make World, but I obtain this set of errors:
/enm/local/bin/gcc -mtune=i686 -Wreturn-type -Wimplicit -D_FILE_OFFSET_BITS=64 -I. -I/usr/local/Moses/srilm//include -c -g -O3 -o ../obj/i686/option.o option.c
cc1: invalid option `tune=i686'
make[2]: *** [../obj/i686/option.o] Error 1
I have the same error for other files: qsort.c matherr.c FDiscount.cc Lattice.cc ngram.cc fngram-count.cc lattice-tool.cc
I try to change the mtune variable without good result, so I remove this flag. Using this brute solution, I'm able to compile quite all the files, but I have other errors
/enm/local/bin/g++ -Wreturn-type -Wimplicit -DINSTANTIATE_TEMPLATES -D_FILE_OFFSET_BITS=64 -I. -I/usr/local/Moses/srilm//include -c -g -O3 -o ../obj/i686/DFNgram.o DFNgram.cc
Trellis.h:203: sorry, not implemented: use of `enumeral_type' in template type
unification
make[2]: *** [../obj/i686/DFNgram.o] Error 1
make[2]: Leaving directory `/usr/local/Moses/srilm/lm/src'
make[2]: Entering directory `/usr/local/Moses/srilm/flm/src'
make[2]: *** No rule to make target `/usr/local/Moses/srilm//lib/i686/liboolm.a', needed by `../bin/i686/lattice-tool'. Stop.
can you help me??
Please, can you tell me where I can find all the other messages of the mailing list?
Thanks a lot
Marco Turchi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20070107/b04509b9/attachment.html>
More information about the SRILM-User
mailing list