Martin Costabel wrote:
[]
> This is caused by the gtk+ update. I think it is due to the fact that
> 
>   pkg-config --libs gdk-x11-2.0
> 
> used to give something like
> 
> -L/sw/lib/pango-ft219/lib -L/sw/lib/freetype219/lib 
> -L/sw/lib/fontconfig2/lib -L/sw/lib -L/usr/X11R6/lib 
> -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices 
> -lgdk-x11-2.0 -lXrandr -lXrender -lXinerama -lXext -lX11 
> -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXcursor -lcairo -lpangoft2-1.0 
> -lpango-1.0 -lm -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 
> -lglib-2.0 -lintl -liconv
> 
> and now gives only
> 
> -L/sw/lib/pango-ft219/lib -L/sw/lib -lgdk-x11-2.0 -lgdk_pixbuf-2.0 
> -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 
> -lglib-2.0 -lintl

This looks really like a bug in gdk-x11-2.0.pc (from gtk+2). After all, 
libgdk-x11-2.0.dylib *is* linked to all these X11 dylibs. Now whether 
wxgtk should rely on gdk-x11-2.0.pc to bring the X11 libs on the linker 
line is a different question. As an ugly workaround, adding

-L/usr/X11R6/lib -lXrandr -lXrender -lXinerama -lXext -lX11

to the SetLDFLAGS: line lets wxgtk2.8 build for me again.

-- 
Martin






-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to