First, disclaimer - I'm new to the Gtk worlds as well, be warned ...
I believe you have a small mixup. I just recently installed Gtk 2.2.2 from source
into a custom directory in my system, so that I could hack and experiment on it,
therefor I think I know what's wrong.
If you want to install Gtk from source, you basically need the Gtk tarball and
3 more tarballs. According to http://www.gtk.org/download/ "Installation Guide" link
(the below is just for general idea):
(start quote)
Three of the libraries that GTK+ depends on are maintained by by the GTK+ team: GLib, Pango, and ATK. Other libraries are maintained separately.
-
The GLib library provides core non-graphical functionality such as high level data types, Unicode manipulation, and an object and type system to C programs. It is available from the GTK+ FTP site.
-
Pango is a library for internationalized text handling. It is available from the GTK+ FTP site.. Either Pango-1.0 or Pango-1.2 can be used with GTK+-2.2, though Pango-1.2 is recommended.
-
ATK is the Accessibility Toolkit. It provides a set of generic interfaces allowing accessibility technologies such as screen readers to interact with a graphical user interface. It is available from the GTK+ FTP site.
I believe you installed *glibc* which to my best knowledge has nothing to do with *glib* which Gtk requires.
Glibc is (to my best knowledge) the GNU Standart C library where functions like printf() are defined.
To make a long story short, there exists some dependancies among the 4 mentioned packages, I believe they
have to be installed by order, and I think glib should go first. Try installing glib first and only then installing atk.
Please tell me if this helps (or I'll recall deeper what I did),
Gal.
Joelle Nakhle wrote:
Hi, I downloaded glibc 2.2.2, pango 1.2.3 and atk 1.2.4 in order to install gtk. I installed glibc and it seemes to have installed properly. But when i try to install pango or atk it tells me: checking for GLIB - version >= 2.1.3... no *** Could not run GLIB 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 GLIB is incorrectly installed. configure: error: *** Glib 2.1.3 or better is required. The latest version of *** Glib is always available from ftp://ftp.gtk.org/. Waht is GLIB test program? I went into my glib directory and then in the test directory. I tried running ./testglib, which i thought was what they were talking about before and this is what i get: ** (process:9292): WARNING **: harmless warning with parameters: 42 Boo 0x3039 ** Message: the next warning is a test: (process:9292): GLib-CRITICAL **: file gmessages.c: line 840 (g_print): assertion `format != NULL' failed checking endian macros (host is little endian)...ok checking file functions... g_file_open_tmp correctly returns error: Template 'zap/barXXXXXX' invalid, should not contain a '/' g_file_open_tmp for template 'zapXXXXXX' used name '/tmp/zapAHZwJ2' g_file_open_tmp for NULL template used name '/tmp/.CTE945' What can i do to resolve the problem and finally get gtk to work? Thanks a lot, Joelle _______________________________________________ gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list