Dear Hieu
The only trouble I had compiling on a Mac was I needed to install a
recent version of automake. I note the doc [1] says
For OS X versions 10.4 and lower, you need to upgrade aclocal and
automake to at least version 1.9 (1.6 is the default in 10.4) and
set the variables ACLOCAL and AUTOMAKE in ./regenerate-makefiles.sh.
I was running 10.5 or 6 and I had to upgrade [2].
Best wishes
Ivan
[1] Moses Installation and Training Run-Through
http://www.statmt.org/moses_steps.html
[2] Installing Moses and irstlm on Mac OS X and Cygwin
https://www.bangor.ac.uk/~cbs007/mt/getting_started.html
Hieu Hoang wrote:
> I have a doubt about moses.
>
> when I try to compile with make on Mac (Snow Leopard or Leopard), it
> gives me strange libtool errors (see below). It's only recently been
> doing this so might be caused by software update. Its a clean install of
> OSX so there shouldn't be resource problems. And it compile fine with xcode.
>
> error:
> ----------------------------------
> make
> make all-recursive
> Making all in moses/src
> make all-am
> /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
> -I../.. -W -Wall -ffor-scope -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
> -DTRACE_ENABLE=1 -g -O2 -MT AlignmentInfo.lo -MD -MP -MF
> .deps/AlignmentInfo.Tpo -c -o AlignmentInfo.lo AlignmentInfo.cpp
> ../../libtool: fork: Resource temporarily unavailable
> ../../libtool: fork: Resource temporarily unavailable
> ../../libtool: fork: Resource temporarily unavailable
> ../../libtool: fork: Resource temporarily unavailable
> ../../libtool: fork: Resource temporarily unavailable
> ../../libtool: line 712: *** Warning: inferring the mode of operation is
> deprecated.: command not found
> ../../libtool: line 713: *** Future versions of Libtool will require
> -mode=MODE be specified.: command not found
> ../../libtool: line 745: : warning: cannot infer operation mode without
> MODE-ARGS: command not found
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
--
********************************
Ivan Uemlianin
Canolfan Bedwyr
Safle'r Normal Site
Prifysgol Bangor University
BANGOR
Gwynedd
LL57 2PZ
[email protected]
http://www.bangor.ac.uk/~cbs007/
********************************
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support