On date Saturday 2010-12-04 12:26:56 +0100, Stefano Sabatini opened this window: > Hi all, > > I'm trying to install sawfish from scratch, when installing librep-gtk > I got this: > configure: error: can not locate gtk+ >= 2.21.0 > > Latest release version of libgtk is 2.20, so very few distros are going > to ship that library. Please avoid to require very updated libraries, > especially if they are not already installed on most distros.
Tried with 2.20, seems to compile here, check the attached patch. Regards.
>From e27dad59a87c6326c7dc0b7a973ae624fde25dbf Mon Sep 17 00:00:00 2001 From: Stefano Sabatini <[email protected]> Date: Sat, 4 Dec 2010 12:48:33 +0100 Subject: [PATCH] Fix GTK minor number, use 2.20 rather than 2.21. GTK 2.21 is not really required, and is not installed on most distros. --- configure.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.in b/configure.in index 0c5ac6c..475d11e 100644 --- a/configure.in +++ b/configure.in @@ -59,7 +59,7 @@ GLIB_MIN_VER="2.6" PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_MIN_VER) dnl Check for GTK -GTK_MIN_VER="2.21.0" +GTK_MIN_VER="2.20.0" pc_libs="" PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_MIN_VER -- 1.7.2.3
