Re: Installing gtk/gtkmm on Linux
- From: "Jonathon Jongsma" <jonathon jongsma gmail com>
- To: "Joe Van Dyk" <joevandyk gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Installing gtk/gtkmm on Linux
- Date: Tue, 18 Jul 2006 13:04:55 -0500
On 7/18/06, Joe Van Dyk <joevandyk gmail com> wrote:
Oh, it's not that bad.
Mick, you'll need to modify the LD_LIBRARY_PATH and PKG_CONFIG_PATH
environment variables. The configure script relies on those
environment variables to figure out what's installed and where things
are.
Say you install glib 2.10 to /opt/local. The glib libraries will be
in /opt/local/lib. The pkg-config files for glib will be in
/opt/local/lib/pkgconfig. So, you'd set LD_LIBRARY_PATH to be
/opt/local/lib and PKG_CONFIG_PATH to be /opt/local/lib/pkgconfig.
(Example using bash shell)
export LD_LIBRARY_PATH=/opt/local/lib
export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig
Then when you run the configure script for atk, it should find the
glib that's in /opt/local and not know about the other one that's
installed.
This is the reason I suggested jhbuild. It handles installing almost
all of the dependencies and it will set up the LD_LIBRARY_PATH and
PKG_CONFIG_PATH environment variables for you as well (when you're
within the `jhbuild shell` environment).
--
jonner
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]