Compilation failing - can't find gtk+ >=2.0.0
I seem not to be able to compile gtk apps on my system. The failure is like
this (from a compilation of GPA, the configure script):
...
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for
the
*** exact error that occured. This usually means GTK+ is incorrectly
installed.
configure: error: Cannot find GTK+ 2.0
config.log contains the following:
configure:8435: checking for GTK+ - version >= 2.0.0
configure:8582: result: no
configure:8616: gcc -o conftest -g -O2 conftest.c -lz -lm >&5
configure:8673:21: gtk/gtk.h: No such file or directory
configure: In function `main':
configure:8679: error: `gtk_major_version' undeclared (first use in this
function)
configure:8679: error: (Each undeclared identifier is reported only once
configure:8679: error: for each function it appears in.)
configure:8679: error: `gtk_minor_version' undeclared (first use in this
function)
configure:8679: error: `gtk_micro_version' undeclared (first use in this
function)
configure:8619: $? = 1
configure: failed program was:
| #line 8596 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME "gpa"
| #define PACKAGE_TARNAME "gpa"
| #define PACKAGE_VERSION "0.6.1"
| #define PACKAGE_STRING "gpa 0.6.1"
| #define PACKAGE_BUGREPORT "bug-gpa@gnupg.org"
| #define PACKAGE "gpa"
| #define VERSION "0.6.1"
| #define PACKAGE "gpa"
| #define VERSION "0.6.1"
| #define PACKAGE_BUGREPORT "bug-gpa@gnupg.org"
| #define HAVE_LIBM 1
| #define HAVE_LIBZ 1
| #define HAVE_STRSEP 1
| #define STDC_HEADERS 1
| #define GPG_PATH "/usr/local/bin/gpg"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define INTDIV0_RAISES_SIGFPE 1
| #define HAVE_INTTYPES_H_WITH_UINTMAX 1
| #define HAVE_STDINT_H_WITH_UINTMAX 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_ARGZ_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_NL_TYPES_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_FEOF_UNLOCKED 1
| #define HAVE_FGETS_UNLOCKED 1
| #define HAVE_GETC_UNLOCKED 1
| #define HAVE_GETCWD 1
| #define HAVE_GETEGID 1
| #define HAVE_GETEUID 1
| #define HAVE_GETGID 1
| #define HAVE_GETUID 1
| #define HAVE_MEMPCPY 1
| #define HAVE_MUNMAP 1
| #define HAVE_PUTENV 1
| #define HAVE_SETENV 1
| #define HAVE_SETLOCALE 1
| #define HAVE_STPCPY 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRDUP 1
| #define HAVE_STRTOUL 1
| #define HAVE_TSEARCH 1
| #define HAVE___ARGZ_COUNT 1
| #define HAVE___ARGZ_STRINGIFY 1
| #define HAVE___ARGZ_NEXT 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LC_MESSAGES 1
| #define ENABLE_NLS 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| /* end confdefs.h. */
|
| #include
I seem not to be able to compile gtk apps on my system. The failure is like this (from a compilation of GPA, the configure script): I'm sure I must have missed something obvious, but I'm blowed if I can see it!
Grab gtk2-devel from www.usr-local-bin.org/misc.php -- James Ogley, Webmaster, Rubber Turnip james@rubberturnip.org.uk http://www.rubberturnip.org.uk Jabber: riggwelter@myjabber.net Using Free Software since 1994, running GNU/Linux (SuSE 8.2) GNOME updates for SuSE: http://www.usr-local-bin.org
In a previous message, James Ogley
I seem not to be able to compile gtk apps on my system.
Grab gtk2-devel from www.usr-local-bin.org/misc.php
I had in any case installed gtk2-devel from the 8.2 DVD - why doesn't this work? John -- John Pettigrew Headstrong Games john@headstrong-games.co.uk Fun : Strategy : Price http://www.headstrong-games.co.uk/ Board games that won't break the bank
In a previous message, James Ogley
I seem not to be able to compile gtk apps on my system. The failure is like this (from a compilation of GPA, the configure script): I'm sure I must have missed something obvious, but I'm blowed if I can see it!
Grab gtk2-devel from www.usr-local-bin.org/misc.php
I've installed gtk2-devel, atk-devel and glib2-devel from ulb, and still gpa won't compile, complaining that it can't find gtk2. What on earth is it looking for? John -- John Pettigrew Headstrong Games john@headstrong-games.co.uk Fun : Strategy : Price http://www.headstrong-games.co.uk/ Board games that won't break the bank
On Thu, 4 Sep 2003 15:44:24 +0100
John Pettigrew
I seem not to be able to compile gtk apps on my system. The failure is like this (from a compilation of GPA, the configure script):
Being able to run a gtk2 program doesn't mean that you can compile one. You need: glib2-devel gtk2-devel atk-devel Charles -- Linux! Guerrilla UNIX Development Venimus, Vidimus, Dolavimus. (By mah@ka4ybr.com, Mark A. Horton KA4YBR)
In a previous message, Charles Philip Chan
On Thu, 4 Sep 2003 15:44:24 +0100 John Pettigrew
wrote: I seem not to be able to compile gtk apps on my system. The failure is like this (from a compilation of GPA, the configure script):
Being able to run a gtk2 program doesn't mean that you can compile one. You need:
glib2-devel gtk2-devel atk-devel
I know that, and all three devel packages are installed (they were in any case) - but the config scripts are still complaining that they can't find gtk. I have gtk and gtk2 (and their devel packages) installed - might this be confusing things? John -- John Pettigrew Headstrong Games john@headstrong-games.co.uk Fun : Strategy : Price http://www.headstrong-games.co.uk/ Board games that won't break the bank
The 03.09.05 at 09:40, John Pettigrew wrote:
I know that, and all three devel packages are installed (they were in any case) - but the config scripts are still complaining that they can't find gtk.
Someone complained of a similar thing in the Spanish list. He was trying to compile the new kvirc, I think. He solved it by issuing the exact paths to configure:
(Jordi Jordi Rubió)
Encontré la solucion a la compilación de kvirc despues de mucho probar:
./configure --with-qt-library-dir=/usr/lib/qt3/lib/ --with-qt-include-dir=/usr/lib/qt3/include --with-qt-moc=/usr/lib/qt3/bin/moc
-- Cheers, Carlos Robinson
On Friday 05 Sep 2003 9:40 am, John Pettigrew wrote:
In a previous message, Charles Philip Chan
wrote: On Thu, 4 Sep 2003 15:44:24 +0100 John Pettigrew
wrote:
I seem not to be able to compile gtk apps on my system. The failure is like this (from a compilation of GPA, the configure script):
Being able to run a gtk2 program doesn't mean that you can compile one. You need:
glib2-devel gtk2-devel atk-devel
I know that, and all three devel packages are installed (they were in any case) - but the config scripts are still complaining that they can't find gtk.
I have gtk and gtk2 (and their devel packages) installed - might this be confusing things?
John -- John Pettigrew Headstrong Games john@headstrong-games.co.uk Fun : Strategy : Price http://www.headstrong-games.co.uk/ Board games that won't break the bank
I had the same problem and it wasn't resolved until I included pango-devel, as well as the others mentioned above. Eddie
In a previous message, Eddie
I had the same problem and it wasn't resolved until I included pango-devel, as well as the others mentioned above.
That was the one missing! Thanks :-) John -- John Pettigrew Headstrong Games john@headstrong-games.co.uk Fun : Strategy : Price http://www.headstrong-games.co.uk/ Board games that won't break the bank
participants (5)
-
Carlos E. R.
-
Charles Philip Chan
-
Eddie
-
James Ogley
-
John Pettigrew