Re: pinfo build fails with undefined macro: AM_INTL_SUBDIR
Andrew Schulman via Cygwin-apps writes: > Thanks. I tried several different values of WANT_AUTOCONF and WANT_AUTOMAKE, > but > they didn't help. From what I can tell, AM_INTL_SUBDIR is just gone from > automake now. It never was there, this is a bug in gettext 0.21. > So I removed the call to AM_INTL_SUBDIR, and that build problem is fixed. > Anyway > thanks for pointing me in a direction. The correct solution seems to be to add 'external' to the arguments of AM_GNU_GETTEXT. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
Re: pinfo build fails with undefined macro: AM_INTL_SUBDIR
> On Apr 11 09:21, Andrew Schulman via Cygwin-apps wrote: > > I'm trying to rebuild pinfo 0.6.13. That's the current version in Cygwin, > > so I > > know I was able to build it successfully a couple of years ago. But now > > when I > > try, the build fails with > > > > error: possibly undefined macro: AM_INTL_SUBDIR > > Check configure.ac which version of autotools is required. There's a > good chance you need autoconf 2.69. You can probably fix that problem > in the cygport file by adding > > WANT_AUTOCONF="2.5" Thanks. I tried several different values of WANT_AUTOCONF and WANT_AUTOMAKE, but they didn't help. From what I can tell, AM_INTL_SUBDIR is just gone from automake now. So I removed the call to AM_INTL_SUBDIR, and that build problem is fixed. Anyway thanks for pointing me in a direction. Andrew
Re: pinfo build fails with undefined macro: AM_INTL_SUBDIR
On Apr 11 09:21, Andrew Schulman via Cygwin-apps wrote: > I'm trying to rebuild pinfo 0.6.13. That's the current version in Cygwin, so I > know I was able to build it successfully a couple of years ago. But now when I > try, the build fails with > > error: possibly undefined macro: AM_INTL_SUBDIR > > I'm afraid my grasp of autotools is too weak for me to know what the problem > is > here. At present I'm using the inherited src_complile() function from > autotools.cygclass. In the past I used: > > src_compile () > { > cd "$S" > gettextize -f # needed to create tools/config.rpath > cygautoreconf --install > cd "$B" > cygconf > cygmake > } > > but that doesn't fix the AM_INTL_SUBDIR problem. Check configure.ac which version of autotools is required. There's a good chance you need autoconf 2.69. You can probably fix that problem in the cygport file by adding WANT_AUTOCONF="2.5" Corinna
pinfo build fails with undefined macro: AM_INTL_SUBDIR
I'm trying to rebuild pinfo 0.6.13. That's the current version in Cygwin, so I know I was able to build it successfully a couple of years ago. But now when I try, the build fails with error: possibly undefined macro: AM_INTL_SUBDIR I'm afraid my grasp of autotools is too weak for me to know what the problem is here. At present I'm using the inherited src_complile() function from autotools.cygclass. In the past I used: src_compile () { cd "$S" gettextize -f # needed to create tools/config.rpath cygautoreconf --install cd "$B" cygconf cygmake } but that doesn't fix the AM_INTL_SUBDIR problem. The full build log is below. Could someone suggest a solution? Thanks, Andrew $ cygport pinfo.cygport make *** Warning: Building on a case-insensitive filesystem >>> Compiling pinfo-0.6.13-3.x86_64 autoreconf-2.71: export WARNINGS= autoreconf-2.71: Entering directory '.' autoreconf-2.71: running: /usr/bin/autopoint -V 0.21.1 --force autopoint: warning: Version mismatch: specified -V 0.21.1 but the package uses gettext version 0.14.4. Forcibly upgrading to 0.21.1 autoreconf-2.71: running: aclocal --force -I macros configure.ac:144: warning: macro 'AM_INTL_SUBDIR' not found in library autoreconf-2.71: configure.ac: tracing autoreconf-2.71: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'tools'. libtoolize: copying file 'tools/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'macros'. libtoolize: copying file 'macros/libtool.m4' libtoolize: copying file 'macros/ltoptions.m4' libtoolize: copying file 'macros/ltsugar.m4' libtoolize: copying file 'macros/ltversion.m4' libtoolize: copying file 'macros/lt~obsolete.m4' autoreconf-2.71: configure.ac: not using Intltool autoreconf-2.71: configure.ac: not using Gtkdoc autoreconf-2.71: running: aclocal --force -I macros configure.ac:144: warning: macro 'AM_INTL_SUBDIR' not found in library autoreconf-2.71: running: /usr/bin/autoconf-2.71 --force configure.ac:55: warning: The macro `AC_PROG_CC_C99' is obsolete. configure.ac:55: You should run autoupdate. /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.71/lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from... configure.ac:55: the top level configure.ac:104: warning: The macro `AC_CHECKING' is obsolete. configure.ac:104: You should run autoupdate. /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.71/lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... macros/readline.m4:102: AC_SEARCH_READLINE is expanded from... macros/readline.m4:46: AC_CHECK_READLINE is expanded from... configure.ac:104: the top level configure.ac:104: warning: The macro `AC_FD_CC' is obsolete. configure.ac:104: You should run autoupdate. /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.71/lib/autoconf/general.m4:399: AC_FD_CC is expanded from... macros/readline.m4:111: AC_READLINE_VERSION is expanded from... macros/readline.m4:46: AC_CHECK_READLINE is expanded from... configure.ac:104: the top level configure.ac:159: error: possibly undefined macro: AM_INTL_SUBDIR If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf-2.71: error: /usr/bin/autoconf-2.71 failed with exit status: 1 *** ERROR: autoreconf failed