Help with "local" GTK debug version needed.

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

 




I wish to compile gtk "locally" I have my own debug version to which I can
link my own test apps. I want this version to be contains debug ingo. I do
not, however, wish to upgrade my desktop to this version of gtk.

Is this possible.

I am a little confused between ldconfig and ld_flags and which to use
without upsetting my system.

e.g

cd src/glib
./configure --enable-debug=yes prefix=/home/hadron/src
make
make install

Works fine : local version of glib.

Now I prepare atk:

cd src/atk
./configure --enable-debug=yes prefix=/home/hadron/src

It complains that the version found was less than that of the one needed.
So I add "/home/hadron/src/lib/pkgconfig" to my  pkg_config_path:

PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/home/shamrock/src/lib/pkgconfig

The problem is not that pkg_config reports the higher version is there but
the one found is the old one.  One can expect this since the shared libaries
I have locally are not on the path.

How do I fix this properly? It seems to me that if I edit /etc/ld.so.conf
and run "sudo ldconfig" then I will update the system versions too!

How to tell my "test program" to use my shared libraries without changing
the system? I'm sure it is staring me in the face, but I can not see the
wood for the trees at the moment.

Thank you for any advice.


-- 
View this message in context: http://www.nabble.com/Help-with-%22local%22-GTK-debug-version-needed.-tf2876504.html#a8039716
Sent from the Gtk+ - General mailing list archive at Nabble.com.

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux