Is there a glib version I should download and install? There are many on the the Gtk+ site. I don't know what one is compatible with Gtk3. Do I need git to download the latest Glib?
Craig Bakalian On Wed, 2011-02-02 at 20:47 +0100, Jaroslav Šmíd wrote: > > I am running ubuntu 10.10 and Gnome 2.32.0. I am a bit afraid to update > > via a install from a tar download because of all the dependence issues > > on ubuntu. Is there a way to update via command line or synaptic? > > Install gtk2-dev (or something like that). It will install most of > required depencies to build new glib and gtk3. > > After that, download glib, and install like this: > > ./configure --prefix=/opt/gtk3-stuff > make > make install > > Then create script /opt/gtk3-stuff/bin/gtk3-set-env.sh with content: > > #!/bin/sh > export PATH="/opt/gtk3-stuff/bin:${PATH}" > export LD_LIBRARY_PATH="/opt/gtk3-stuff/lib:${LD_LIBRARY_PATH}" > export PKG_CONFIG_PATH="/opt/gtk3-stuff/lib/pkgconfig" > > Make it executable and "source" it > chmod +x /opt/gtk3-stuff/bin/gtk3-set-env.sh > source /opt/gtk3-stuff/bin/gtk3-set-env.sh > > You will need to "source" the file everytime you would like to build > gtk3 app or app using newest glib (which seems to be required by gtk3). > > Now build gtk3: > > ./configure --prefix=/opt/gtk3-stuff > make > make install > > Nothing to be afraid of as long as you install to /opt/gtk3-stuff and > not to /usr. > > Feel free to ask if you get configure/compilation error - maybe few > build depencies will be required, which won't get installed as depencies > for gtk2-dev. _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list