Has anyone been able to SRILM with newer versions of g++? Even after
setting/selecting MACHINE_TYPE correctly, version 1.5.10 will not compile
on the new Ubuntu 10.04 LTS version with the default g++-4.4. I have had to
fall back to g++-4.1. 

If anyone found a trick to compile with g++-4.4, can you share it? 

Thanks.
Tom


On Wed, 26 May 2010 17:29:24 +0200, "Korzec, Sanne" <[email protected]>
wrote:
> Hi All,
> 
> Just wanted to let you know, I fixed the problem.
> 
> Apparently the standard machine-type script from srilm sets i686-m64
> machines to i686. I don't know why this is default, but after altering
the
> machine-type script (setting it to i686-m64) it solved the issue I was
> having.
> 
> Sanne
>  
> 
> -----Original Message-----
> From: Raphael Payen [mailto:[email protected]] 
> Sent: woensdag 26 mei 2010 14:39
> To: Korzec, Sanne
> Subject: Re: [Moses-support] error compiling wmt10
> 
> Try to remove the check : open configure.in and remove the line 146:
> AC_CHECK_LIB([oolm], [trigram_init], [], [AC_MSG_ERROR([Cannot find
> SRILM!])]) Then use regenerate-makefiles.sh and restart the configure
and
> make.
> If this works, I'll just need to remove the check from the svn. But
> probably there should be an error during compile. Maybe the error
message
> will then be more explicit.
> 
> 
> 
> 2010/5/26 Korzec, Sanne <[email protected]>:
>> No luck...
>> I get the same error after this new compilation... I am running a 
>> regular i686 machine type
>>
>>
>>
>> -----Original Message-----
>> From: Raphael Payen [mailto:[email protected]]
>> Sent: dinsdag 25 mei 2010 17:27
>> To: Korzec, Sanne
>> Cc: [email protected]
>> Subject: Re: [Moses-support] error compiling wmt10
>>
>> I added the trigram_init check in configure.in some time ago, to give
an
>> error during configure instead of during compile. Apparently your moses
>> doesn't manage to link with srilm. It can be caused by an incorrect
>> machine-type in srilm/sbin directory.
>>
>>
>> 2010/5/25 Korzec, Sanne <[email protected]>:
>>> I have an error compiling wmt10:
>>>
>>> after the command.
>>>
>>> ./configure --with-srilm=/home/skorzec/srilm
>>>
>>> checking for trigram_init in -loolm... no
>>> configure: error: Cannot find SRILM!
>>>
>>> SRILM had compiled fine and the files are in place.
>>>
>>> I am aware of the new EMS, but since I work on a command line only
>>> environment, I prefer to compile like this.
>>>
>>> Is this not possible anymore?
>>>
>>> Sanne
>>>
>>>
>>> _______________________________________________
>>> Moses-support mailing list
>>> [email protected]
>>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>>
>>
>>
>>
> 
> 
> 
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to