pkg-config incorrect about libglib2 version when compiling gtkglext. but correct .pc file is there

Tollef Fog Heen tfheen at err.no
Tue Dec 12 03:35:38 PST 2006


* mitchell phillip Laks 

| OK: so if I delete this guy I should be ok.
| 
| OK - so i must have been playing with installing all these libraries from source
| some time in the past (I forgot! that i used this machine for this - but now i
| learn what happens..)
| 
| 1) When I went in to the man page for pkg-config, i read
| By default, pkg-config looks in the directory prefix/lib/pkgconfig  for
|        these  files;
| i interpreted this to mean it looked in /usr/lib/pkgconfig. It never occured to
| me that there is also /usr/local/lib/pkgconfig to check.

stuff in /usr/local should override stuff in /usr (per Debian
policy).  It should be documented clearer in the documentation in
Debian though; please file a bug about that.

| So at this point I just moved /usr/local/lib/pkgconfig to
| /usr/local/lib/pkgconfig.old and then ran ./configure and then it compiled to
| the point of demanding opengl libraries (WHICH IS NOT A PCG_CONFIG issue :))

This shouldn't be needed.   (The moving of /usr/local/pkgconfig)

| When I tried to do the gtkglextmm compilation on a separate machine, 
| with the 'same' sid setup as this one -just not messed up by no prior
| compilations of atk pango and glib 
| (that i must have been playing with here on this machine when it was running
| sarge a while ago) 
| the other machine ./configure could not find the information on gtkglext even
| though I had just make installed gtkglext.

You're saying that you have a locally-compiled gtkglext installed to
/usr/local?  And you have an /usr/local/lib/pkgconfig/gtkglext.pc?
And the gtkglextmm configure fails to find gtkglext?

-- 
Tollef Fog Heen                                                        ,''`.
UNIX is user friendly, it's just picky about who its friends are      : :' :
                                                                      `. `' 
                                                                        `-  


More information about the pkg-config mailing list