On 10/15/2015 11:29 AM, Alexey Pavlov wrote: > >> 15 окт. 2015 г., в 17:07, Wayne Stambaugh <[email protected]> >> написал(а): >> >> I was trying to build OpenSP for MSYS2 (using msys2_shell.bat) and ran >> into this issue: >> >> configure: error: cannot guess build type; you must specify one >> >> when configuring the build. So I assumed that it was due to an old >> build type autoconf macro file so I ran `autoreconf -ivf` to update all >> of the config scripts to the latest assuming that the this would fix the >> build type issue. No such luck as I got: >> >> autoreconf: Entering directory `.' >> autoreconf: configure.in: not using Gettext >> autoreconf: running: aclocal --output=aclocal.m4t >> aclocal: macro `_LT_COMPILER_PIC' required but not defined >> aclocal: macro `_LT_DECL_SED' required but not defined >> aclocal: macro `_LT_DECL_SED' required but not defined >> aclocal: macro `_LT_FUNC_STRIPNAME_CNF' required but not defined >> aclocal: macro `gl_ICONV_H_DEFAULTS' required but not defined >> autoreconf: aclocal failed with exit status: 1 >> >> The the missing _LT macros are a bit surprising since this these are >> libtool macros which I'm assuming are installed along with libtool >> package. The other thing I noticed is that the default version of >> automake is 1.6. > > Automake version is autodetecting during reconfigure. See your > configure.{in,ac} file for automake version requirement. > And seems libtool macroses is also very old, probably from libtool 1.2.x
I added AM_INIT_AUTOMAKE([1.15]) to configure.in but that didn't fix the problem. >> >> The questions I have are: >> >> 1) Does the latest autoconf build type macro file include msys as a >> build type or do I need to patch the config.foo files? > > Yes you need >> >> 2) Shouldn't automake default to the latest 1.15? > > You can try pass environment variable: > WANT_AUTOMAKE=latest This did resolve the issue. Thanks for the tip. It's been a long time since I've worked on an autotools project so my autotools skills are definitely rusty. > >> >> Thanks in advance for the help. >> >> Cheers, >> >> Wayne >> > > Regards, > Alexey. >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Msys2-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/msys2-users > > ------------------------------------------------------------------------------ _______________________________________________ Msys2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/msys2-users
