Re: Howto install gtk in custom path



kentropy libero it wrote:
I build gtk-2.2.4 on my Fedora Core 1
Now I'd like to install gtk into a custom directory
/home/test/
and not replacing the Fedora native gtk

Just use --prefix, eg.

cd glib-2.4.2; ./configure --prefix=/home/test/gtk2; make; make install

Set your environment so you pick up libraries from the new area. You need to set LD_LIBRARY_PATH and PKG_CONFIG_PATH (maybe others? can't remember)

Now build the other packages

cd atk- ... etc.
cd pango- ...
cd gtk- ...

John




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