[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: syntax error near unexpected token `GTK,'
From: |
Ben Pfaff |
Subject: |
Re: syntax error near unexpected token `GTK,' |
Date: |
Wed, 22 Oct 2008 22:01:40 -0700 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
John Darrington <address@hidden> writes:
> On Wed, Oct 22, 2008 at 06:00:11PM -0200, Michel Boaventura wrote:
> With this patch I got this error:
>
> ./configure: line 17628: syntax error near unexpected token `GTK,'
> ./configure: line 17628: ` PKG_CHECK_MODULES(GTK, gtk+-2.0 >=
> $required_gtk_version,,'
> make: *** [config.status] Error 2
>
> I'm trying to compile using the snapshot version that Ben made from me
> yesterday.
>
> Typically this means that autoconf didn't find the pkg.m4 file. This
> is normally installed with the pkg-config package, so probably you
> need to install pkg-config.
The following patch might make this recurring issue slightly more
transparent, as it will then show up earlier, when "autoconf" is
run rather than when "configure" is run. What do you think?
diff --git a/configure.ac b/configure.ac
index b00a75b..1abc804 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,6 +15,7 @@ AC_LIBTOOL_WIN32_DLL
AC_LIBTOOL_DLOPEN
AC_PROG_LIBTOOL
PKG_PROG_PKG_CONFIG
+m4_pattern_forbid([PKG_CHECK_MODULES])
AC_ARG_ENABLE(
anachronistic-dependencies,
--
"To the engineer, the world is a toy box full of sub-optimized and
feature-poor toys."
--Scott Adams
- Re: Annoying DOS box launching psppire, (continued)
- Re: Annoying DOS box launching psppire, John Darrington, 2008/10/17
- Re: Annoying DOS box launching psppire, Ben Pfaff, 2008/10/17
- Re: Annoying DOS box launching psppire, Michel Boaventura, 2008/10/20
- Re: Annoying DOS box launching psppire, John Darrington, 2008/10/20
- Message not available
- Re: Annoying DOS box launching psppire, John Darrington, 2008/10/20
- Message not available
- syntax error near unexpected token `GTK,', John Darrington, 2008/10/22
- Re: syntax error near unexpected token `GTK,', Michel Boaventura, 2008/10/22
- Re: syntax error near unexpected token `GTK,', Ben Pfaff, 2008/10/23
- Re: syntax error near unexpected token `GTK,', Michel Boaventura, 2008/10/23
- Re: syntax error near unexpected token `GTK,', Ben Pfaff, 2008/10/23
- Re: syntax error near unexpected token `GTK,',
Ben Pfaff <=
- Re: syntax error near unexpected token `GTK,', John Darrington, 2008/10/23
- Message not available
- Message not available
- Re: Annoying DOS box launching psppire, Michel Boaventura, 2008/10/22
- Re: Annoying DOS box launching psppire, Ben Pfaff, 2008/10/23
- Fwd: Annoying DOS box launching psppire, Michel Boaventura, 2008/10/23
- Re: Fwd: Annoying DOS box launching psppire, Ben Pfaff, 2008/10/24