What distro do you use?

I got the same error before, try this, it works for me (I use Fedora12 
Constantine and gcc-4.4.2-7)
edit 3 Makefile.am located in:
moses/src
moses-cmd/src
misc

you should add "-std=c++0x" on AM_CPPFLAGS

AM_CPPFLAGS=..... -std=c++0x

Then try "make -j number" again. Hope this is work for you too


Regards,
Laurent




________________________________
From: rashlin .. <[email protected]>
To: [email protected]
Sent: Thu, January 28, 2010 10:02:48 PM
Subject: [Moses-support] moses installation

HAI friends..........

i am working in SMT.For that i tried to install MOSES.I installed GIZA++ and 
SRILM.While installing moses some error is coming....it happens at "make -j 
2"....i am copy pasting what it gives......

#######################################################################

$[r...@localhost moses]# make -j 2
make  all-recursive
make[1]: Entering directory `/root/Desktop/tools/moses'
Making all in moses/src
make[2]: Entering directory `/root/Desktop/tools/moses/moses/src'
make  all-am
make[3]: Entering directory `/root/Desktop/tools/moses/moses/src'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/Desktop/tools/moses/moses/src'
make[2]: Leaving directory `/root/Desktop/tools/moses/moses/src'
Making all in moses-cmd/src
make[2]: Entering directory `/root/Desktop/tools/moses/moses-cmd/src'
g++  -g -O2  -L/root/Desktop/tools/srilm/lib/ -o moses Main.o mbr.o IOWrapper.o 
TranslationAnalysis.o -L../../moses/src -lmoses -loolm -ldstruct -lmisc -lz
/usr/bin/ld: cannot find -loolm

collect2: ld returned 1 exit status
make[2]: *** [moses] Error 1
make[2]: Leaving directory `/root/Desktop/tools/moses/moses-cmd/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Desktop/tools/moses'
make: *** [all] Error 2
[r...@localhost moses]# 
##########################################################################

If anyone knows please reply me......Waiting for your reply.................

With regards .rashli


      
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to