One more suggestion. You should only install all RandLM dependencies
from the Ubuntu repositories (unless you have a strong reason and
experience to do otherwise). Here's the Debian command to install them
from Ubuntu repositories on a clean host: 

~$ sudo apt-get install
build-essential libtool automake autoconf libboost-all-dev sparsehash


On Mon, 23 Jul 2012 14:39:46 +0700, Hoai-Thu Vuong  wrote:  

I also
compile successful, i think you should try running autogen.sh firstly. I
use Ubuntu 12.04 64bit, g++ version 4.63, libtool version 2.4.2, i test
with svn version 41 of randlm 
On Mon, Jul 23, 2012 at 1:17 PM, Tom Hoar
wrote:

I just tested SVN revision 41 on Ubuntu 10.04. It compiled
without error using the following commands: 

./autogen.sh
./configure"
--prefix=$prefix
./make
./make install 

I also re-build moses decoder
bjam --with-randlm=$prefix without errors.  

Tom  

On Mon, 23 Jul 2012
12:55:02 +0700, Tom Hoar  wrote:   

What version of RandLM are you
working with? There was a confirmed incompatibility of SVN revision 20
with Ubuntu 11.11. If you're installing from the tarball, I suggest you
switch to the svn revision with this command: 

~$ svn co -r 40
https://randlm.svn.sourceforge.net/svnroot/randlm/trunk [3] randlm


This forces the SVN to revision 40, which we have tested and confirmed
compatibility on Ubuntu 10.04, 11.04, 11.11 and 12.04. We have not yet
tested the latest SVN revision 41 on any system. 

You might also have
to run the autogen.sh script in the randlm folder to update RandLM to
use your libtools version. 

Tom 

On Mon, 23 Jul 2012 13:17:00 +0800,
kehai chen wrote:  

Hi, 
I install RandLM on the Ubuntu11.04, and I
have install libtool. But the problem still exists.

kehai

2012/7/23
Hoai-Thu Vuong 
 I think the problem come from your version of libtool,
you can see the line, which is highlighted below. 

On Fri, Jul 20, 2012
at 11:17 PM,  wrote:

 today,I want to install RandLM Toolkit in order
to test it on the Moses,
 but the following errors:


administrator@ubuntu:~/tools/randlm$ make
 make all-recursive
 make[1]:
???????????? `/home/administrator/tools/randlm'
 Making all in src

make[2]: ???????????? `/home/administrator/tools/randlm/src'
 Making all
in RandLM
 make[3]: ????????????
`/home/administrator/tools/randlm/src/RandLM'
 /bin/bash ../../libtool
--tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
 -I../.. -I./
-DMULTITHREADED -g -O2 -MT libRandLM_la-BloomMap.lo -MD -MP
 -MF
.deps/libRandLM_la-BloomMap.Tpo -c -o libRandLM_la-BloomMap.lo `test -f

'BloomMap.cpp' || echo './'`BloomMap.cpp
 libtool: Version mismatch
error. This is libtool 2.4 Debian-2.4-2ubuntu1,
 but the
 libtool:
definition of this LT_INIT comes from libtool 2.2.6b.
 libtool: You
should recreate aclocal.m4 with macros from libtool 2.4

Debian-2.4-2ubuntu1
 libtool: and run autoconf again.
 make[3]: ***
[libRandLM_la-BloomMap.lo] ???? 63
 make[3]:????????????
`/home/administrator/tools/randlm/src/RandLM'
 make[2]: ***
[all-recursive] ???? 1
 make[2]:????????????
`/home/administrator/tools/randlm/src'
 make[1]: *** [all-recursive]
???? 1
 make[1]:???????????? `/home/administrator/tools/randlm'
 make:
*** [all] ???? 2

 according to file INSTALL ,I installed Boost and
Google Sparse-hash. But
 the erros still exist. I look forward to your
replying.

 -- 
Thu.

 -- 
Thu.


Links:
------
[1]
mailto:[email protected]
[2]
mailto:[email protected]
[3]
https://randlm.svn.sourceforge.net/svnroot/randlm/trunk
[4]
mailto:[email protected]
[5] mailto:[email protected]
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to