[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Aclocal bug? [WAS Re: branch-1_4 allow C++ on Linux]
From: |
Gary V. Vaughan |
Subject: |
Aclocal bug? [WAS Re: branch-1_4 allow C++ on Linux] |
Date: |
Tue, 7 Nov 2006 23:34:45 -0600 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 3 Nov 2006, at 10:41, Gary V. Vaughan wrote:
Okay, cool. ISTR that Libtool HEAD builds with C++ already, but even
if gnulib trips up M4 HEAD, forward porting the changes from the
branch
is probably a good thing to do anyway.
I'll have to get Gettext-0.16 building on
Mac OS X before I can build m4 again :-(
Good luck with that. Actually, if you were to hack configure.ac
to drop
the requirement back to gettext 0.15 in your build tree, Mac might
give a
successful build. 0.15 is only incompatible with automake 1.10+
in the
sense that it fails to install on systems that lack a decent mkdir
(1), but
I don't think Mac falls in that category.
Good tip, thanks. I can always install coreutils if Apple's mkdir is
lacking.
Good news: With latest libintl and libiconv, gettext-0.16 builds OOB.
Bad news, I appear to have hit a bug in aclocal. From a fresh checkout
of m4 CVS HEAD:
$ perl --version
This is perl, v5.8.8 built for darwin-2level
Copyright 1987-2006, Larry Wall
Perl may be copied only under the terms of either the Artistic
License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access
to the
Internet, point your browser at http://www.perl.org/, the Perl Home
Page.
$ aclocal --version
aclocal (GNU automake) 1.10a
Written by Tom Tromey <address@hidden>
and Alexandre Duret-Lutz <address@hidden>.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
$ autoconf --version
autoconf (GNU Autoconf) 2.60c
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the
terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille.
$ gettext --version
gettext (GNU gettext-runtime) 0.16
Copyright (C) 1995-1997, 2000-2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Written by Ulrich Drepper.
$ bootstrap
...
bootstrap: running: autopoint --force
bootstrap: running: gnulib-tool --update
...
bootstrap: running: AUTOPOINT=true autoreconf --force --verbose --
install --no-r
ecursive
autoreconf: Entering directory `.'
autoreconf: running: true --force
autoreconf: running: aclocal --force -I ltdl/m4
autoreconf: configure.ac: tracing
configure.ac:147: warning: AM_INTL_SUBDIR is m4_require'd but not
m4_defun'd
ltdl/m4/gettext.m4:360: AM_GNU_GETTEXT is expanded from...
configure.ac:147: the top level
autoreconf: running: libtoolize --copy --force --ltdl
...
After which ./configure barfs about unexpanded macros. I came up
with a crude workaround:
$ fgrep m4_include aclocal.m4 | wc -l
94
$ ls -1 ltdl/m4/*.m4 | wc -l
109
$ for file in ltdl/m4/*.m4; do
> grep m4_include aclocal.m4 | grep -q $file || echo missing $file
> done
missing ltdl/m4/argz.m4
missing ltdl/m4/getopt.m4
missing ltdl/m4/glibc2.m4
missing ltdl/m4/glibc21.m4
missing ltdl/m4/gnulib-cache.m4
missing ltdl/m4/gnulib-tool.m4
missing ltdl/m4/intdiv0.m4
missing ltdl/m4/intl.m4
missing ltdl/m4/intldir.m4
missing ltdl/m4/intmax.m4
missing ltdl/m4/lcmessage.m4
missing ltdl/m4/lt~obsolete.m4
missing ltdl/m4/printf-posix.m4
missing ltdl/m4/uintmax_t.m4
missing ltdl/m4/visibility.m4
$ for file in ltdl/m4/*.m4; do
> grep m4_include aclocal.m4 | grep -q $file \
> || echo "m4_include([$file])" >> aclocal.m4
> done
$ fgrep m4_include aclocal.m4 | wc -l 109
And then everything is fine (including a well behaved M4 make check!)
http://blog.azazil.net
Your road-trip sounds fun!
It is! :-D
Cheers,
Gary
- --
Gary V. Vaughan ())_. address@hidden
Research Scientist ( '/ http://blog.azazil.net
GNU Hacker / )= http://www.gnu.org/software/{libtool,m4}
Technical Author `(_~)_ http://sources.redhat.com/autobook
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFFS3FPFRMICSmD1gYRAp9LAJ4oaW2WgXdbQ97FcvteS2vFQ8oriQCfQpdT
G6N/hSfk4yAN9VW/sN4JoJY=
=L71j
-----END PGP SIGNATURE-----
_______________________________________________
M4-patches mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/m4-patches
Cheers,
Gary
- --
Gary V. Vaughan ())_. address@hidden
Research Scientist ( '/ http://blog.azazil.net
GNU Hacker / )= http://www.gnu.org/software/{libtool,m4}
Technical Author `(_~)_ http://sources.redhat.com/autobook
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFFUWx7FRMICSmD1gYRAkAaAKCqBwm5kQHkRueCSiWCVawJ4igi2wCfW6Jk
Uav60iWE5xrPKtg/9skC6Rg=
=M0F2
-----END PGP SIGNATURE-----
- Aclocal bug? [WAS Re: branch-1_4 allow C++ on Linux],
Gary V. Vaughan <=