[cairo] Installing Cairo on OS X 10.4.8
Joe Koski
jkoski11 at comcast.net
Wed Oct 4 09:55:30 PDT 2006
Hi,
As part of an effort to build a wxterminal for the new gnuplot-4.2, I need
cairo and pango. I'm working on a G5 Macintosh with OS X 10.4.8 and
Xcode-2.4 developer tools. I'm attempting to build cairo-1.2.4.
When I check config.log after ./configure, I see the following:
<snip>
configure:3891: gcc -E conftest.c
configure:3897: $? = 0
configure:3935: gcc -E conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:3941: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "cairo"
| #define PACKAGE_TARNAME "cairo"
| #define PACKAGE_VERSION "1.2.4"
| #define PACKAGE_STRING "cairo 1.2.4"
| #define PACKAGE_BUGREPORT
"http://bugs.freedesktop.org/enter_bug.cgi?product=cairo"
| #define PACKAGE "cairo"
| #define VERSION "1.2.4"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3981: result: gcc -E
configure:4010: gcc -E conftest.c
configure:4016: $? = 0
configure:4054: gcc -E conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:4060: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "cairo"
| #define PACKAGE_TARNAME "cairo"
| #define PACKAGE_VERSION "1.2.4"
| #define PACKAGE_STRING "cairo 1.2.4"
| #define PACKAGE_BUGREPORT
"http://bugs.freedesktop.org/enter_bug.cgi?product=cairo"
| #define PACKAGE "cairo"
| #define VERSION "1.2.4"
| /* end confdefs.h. */
etc. etc. There are many more errors, but I suspect this sets the stage.
Attempting the make with the errors results in the following:
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I. -I../pixman/src -I/usr/local/include/libpng12 -Wall
-Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum
-Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self
-Wdeclaration-after-statement -Wold-style-definition -fno-strict-aliasing
-g -O2 -MT cairo-font.lo -MD -MP -MF ".deps/cairo-font.Tpo" -c -o
cairo-font.lo cairo-font.c; \
then mv -f ".deps/cairo-font.Tpo" ".deps/cairo-font.Plo"; else rm -f
".deps/cairo-font.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src
-I/usr/local/include/libpng12 -Wall -Wsign-compare
-Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute
-Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement
-Wold-style-definition -fno-strict-aliasing -g -O2 -MT cairo-font.lo -MD -MP
-MF .deps/cairo-font.Tpo -c cairo-font.c -fno-common -DPIC -o
.libs/cairo-font.o
cairo-font.c: In function '_cairo_toy_font_face_scaled_font_create':
cairo-font.c:422: error: 'CAIRO_SCALED_FONT_BACKEND_DEFAULT' undeclared
(first use in this function)
cairo-font.c:422: error: (Each undeclared identifier is reported only once
cairo-font.c:422: error: for each function it appears in.)
make[3]: *** [cairo-font.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Joe-Koskis-Computer:/Tools/cairo-1.2.4 jakoski$
Anyone got any ideas? Thanks.
Joe
More information about the cairo
mailing list