Re: Native Gtk2-Perl apps on Mac OS X



Forgive me if someone's already posted about doing this: having installed
the GTK+ package from Imendio (gtk-osx.org) on my Macbook I found installing
the Gtk2-Perl mods pretty easy.

I installed the GTK+ package from Imendio. However, Cairo compilation
fails with the following error.

[snip]

/usr/bin/gcc-4.0 -c  -I. -Ibuild
-I/Library/Frameworks/Cairo.framework/Headers
-I/usr/local/include/freetype2 -I/usr/local/include
-I/opt/local/include/cairo -I/opt/local/include -I/opt/local/include
-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/opt/local/include -O3
-DVERSION=\"1.060\" -DXS_VERSION=\"1.060\"
"-I/opt/local/lib/perl5/5.8.8/darwin-2level/CORE"   CairoFt.c
CairoFt.c: In function 'XS_Cairo__FtFontFace_create':
CairoFt.c:30: error: 'FT_Face' undeclared (first use in this function)
CairoFt.c:30: error: (Each undeclared identifier is reported only once
CairoFt.c:30: error: for each function it appears in.)
CairoFt.c:30: error: parse error before 'face'
CairoFt.c:34: error: 'face' undeclared (first use in this function)
CairoFt.xs:17: warning: assignment makes pointer from integer without a cast
make: *** [CairoFt.o] Error 1

[/snap]

My guess is this has something to do with freetype. Is that correct?
Is there a way I can compile Cairo without freetype?

Regards,

_Ofey



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