Search SRILM-USER Archives

Match: Format: Sort by:
Search:

Re: compilation problems

From: "marco turchi" <marco.turchi at ADDRESS HIDDEN>
Date: Sun, 7 Jan 2007 14:06:22 +0000

------=_Part_43268_20760011.1168178782482
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Dear Sanyaade,
I'm working under Linux.
I move srilm in my home directory, but I obtain the same errors. :-(

Thanks
Marco

On 1/7/07, sanyaade <sanyaade at ADDRESS HIDDEN> wrote:
>
>  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 <marco.turchi at ADDRESS HIDDEN>
> *To:* srilm-user at ADDRESS HIDDEN
> *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
>
>

------=_Part_43268_20760011.1168178782482
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div>Dear Sanyaade,</div>
<div>I'm working under Linux.</div>
<div>I move srilm in my home directory, but I obtain the same errors. :-(</div>
<div> </div>
<div>Thanks </div>
<div>Marco<br><br> </div>
<div><span class="gmail_quote">On 1/7/07, <b class="gmail_sendername">sanyaade</b> <<a href="mailto:sanyaade at ADDRESS HIDDEN">sanyaade at ADDRESS HIDDEN</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">What platform are you on  -> Windows, Linux, Unix, etc..</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">If you are on windows then its got to be in your root directory -> c:\srilm (Cygwin installed)</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">On linux put it in your home /home/srilm or on root -> /srilm</font></div>
<div><font face="Arial" size="2">then do: set <font face="Courier New">1.) srlim home variable inside the Makefile and 2.) make world</font></font></div>
<div><font face="Courier New" size="2"></font> </div>
<div><font face="Courier New" size="2">Hope this help!</font></div>
<div><font face="Courier New" size="2"></font> </div>
<div><font face="Courier New" size="2">God blesses!!!</font></div>
<div><font face="Courier New" size="2"></font> </div>
<div><font face="Courier New" size="2">Best regards,</font></div><span class="sg">
<div><font face="Courier New" size="2">Sanyaade</font></div></span>
<div><span class="e" id="q_10ffa7ce95c0df82_2">
<div> </div>
<div><font face="Courier New" size="2"></font> </div>
<blockquote dir="ltr" style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<div style="FONT: 10pt arial">----- Original Message ----- </div>
<div style="BACKGROUND: #e4e4e4; FONT: 10pt arial"><b>From:</b> <a title="marco.turchi at ADDRESS HIDDEN" onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:marco.turchi at ADDRESS HIDDEN" target="_blank">marco turchi</a>
</div>
<div style="FONT: 10pt arial"><b>To:</b> <a title="srilm-user at ADDRESS HIDDEN" onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:srilm-user at ADDRESS HIDDEN" target="_blank">srilm-user at ADDRESS HIDDEN</a> </div>

<div style="FONT: 10pt arial"><b>Sent:</b> Saturday, January 06, 2007 8:24 PM</div>
<div style="FONT: 10pt arial"><b>Subject:</b> compilation problems</div>
<div><br> </div>
<p style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB"><font face="Courier New" size="2">Dear all, <br>I'm a new user, and I'm trying to compile and install it, but I have some problems. <br>I set the srlim home variable inside the Makefile, and I run make World, but I obtain this set of errors:
<br><br>/enm/local/bin/gcc -mtune=i686 -Wreturn-type -Wimplicit -D_FILE_OFFSET_BITS=64<span>    </span>-I. -I/usr/local/Moses/srilm//include<span>   </span>-c -g -O3 -o ../obj/i686/option.o option.c<br>cc1: invalid option `tune=i686'
<br>make[2]: *** [../obj/i686/option.o] Error 1<br>I have the same error for other files: qsort.c matherr.c FDiscount.cc Lattice.cc ngram.cc fngram-count.cc lattice-tool.cc<br><br>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
<br><br><br>/enm/local/bin/g++ -Wreturn-type -Wimplicit -DINSTANTIATE_TEMPLATES -D_FILE_OFFSET_BITS=64<span>    </span>-I. -I/usr/local/Moses/srilm//include<span>   </span>-c -g -O3 -o ../obj/i686/DFNgram.o DFNgram.cc<br>
Trellis.h:203: sorry, not implemented: use of `enumeral_type' in template type<br><span>   </span>unification<br><br>make[2]: *** [../obj/i686/DFNgram.o] Error 1 <br>make[2]: Leaving directory `/usr/local/Moses/srilm/lm/src'
<br>make[2]: Entering directory `/usr/local/Moses/srilm/flm/src'<br><br>make[2]: *** No rule to make target `/usr/local/Moses/srilm//lib/i686/liboolm.a', needed by `../bin/i686/lattice-tool'. <span>  </span>Stop.
<br><br>can you help me??<br>Please, can you tell me where I can find all the other messages of the mailing list?<br>Thanks a lot<br>Marco Turchi</font><br></span></p></blockquote></span></div></div></blockquote></div><br>

------=_Part_43268_20760011.1168178782482--

Click here to go to the SRILM home page.