Re: Installing gtk/gtkmm on Linux



On 7/18/06, Denis Leroy <denis poolshark org> wrote:
Mickael Drean wrote:
>
>     Which version of redhat are you running?
>
>
> Red Hat 9

I have some old RPMs available here

   http://www.poolshark.org/rh9/

RedHat 9 is very very old and is only supported by the Fedora Legacy
project. They do not however provide gtkmm RPMs. Also, RedHat 9 is based
on Gnome 2.2, so you cannot compile anything higher than the gtkmm 2.2.x
series. Do not even try to compile things like newer gtk+ or glib
libraries, this is almost impossible and amounts to upgrading the entire
distribution! If you need something higher than gtkmm 2.2.x, you will
have to ugprade from RedHat 9 to Fedora (FC2: gtkmm 2.4, FC4: gtkmm 2.6,
FC5: gtkmm 2.8)

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.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]