GTK+ kann nicht gefnden werden



  • Hallo. Ich versuche ein Programm zu kompelieren dass auf die GTK aufbaut. Jedoch findet der Compiler das nicht. d.h wenn ich ./configure eingebe kommt dann die folgende Fehlermeldung:

    checking for gtk+-2.0 >= 2.0.0 gthread-2.0 >= 2.0.0... Package gtk+-2.0 was notfound in the pkg-config search path.
    Perhaps you should add the directory containing `gtk+-2.0.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'gtk+-2.0' found

    configure: error: Library requirements (gtk+-2.0 >= 2.0.0 gthread-2.0 >= 2.0.0)not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

    Die GTK muß aber installioert sein, denn sonst würde ja Gimp nicht funktionieren. Oder?

    Mein System ist Suse 9.0

    Grüße niesel



  • zum kompilieren brauchst du das gtk2-devel-paket. Kann dir aber leider nicht sagen, wie dass genau bei Suse heißt.


Anmelden zum Antworten