Debian, gtk problem



Hi,


I have some troubles with compiling any gnome-application. For example
compiling ggv, linux said it had some troubles with gtk..(look at the
end of the doc to see the config.log file).
I dont know very much about this, so please help...
I have a Debian 2.0 system and have install gnome from the debian
packages.
I have installed the package libgtk1.1 and libgtk1.1-dev, i think thats
where the gtk stuff is, isnt it??

What sould i do (install) to make ggv compile succsesfull ??






--->  doing ./configure in the ggv directory:
        bla,
        blea
        bla,
        checking for pthread_create in -lpthread... yes
        checking for gtk-config... /usr/bin/gtk-config
        checking for GTK - version >= 1.1.1... 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 was
incorrectly installed
        *** or that you have moved GTK since it was installed. In the
latter case, you
        *** may want to edit the gtk-config script: /usr/bin/gtk-config
        configure: error: GTK not installed




CONFIG.LOG  (of ggv)
^^^^^^^^^^


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:583: checking for a BSD compatible install
configure:636: checking whether build environment is sane
configure:693: checking whether make sets ${MAKE}
configure:739: checking for working aclocal
configure:752: checking for working autoconf
configure:765: checking for working automake
configure:778: checking for working autoheader
configure:791: checking for working makeinfo
configure:805: checking whether to enable maintainer-specific portions
of Makefiles
configure:836: checking for gnome-config
configure:869: checking if /usr/bin/gnome-config works
configure:949: checking for gcc
configure:1026: checking whether the C compiler (gcc  ) works
configure:1040: gcc -o conftest    conftest.c  1>&5
configure:1060: checking whether the C compiler (gcc  ) is a
cross-compiler
configure:1065: checking whether we are using GNU C
configure:1074: gcc -E conftest.c
configure:1089: checking whether gcc accepts -g
configure:1117: checking for POSIXized ISC
configure:1140: checking for gcc
configure:1217: checking whether the C compiler (gcc -g -O2 ) works
configure:1231: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1251: checking whether the C compiler (gcc -g -O2 ) is a
cross-compiler
configure:1256: checking whether we are using GNU C
configure:1280: checking whether gcc accepts -g
configure:1308: checking how to run the C preprocessor
configure:1329: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1369: checking for ANSI C header files
configure:1382: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1449: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1498: checking host system type
configure:1521: checking for ranlib
configure:1560: checking for ld used by GCC
configure:1617: checking if the linker (/usr/bin/ld) is GNU ld
GNU ld version 2.9.1 (with BFD 2.9.1)
configure:1633: checking for BSD-compatible nm
configure:1670: checking whether ln -s works
configure:1782: checking for pthread_create in -lpthread
configure:1801: gcc -o conftest -g -O2   conftest.c -lpthread   1>&5
configure:1906: checking for gtk-config
configure:1937: checking for GTK - version >= 1.1.1
configure:2036: gcc -o conftest -g -O2 -I/usr/X11R6/include
-I/usr/lib/glib/include   conftest.c  -L/usr/lib -L/usr/X11R6/lib
-lgtk-1.1 -lgdk-1.1 -lglib-1.1 -lXi -lXext -lX11 -lm 1>&5
ld: cannot open -lXi: No such file or directory
configure: failed program was:
#line 1960 "configure"
#include "confdefs.h"

#include <gtk/gtk.h>
#include <stdio.h>
#include <stdlib.h>

int 
main ()
{
  int major, minor, micro;
  char *tmp_version;

  system ("touch conf.gtktest");

  /* HP/UX 9 (%@#!) writes to sscanf strings */
  tmp_version = g_strdup("1.1.1");
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
     printf("%s, bad version string\n", "1.1.1");
     exit(1);
   }

  if ((gtk_major_version != 1) ||
      (gtk_minor_version != 1) ||
      (gtk_micro_version != 1))
    {
      printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+
(%d.%d.%d)\n", 
             1, 1, 1,
             gtk_major_version, gtk_minor_version, gtk_micro_version);
      printf ("*** was found! If gtk-config was correct, then it is
best\n");
      printf ("*** to remove the old version of GTK+. You may also be
able to fix the error\n");
      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable,
or by editing\n");
      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if
that is\n");
      printf("*** required on your system.\n");
      printf("*** If gtk-config was wrong, set the environment variable
GTK_CONFIG\n");
      printf("*** to point to the correct copy of gtk-config, and remove
the file config.cache\n");
      printf("*** before re-running configure\n");
    } 
  else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
           (gtk_minor_version != GTK_MINOR_VERSION) ||
           (gtk_micro_version != GTK_MICRO_VERSION))
    {
      printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
             GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
      printf("*** library (version %d.%d.%d)\n",
             gtk_major_version, gtk_minor_version, gtk_micro_version);
    }
  else
    {
      if ((gtk_major_version > major) ||
        ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
        ((gtk_major_version == major) && (gtk_minor_version == minor) &&
(gtk_micro_version >= micro)))
      {
        return 0;
       }
     else
      {
        printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
               gtk_major_version, gtk_minor_version, gtk_micro_version);
        printf("*** You need a version of GTK+ newer than %d.%d.%d. The
latest version of\n",
               major, minor, micro);
        printf("*** GTK+ is always available from
ftp://ftp.gtk.org.\n");
        printf("***\n");
        printf("*** If you have already installed a sufficiently new
version, this error\n");
        printf("*** probably means that the wrong copy of the gtk-config
shell script is\n");
        printf("*** being found. The easiest way to fix this is to
remove the old version\n");
        printf("*** of GTK+, but you can also set the GTK_CONFIG
environment to point to the\n");
        printf("*** correct copy of gtk-config. (In this case, you will
have to\n");
        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or
edit /etc/ld.so.conf\n");
        printf("*** so that the correct libraries are found at
run-time))\n");
      }
    }
  return 1;
}

configure:2080: gcc -o conftest -g -O2 -I/usr/X11R6/include
-I/usr/lib/glib/include   conftest.c  -L/usr/lib -L/usr/X11R6/lib
-lgtk-1.1 -lgdk-1.1 -lglib-1.1 -lXi -lXext -lX11 -lm 1>&5
ld: cannot open -lXi: No such file or directory
configure: failed program was:
#line 2070 "configure"
#include "confdefs.h"

#include <gtk/gtk.h>
#include <stdio.h>

int main() {
 return ((gtk_major_version) || (gtk_minor_version) ||
(gtk_micro_version)); 
; return 0; }










Thanks,
-- 



		        .___________________________.__________________
  		       /                           /
		     /      Phillip  Neumann     /
		   /     filsin@bigfoot.com    /
________________./__________________________./



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]