Installation von GTK 2.2.4

Software besorgen und anwenden
Post Reply
Message
Author
acme

Installation von GTK 2.2.4

#1 Post by acme »

Hi,

beim Versuch unter SuSE Linux 8.2 das neueste GTK 2.2.4 zu installieren tritt bei mir das folgende Problem auf:
Gemäß der Anleitung auf der Website www.gtk.org habe ich zuerst die neueste Version der GLIB 2.2.3 Bibliothek installiert, was auch noch problemlos funktionierte. Nach der ebenfalls erfolgreichen Installation von PKG-Config 0.15.0 sollte als nächstes laut der Anleitung PANGO 1.2.5 installiert werden, wobei jedoch nach dem Aufruf von "./configure" in der Shell folgende Fehlermeldung auftrat:

checking for GLIB - version >= 2.1.3...
*** 'pkg-config --modversion glib-2.0' returned 2.2.3, but GLIB (2.2.1)
*** 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.1.3 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.

Wie die Fehlermeldung sagt, habe ich die LD_LIBRARY_PATH Variable mittels "export LD_LIBRARY_PATH=/usr/local/glib-2.0" geändert und in der "/etc/ld.so.conf" den Pfad "/usr/lib/" eingetragen und "ldconf" ausgeführt. Auch das Deinstallieren der alten GLIB Version 1.2 mittels YaST 2, die mit SuSE 8.2 installiert wurde, hat keine Abhilfe gebracht.
Was muss ich tun um PANGO zu installieren?


Danke,

Markus

muellnew

Re: Installation von GTK 2.2.4

#2 Post by muellnew »

Hi,

GLIB2 ist bei SuSE auf mehrere RPMs aufgeteilt - bitte alle Pakete deinstallieren (falls installiert)

rpm -e --nodeps glib2-doc
rpm -e --nodeps glib2-devel
rpm -e --nodeps glib2

+ ev. nochmal ein 'make install' in den GLIB 2.2.3-Sourcen ausführen

... dann sollt's funktionieren!

A propos, die Pakete glib und glib-devel in Version 1.2 sind unabhängig von glib2, d. h. die können
ruhig installiert bleiben.

ACME

Re: Installation von GTK 2.2.4

#3 Post by ACME »

Hi,

damit funktioniert es.


Vielen Dank,

Markus

Post Reply