Re: GTK+ 2.99.3 released
- From: Jaroslav Šmíd <jardasmid gmail com>
- To: craigbakalian <craigbakalian verizon net>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GTK+ 2.99.3 released
- Date: Wed, 02 Feb 2011 20:47:48 +0100
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]