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

Re: gEDA-user: one fix for building under Solaris



On Mon, 2009-01-05 at 14:52 -0500, Dave McGuire wrote:
>    PKG_CONFIG_PATH seems to be the culprit here.  With it trimmed to  
> this:
> 
> /usr/local/geda-cairo/lib/pkgconfig:/usr/local/lib/pkgconfig
> 
>    ...I get:
> 
> checking for GDK... no
> configure: error: Cannot find gdk, please make sure it is installed.
> make: *** [libgeda/config.h] Error 1
> 
>    This suggests that the GDK installation it found earlier was  
> elsewhere in the system.  Now, I've just installed gtk+  
> v2.14.6...shouldn't GDK be a part of that?

GDK is a part of GTK, yes. Can you find it's ".pc" file in the above
package-config search path?

For example, my system installed one:

/usr/lib/pkgconfig/gdk-2.0.pc 

Try PKG_CONFIG_PATH=.......  pkg-config --modversion gtk+-2.0
and PKG_CONFIG_PATH=.......  pkg-config --modversion gdk+-2.0

I suspect that when you built GTK, it relied on some further package
that it happily groped from somewhere else on your system. Now you've
cut it off from finding its dependencies, the test for a functioning GDK
via pkg-config will fail.

I've been misled by this before. You just need to poke pkg-config
its-self until you discover what the missing dependency is.

Now I can see why they invented ports, dpkg, apt-get etc ;)

(Peter - who is currently in .deb package hell trying to build some
-devel snapshot .debs).

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user