glib2 and gtk2

LiNuCe linuce at free.fr
Fri Aug 9 19:50:15 CEST 2002


Hi !

You should try to set PKG_CONFIG_PATH to something like
/usr/local/lib/pkconfig if, for example, you have installed your GLIB
2.x in /usr/local : pkg-config try to find a proper *.pc file for glib2
to get CFLAGS and LIBS stuff and will search in PKG_CONFIG_PATH.
(pkg-config is used by recent configure script to get CFLAGS and LIBS to
compile a sample and see if the software works properly).

If it didn't work that way, I would suggest you to try a release glib2
version (and to set PKG_CONFIG_PATH if needed). Never use devel version
for software you daily use, unless you plan to contribute ...

-- 
LiNuCe !

On Mon, 29 Jul 2002 10:42:30 -0700, "Net Llama!" wrote:
>
> Collins wrote:
> > On Sun, 28 Jul 2002 18:35:35 -0700 "Net Llama!"
> > <netllama at linux-sxs.org> wrote:
> > 
> >>I'm using the latest stable version, 0.12.
> >>
> >>wmluck02 wrote:
> >>
> >>>I tried this also and ended up getting nothing, but i got
> >>>everything compiled...i think you are missing the newest version
> >>>of pkg-config...
> >>>
> >>>
> >>>
> >>>>===== Original Message From "Net Llama!" <netllama at linux-sxs.org>
> >>>
> >>>=====>Greetings,
> >>>
> >>>>I realize that this is a tad off topic for this list, so I
> >>>
> >>>apologize in>advance.  I'm trying to get glib2 and gtk2 installed
> >>>in Linux, so that I>can give xfce4 a whirl.  Unfortunately, its not
> >>>going too well.>
> >>>
> >>>>I successfully rebuilt & installed an SRPM of glib2:
> >>>>glib2-2.0.6.0.200207270434-0.snap.ximian.1
> >>>>
> >>>>However, when I attempt to build atk or pango (on the road to
> >>>
> >>>gtk2),>both bomb out like this:
> >>>
> >>>>checking for GLIB - version >= 2.0.0... no
> >>>>*** Could not run GLIB test program, checking why...
> >>>>*** The test program failed to compile or link. See the file
> >>>
> >>>config.log>for the
> >>>
> >>>>*** exact error that occured. This usually means GLIB is
> >>>
> >>>incorrectly>installed.
> >>>
> >>>>configure: error:
> >>>>*** GLIB 2.0.0 or better is required. The latest version of
> >>>>*** GLIB is always available from ftp://ftp.gtk.org/.
> >>>>
> >>>
> >>>>From what i can gather, pkg-config is checking the version of
> >>>glib, and>seein only the 1.2.10 version, since the glib2 version is
> >>>registered as>'glib2-2.0.6' rather than glib-2.0.6'.  However i
> >>>just don't know how to>force it to seeing the correct version.
> >>>
> >>>>I should note that i've still got glib-1.2.10 and gtk-1.2.10
> >>>
> >>>installed,>and have no desire to remove either until they become
> >>>obsolete.  I've>also got xfce-3.8.16 installed, and running quite
> >>>well.>
> >>>
> >>>>Any suggestions would be greatly appreciated.
> >>>>
> >>>
> > 
> > OK, another thought.  My supposed bleeding edge system has
> > gtk+-2.0.5-r2 and glib-2.0.4-r1 and pkg-config-0.12.0.  Maybe
> > glib2-2.0.6.0.200207270434-0 is a little too far ahead of the curve?
> 
> Truth be told, i also had 2.0.4 installed, and that failed to work too.
> 
> -- 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> L. Friedman                       	       netllama at linux-sxs.org
> Linux Step-by-step & TyGeMo: 		    http://netllama.ipfox.com
> 
>   10:30am  up 101 days, 17:14,  1 user,  load average: 0.15, 0.06, 0.12
> 
> _______________________________________________
> Xfce mailing list
> Xfce at moongroup.com
> http://moongroup.com/mailman/listinfo/xfce

-- 
LiNuCe !



More information about the Xfce mailing list