[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoconf-2.66 with pkg-config-0.25 problem
From: |
Nishio Futoshi |
Subject: |
Re: autoconf-2.66 with pkg-config-0.25 problem |
Date: |
Wed, 14 Jul 2010 00:15:28 +0900 |
Hello Ralf
Thanks for your suggestion.
i edited pkg.m4 and autoconf worked fine. config.log output good log lines.
patch is below, but it does not looks so good, i think...
i'll check pkg.m4 more and ask pkg-config maintainer.
Thanks
--- pkg.m4.old 2010-07-14 00:06:09.000000000 +0900
+++ pkg.m4 2010-07-14 00:06:28.000000000 +0900
@@ -135,7 +135,7 @@
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
-_PKG_TEXT])dnl
+_PKG_TEXT])[]dnl
])
elif test $pkg_failed = untried; then
AC_MSG_RESULT([no])
On Sun, 11 Jul 2010 08:59:55 +0200
Ralf Wildenhues <address@hidden> wrote:
> Hello Nishio,
>
> * Nishio Futoshi wrote on Sun, Jul 04, 2010 at 03:02:20AM CEST:
> > I'm checking autoconf-2.66, then autoreconf -f (--force) command
> > caught error which uses pkg-config (pkg.m4).
> >
> > in configure.ac write
> > PKG_CHECK_MODULES(GLIB, [glib-2.0])
> >
> > and autoreconf with -f (--force) option
> >
> > $ autoreconf -f
> > configure:3445: error: possibly undefined macro: AS_MESSAGE_LOG_FDdnl
> > If this token and others are legitimate, please use m4_pattern_allow.
> > See the Autoconf documentation.
> >
> > $ cat -n configure | head -n 3450 - | tail -n 10 -
> > 3441 installed software in a non-standard prefix.
> > 3442
> > 3443 Alternatively, you may set the environment variables GLIB_CFLAGS
> > 3444 and GLIB_LIBS to avoid the need to call pkg-config.
> > 3445 See the pkg-config man page for more details." "$LINENO"
> > AS_MESSAGE_LOG_FDdnl
> > 3446
> > 3447 elif test $pkg_failed = untried; then
> > 3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
> > 3449 $as_echo "no" >&6; }
> > 3450 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in
> > \`$ac_pwd':" >&5
> >
> > I putted tested tarball in
> > http://www.d3.dion.ne.jp/~fut_nis/test_package-0.0.0.tar.gz
>
> Thanks for the bug report. I'm not 100 percent sure that this isn't
> some quoting regression in Autoconf, but quite likely it is just that
> the newer Autoconf uncovered an underquoted text in pkg.m4.
>
> For me it works to edit pkg.m4, search for "Package requirements"
> then search for the next "dnl" and replace it with "[]dnl".
>
> Hope that helps. Please report this to the maintainer of the pkg.m4
> file (should be listed somewhere near the top). Thanks.
>
> Cheers,
> Ralf
>
>
> _______________________________________________
> Autoconf mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/autoconf
--
Nishio Futoshi <address@hidden>