Just to add to the discussion, when building wxgtk2.8-2.8.0-2, I get a  
lot of error messages for missing cairo files, such as:

../src/generic/graphicc.cpp:101:19: error: cairo.h: No such file or  
directory

The config.log file reads:

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

This is on an iMac G5, OS X 10.5.1.


- Koen.


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

Reply via email to