2009/9/18 Marco Vittorini Orgeas <[email protected]>:
> I need to install in parallel to my system gtk "old" libraries a newer version
> of gtk libraries, because I need to compile against it a software:
>
> how can I proceed to let only "that" software using the newer libraries 
> without
> messing all the system and so maintaining all separate ?
>
> I would be very glad if you can provide some simple/short example making the
> assumption that for example I would install the newer versions of GTK under 
> /opt.

Hello Marco,

I'm not a expert, so maybe there is a better ways to do this.

I have this in my .bashrc: (I install the programs/libraries in ~/local)

export PATH=~/local/bin:~/bin:${PATH}
export PKG_CONFIG_PATH=~/local/lib/pkgconfig/:${PKG_CONFIG_PATH}

Then, when I want to compile something, I use

./autogen --prefix=/home/jjardon/local

and then

make; make install

to compile (It will use the libraries manually installed in ~/local)
and install the program in ~/local


Hope helps,

-- 
Javier Jardón Cabezas
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to