Re: Help with "local" GTK debug version needed.



--- Hadron <hadronquark gmail com> wrote:

> 
> 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 contain debug
> info. I do not, however, wish to upgrade my desktop to this version of
> gtk. Just have a "debug" gtk locally for test development apps to use
> it as a shared library.
> 
> 
> Is this possible?
> 
> 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 now 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 for the ./configure state? It seems to me
> that if I edit /etc/ld.so.conf and run "sudo ldconfig" then I will
> update the system versions too! ./configure doesnt have an "rpath"
> option.
> 
> How to tell my "test program" and others (such as atk above) to use my
> local shared libraries which contain debugging information 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.
> 
> I have tried specifying --libdirs=/home/hadron/src/lib to ./configure
> but it is still seeing the /usr/lib version which is older than my
> downloaded and locally compiled version,
> 
> 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 gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
> 

You can do what you want using my tool (see signature).

You'll just enter a command line like

~/AppsFromScratch/20061104/bin/build.pl -make_like -check_with_ldd -targets_to_build gtk+
1>build.log 2>&1 &
.

You do not need to be root for the above; sources will be downloaded automatically from
mirrors.

The above command line is for the yet unreleased latest and greatest version - I am using
the results in my everyday work.

Along with gtk+ you can build any/all of these:

aspell-0.60.4
atk-1.12.1
at-spi-1.6.6
audiofile-0.2.6
autoconf-2.61
autogen-5.8.7
bash-3.0
bash-3.1
bash-3.2
bc-1.06
bzip2-1.0.3
Cairo-1.02
cairo-1.2.4
cups-1.2.7-source
curl-7.15.5
dejagnu-1.4.4
diacanvas2-0.14.4
ecasound-2.4.4
ecasound-2.4.5
esound-0.2.36
expat-2.0.0
expat-2006-11-24
expect-5.44.1
ExtUtils-Depends-0.205
ExtUtils-PkgConfig-1.07
fftw-3.1.2
flac-1.1.2
fontconfig-2.4.1
freetype-2.2.1
gail-1.8.11
gaim-2.0.0beta5
gcc-3.4.6
gcc-4.1.1
GConf-2.14.0
gettext-0.16.1
glade-2.12.1
Glib-1.142
glib-1.2.10
glib-2.12.4
glib-2.12.5
glib-2.12.6
gmp-4.2.1
Gnome2-1.040
Gnome2-Canvas-1.002
Gnome2-Dia-0.04
Gnome2-GConf-1.032
Gnome2-Print-0.951
Gnome2-VFS-1.061
Gnome2-Vte-0.08
Gnome2-Wnck-0.13
gnome-keyring-0.4.9
gnome-vfs-2.14.2
gnutls-1.4.5
gst-plugins-base-0.10.7
GStreamer-0.09
gstreamer-0.10.8
gtk+-1.2.10
gtk+-2.10.6
Gtk2-1.141
Gtk2-GladeXML-1.006
Gtk2-Html2-0.04
Gtk2-TrayIcon-0.04
gtk-engines-2.8.0
gtkspell-2.0.11
guile-1.8.1
jack-audio-connection-kit-0.102.20
jpegsrc.v6b
ladspa_sdk
lame-3.97
lesstif-0.93.18
lesstif-0.95.0
libao-0.8.6
libart_lgpl-2.3.17
libavc1394-0.5.3
libbonobo-2.14.0
libbonoboui-2.14.0
libfreebob-1.0.0
libgcrypt-1.2.3
libglade-2.6.0
libgnome-2.14.1
libgnomecanvas-2.14.0
libgnomecups-0.2.1
libgnomeprint-2.12.1
libgnomeprintui-2.12.1
libgnomeui-2.16.1
libgpg-error-1.4
libgtkhtml-2.6.3
libid3tag-0.15.1b
libIDL-0.8.7
libiec61883-1.1.0
libmad-0.15.1b
libogg-1.1.3
liboil-0.3.9
libpng-1.2.12
libraw1394-1.2.1
libsamplerate-0.1.2
libsndfile-1.0.17
libtasn1-0.3.6
libtool-1.5.22
libvorbis-1.1.2
libwnck-2.14.2
libxml2-2.6.26
libxslt-1.1.17
lzo-2.02
m4-1.4.8
madplay-0.15.2b
make-3.80
Module-Build-0.2805
Module-Pluggable-3.1
mpfr-2.2.1
mpg123-0.61
ncurses-5.5
nedit-5.5-src
opencdk-0.5.9
openssl-0.9.8d
ORBit2-2.14.2
pango-1.14.8
pa_snapshot_v18
popt-1.6.4
readline-5.1
scrollkeeper-0.3.14
sox-12.18.2
speex-1.1.12
tcl8.4.14-src
texinfo-4.8a
tiff-3.8.2
tk8.4.14-src
vorbis-tools-1.1.1
vte-0.14.1
wxGTK-2.8.0
wxX11-2.6.3
zlib-1.2.3

--Sergei.

Applications From Scratch: http://appsfromscratch.berlios.de/

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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