Uh-oh, Now wxgtk2.8 builds fine, plplot chokes on it. On my system, wx.h et al. are in /sw/include/wx-2.8/wx/
- Koen. ... if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I../include -I/sw/lib/ freetype219/include/freetype2 -I/sw/include/glib-2.0 -I/sw/lib/ glib-2.0/include -I/sw/include/pango-1.0 -I/usr/X11R6/include -I/usr/ X11R6/include/freetype2 -I/sw/include/gtk-2.0 -I/sw/include/atk-1.0 -I/ sw/lib/gtk-2.0/include -I/sw/include/libart-2.0 -I/sw/include/libxml2 - I/sw/include -I/sw/include/libgnomecanvas-2.0 -I/sw/include/ libgnomeprint-2.2 -I/sw/include/libgnomeprintui-2.2 -I/sw/include/ glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pygtk-2.0 -g -O2 - MT wxwidgets.lo -MD -MP -MF ".deps/wxwidgets.Tpo" -c -o wxwidgets.lo wxwidgets.cpp; \ then mv -f ".deps/wxwidgets.Tpo" ".deps/wxwidgets.Plo"; else rm -f ".deps/wxwidgets.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I../ include -I/sw/lib/freetype219/include/freetype2 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pango-1.0 -I/usr/X11R6/ include -I/usr/X11R6/include/freetype2 -I/sw/include/gtk-2.0 -I/sw/ include/atk-1.0 -I/sw/lib/gtk-2.0/include -I/sw/include/libart-2.0 -I/ sw/include/libxml2 -I/sw/include -I/sw/include/libgnomecanvas-2.0 -I/ sw/include/libgnomeprint-2.2 -I/sw/include/libgnomeprintui-2.2 -I/sw/ include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pygtk-2.0 -g -O2 -MT wxwidgets.lo -MD -MP -MF .deps/wxwidgets.Tpo -c wxwidgets.cpp -fno-common -DPIC -o .libs/wxwidgets.o wxwidgets.cpp:52:19: error: wx/wx.h: No such file or directory wxwidgets.cpp:53:23: error: wx/except.h: No such file or directory wxwidgets.cpp:54:22: error: wx/image.h: No such file or directory wxwidgets.cpp:55:24: error: wx/filedlg.h: No such file or directory wxwidgets.cpp:56:24: error: wx/display.h: No such file or directory ... make[2]: *** [wxwidgets.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 ### execution of /var/tmp/tmp.0.VtttbU failed, exit code 2 ### execution of /var/tmp/tmp.3.YOqTi1 failed, exit code 2 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-plplot-5.8.0-1003 (Reading database ... 75820 files and directories currently installed.) Removing fink-buildlock-plplot-5.8.0-1003 ... Failed: phase compiling: plplot-5.8.0-1003 failed On Jan 6, 2008, at 1:32 PM, Martin Costabel wrote: > Jean-François Mertens wrote: > [] >> wxgtk2.8 should not link with cairo _ cf first few lines of the >> CompileScript, they are quite explicit about it. >> >> In particular, the line export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:%p/ >> lib/freetype219/lib/pkgconfig >> is commented out, so no freetype2.pc file is accessible to pkg-config > > Not true on 10.5, see below. > >> This leads in build/config.log to : >> configure:47047: checking for CAIRO >> configure:47055: $PKG_CONFIG --exists --print-errors "cairo" >> Package freetype2 was not found in the pkg-config search path. > > Not surprisingly, I get something different: > > configure:47050: checking for CAIRO > configure:47058: $PKG_CONFIG --exists --print-errors "cairo" > configure:47061: $? = 0 > configure:47076: $PKG_CONFIG --exists --print-errors "cairo" > configure:47079: $? = 0 > configure:47117: result: yes > >> Thus wxUSE_GRAPHICS_CONTEXT is not set, >> and hence in src/generic/graphicc.cpp the >> #if wxUSE_GRAPHICS_CONTEXT >> on line 41 causes the #include <cairo.h> to be skipped >> >> Why does this not apply on your machine ? > > Because Leopard ships with /usr/X11/lib/pkgconfig/freetype2.pc and > Fink's pkg-config places /usr/X11R6/lib/pkgconfig:/usr/X11/lib/ > pkgconfig > on the default PKG_CONFIG_PATH. > > Maybe we should have two different plplot packages for Tiger and > Leopard? 5.8.0-1002 compiles OK on Leopard and 5.8.0-1003 on Tiger > (haven't had time to build the -nognome variants, though). > > -- > Martin > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Fink-devel mailing list > Fink-devel@lists.sourceforge.net > http://news.gmane.org/gmane.os.apple.fink.devel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel