Your problem may solve by add this line:
m4_ifdef([AM_PROG_AR],[AM_PROG_AR])

after the AC_CONFIG_MACRO_DIR([m4])
at trunk/configure.ac

On Sat, Feb 28, 2015, 8:05 PM Hieu Hoang <[email protected]> wrote:

> I think IRSTLM is transitioning to using cmake so the automake probably
> isn't maintained anymore.
>
> Read the README file for more detail
>
> On 26/02/2015 11:45, Jon Olds wrote:
> > Hi,
> >
> > I am unable to compile the latest version of irstlm 5.80.07 using the
> > same instructions as I can for builds 5.80.03  and 5.80.06.
> >
> > ./regenerate-makefiles.sh fails with the following issues (see below)
> > and I am not then able to use the
> >
> > ./configure --prefix=$HOME/irstlm command as per the baseline system
> instructions.
> >
> > I downloaded builds 5.80.03 and 5.80.06 and they compiled successfully
> on the same system.
> >
> > I realise I can work around this in various ways, but *if* my stupidity
> is not to blame on this occasion, then it might be worth updating the
> tutorial instructions. In any case, it may be worth updating them to
> reflect the fact that the script has been moved to the /trunk directory.
> >
> > Any help would be much appreciated.
> >
> > Cheers,
> >
> > Jon
> >
> > Calling /usr/bin/autoreconf
> > automake: warnings are treated as errors
> > /usr/share/automake-1.14/am/ltlibrary.am: warning: 'libirstlm.la':
> > linking libtool libraries using a non-POSIX
> > /usr/share/automake-1.14/am/ltlibrary.am: archiver requires 'AM_PROG_AR'
> > in 'configure.ac'
> > src/Makefile.am:1:   while processing Libtool library 'libirstlm.la'
> > autoreconf: automake failed with exit status: 1
> > autoreconf FAILED
> > trying '/usr/bin/libtoolize --force; /usr/bin/automake --add-missing ;
> > /usr/bin/autoreconf'
> > libtoolize: putting auxiliary files in `.'.
> > libtoolize: linking file `./ltmain.sh'
> > libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
> > libtoolize: linking file `m4/libtool.m4'
> > libtoolize: linking file `m4/ltoptions.m4'
> > libtoolize: linking file `m4/ltsugar.m4'
> > libtoolize: linking file `m4/ltversion.m4'
> > libtoolize: linking file `m4/lt~obsolete.m4'
> > automake: warnings are treated as errors
> > /usr/share/automake-1.14/am/ltlibrary.am: warning: 'libirstlm.la':
> > linking libtool libraries using a non-POSIX
> > /usr/share/automake-1.14/am/ltlibrary.am: archiver requires 'AM_PROG_AR'
> > in 'configure.ac'
> > src/Makefile.am:1:   while processing Libtool library 'libirstlm.la'
> > automake: warnings are treated as errors
> > /usr/share/automake-1.14/am/ltlibrary.am: warning: 'libirstlm.la':
> > linking libtool libraries using a non-POSIX
> > /usr/share/automake-1.14/am/ltlibrary.am: archiver requires 'AM_PROG_AR'
> > in 'configure.ac'
> > src/Makefile.am:1:   while processing Libtool library 'libirstlm.la'
> > autoreconf: automake failed with exit status: 1
> >
> > _______________________________________________
> > 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