Haluaisin asentaa tän
http://gnome-look.org/content/show.php/Aurora+Gtk+Engine?content=56438 gtk teeman itselleni, mutta kun suoritan komennon:
./configure --prefix=/usr -enable-animation
checking for GTK... no
configure: error: GTK+-2.10 is required to compile aurora
nyt käytössä oleva gtk on 2.0
onko muuta vaihtoehtoa asentaa 2.10 kuin kääntämällä lähdekoodista?
Tässä yritin asentaa lähdekoodeista mutta pysähtyi kun en tiedä miten jatkaa:
(käytin tätä ohjetta:
http://developer.gnome.org/doc/API/2.0/gtk/gtk-building.html)
./configure --prefix=/opt/gtk
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.12.0 atk >= 1.9.0 pango >= 1.12.0 cairo >= 1.2.0) were not met:
No package 'glib-2.0' found
No package 'atk' found
No package 'pango' found
No package 'cairo' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more detail
~/gtk/gtk+-2.10.9$ cd atk-1.9.1
./configure --prefix=/opt/gtk
checking for GLIB - version >= 2.5.7... 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.5.7 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.
:~/gtk/gtk+-2.10.9$ cd glib-2.12.9
./configure --prefix=/opt/gtk
configure: error:
*** You must have either have gettext support in your C library, or use the
*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
Tuosta en osaa enään jatkaa.