Dear all, I recently ran into problems using PyGobject (missing method bindings), this may be because I do not have the latest version of PyGobject and/or Gtk+3.
So, I am trying to install the latest Gtk+3 version on Ubuntu 11.04 and, I must be frank, it's a complete nightmare. I am trying to follow the installation documentation on http://developer.gnome.org/gtk3/3.0/gtk-building.html but I am running in trouble when installing libraries. For instance I am now installing Atk-1.30.0 and ./configure returns: checking for GLIB - version >= 2.0.0... *** 'pkg-config --modversion glib-2.0' returned 2.29.4, but GLIB (2.28.6) *** was found! If pkg-config was correct, then it is best *** to remove the old version of GLib. You may also be able to fix the error *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing *** /etc/ld.so.conf. Make sure you have run ldconfig if that is *** required on your system. *** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH *** to point to the correct configuration files no configure: error: *** GLIB 2.0.0 or better is required. The latest version of *** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is installed *** but not in the same location as pkg-config add the location of the file *** glib-2.0.pc to the environment variable PKG_CONFIG_PATH. I indeed installed Glib-2.29.4 earlier. I was advised in a similar situation to "set the PKG_CONFIG_PATH environment variable. Indeed I found out that the .pc file was located at '/usr/lib/i386-linux-gnu/pkgconfig/glib-2.0.pc' So I did: export PKG_CONFIG_PATH="/usr/lib//i386-linux-gnu/pkgconfig:$PKG_CONFIG_PATH" Which helped to move on. However I ran into more problems with 'make', which returned: ... ... configure: creating ./config.status config.status: creating Makefile config.status: error: cannot find input file: `po/Makefile.in.in' Questions: 1. Could I have forced GLIB's .pc file to be located at /usr/bin/pkg-config instead? 2. How can I solve the Makefile.in.in problem? 3. Can someone guide me through the Gtk+3 installation? 4. OR is there any better installation guide than what I quoted here above? 5. Is there any reason why it's so cumbersome to install Gtk+? Thanks for your assistance, Benjamin _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
