This is a multi-part message in MIME format.
------=_NextPart_000_0026_01C7320F.9D3960F0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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 -----=20
From: marco turchi=20
To: srilm-user at ADDRESS HIDDEN=20
Sent: Saturday, January 06, 2007 8:24 PM
Subject: compilation problems
Dear all,=20
I'm a new user, and I'm trying to compile and install it, but I have =
some problems.=20
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=3Di686 -Wreturn-type -Wimplicit =
-D_FILE_OFFSET_BITS=3D64 -I. -I/usr/local/Moses/srilm//include -c =
-g -O3 -o ../obj/i686/option.o option.c
cc1: invalid option `tune=3Di686'
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=20
/enm/local/bin/g++ -Wreturn-type -Wimplicit -DINSTANTIATE_TEMPLATES =
-D_FILE_OFFSET_BITS=3D64 -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=20
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
------=_NextPart_000_0026_01C7320F.9D3960F0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1561" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>What platform are you on -> =
Windows,=20
Linux, Unix, etc..</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>If you are on windows then its got to =
be in your=20
root directory -> c:\srilm (Cygwin installed)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>On linux put it in your home =
/home/srilm or on root=20
-> /srilm</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>then do: set <FONT face=3D"Courier =
New">1.) srlim=20
home variable inside the Makefile and 2.) make world</FONT></FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Hope this help!</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Courier New" size=3D2>God blesses!!!</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Best regards,</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Sanyaade</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT> </DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A title=3Dmarco.turchi at ADDRESS HIDDEN =
href=3D"mailto:marco.turchi at ADDRESS HIDDEN">marco=20
turchi</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dsrilm-user at ADDRESS HIDDEN=20
=
href=3D"mailto:srilm-user at ADDRESS HIDDEN">srilm-user at ADDRESS HIDDEN</A> =
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Saturday, January 06, =
2007 8:24=20
PM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> compilation =
problems</DIV>
<DIV><BR></DIV>
<P class=3DMsoPlainText style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-GB=20
style=3D"mso-ansi-language: EN-GB"><FONT face=3D"Courier New" =
size=3D2>Dear all,=20
<BR>I'm a new user, and I'm trying to compile and install it, but I =
have some=20
problems. <BR>I set the srlim home variable inside the Makefile, and I =
run=20
make World, but I obtain this set of errors:<BR><BR>/enm/local/bin/gcc =
-mtune=3Di686 -Wreturn-type -Wimplicit -D_FILE_OFFSET_BITS=3D64<SPAN=20
style=3D"mso-spacerun: yes"> </SPAN>-I.=20
-I/usr/local/Moses/srilm//include<SPAN style=3D"mso-spacerun: =
yes"> =20
</SPAN>-c -g -O3 -o ../obj/i686/option.o option.c<BR>cc1: invalid =
option=20
`tune=3Di686'<BR>make[2]: *** [../obj/i686/option.o] Error 1<BR>I have =
the same=20
error for other files: qsort.c matherr.c FDiscount.cc Lattice.cc =
ngram.cc=20
fngram-count.cc lattice-tool.cc<BR><BR>I try to change the mtune =
variable=20
without good result, so I remove this flag. Using this brute solution, =
I'm=20
able to compile quite all the files, but I have other errors=20
<BR><BR><BR>/enm/local/bin/g++ -Wreturn-type -Wimplicit=20
-DINSTANTIATE_TEMPLATES -D_FILE_OFFSET_BITS=3D64<SPAN=20
style=3D"mso-spacerun: yes"> </SPAN>-I.=20
-I/usr/local/Moses/srilm//include<SPAN style=3D"mso-spacerun: =
yes"> =20
</SPAN>-c -g -O3 -o ../obj/i686/DFNgram.o DFNgram.cc<BR>Trellis.h:203: =
sorry,=20
not implemented: use of `enumeral_type' in template type<BR><SPAN=20
style=3D"mso-spacerun: yes"> =
</SPAN>unification<BR><BR>make[2]: ***=20
[../obj/i686/DFNgram.o] Error 1 <BR>make[2]: Leaving directory=20
`/usr/local/Moses/srilm/lm/src'<BR>make[2]: Entering directory=20
`/usr/local/Moses/srilm/flm/src'<BR><BR>make[2]: *** No rule to make =
target=20
`/usr/local/Moses/srilm//lib/i686/liboolm.a', needed by=20
`../bin/i686/lattice-tool'. <SPAN style=3D"mso-spacerun: yes"> =20
</SPAN>Stop.<BR><BR>can you help me??<BR>Please, can you tell me where =
I can=20
find all the other messages of the mailing list?<BR>Thanks a =
lot<BR>Marco=20
Turchi</FONT><BR></SPAN></P></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0026_01C7320F.9D3960F0--
Click here to go to the SRILM home page.