[cairo] problem building cairo 1.6.4 on slightly older linux
Charles Doutriaux
doutriaux1 at llnl.gov
Wed Jun 4 09:48:49 PDT 2008
Hi,
I'm running into problems trying to build cairo on a slightly older linux.
uname -a
Linux casserver 2.4.18-14smp #1 SMP Wed Sep 4 12:34:47 EDT 2002 i686 i686 i386 GNU/Linux
X11/extensions/Xrender.h is here but it doesn't seem to have XTransform in it
also here are some snipet of the configure, config.log and error messages:
configure:
[skdash at casserver cairo-1.6.4]$ ./configure
--prefix=/usr4/skdash/CDAT/Externals
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for find... /usr/bin/find
checking for xargs... /usr/bin/xargs
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking whether float word ordering is bigendian... no
checking for vasnprintf... no
checking for ctime_r... yes
checking for drand48... yes
checking for native atomic primitives... none
checking whether atomic ops require a memory barrier... no
checking for cos in -lm... yes
checking for compress in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0. <http://0.9.0.>.. yes
checking for pixman... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for cairo's Xlib backend...
checking for xlib... Package x11 was not found in the pkg-config search
path.
Perhaps you should add the directory containing `x11.pc'
to the PKG_CONFIG_PATH environment variable
No package 'x11' found
no
no
checking whether -R must be followed by a space... neither works
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether cairo's Xlib backend could be enabled... yes
configure: creating src/cairo-xlib.pc
checking for cairo's Xlib Xrender backend...
checking for xlib_xrender... Package xrender was not found in the
pkg-config search path.
Perhaps you should add the directory containing `xrender.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xrender' found
no
no
checking X11/extensions/Xrender.h usability... yes
checking X11/extensions/Xrender.h presence... yes
checking for X11/extensions/Xrender.h... yes
checking whether cairo's Xlib Xrender backend could be enabled... yes
configure: creating src/cairo-xlib-xrender.pc
checking for cairo's Quartz backend...
checking ApplicationServices/ApplicationServices.h usability... no
checking ApplicationServices/ApplicationServices.h presence... no
checking for ApplicationServices/ApplicationServices.h... no
checking CoreGraphics/CoreGraphics.h usability... no
checking CoreGraphics/CoreGraphics.h presence... no
checking for CoreGraphics/CoreGraphics.h... no
checking whether cairo's Quartz backend could be enabled... no
(CoreGraphics framework not found)
checking for cairo's Quartz font backend...
checking whether cairo's Quartz font backend could be enabled... no
(CoreGraphics framework not found)
checking for native Win32... no
config.status: src/cairo-features.h is unchanged
config.status: executing src/cairo-no-features.h commands
config.status: creating src/cairo-no-features.h
config.status: src/cairo-no-features.h is unchanged
cairo (version 1.6.4) will be compiled with the following surface backends:
image: yes (always builtin)
Xlib: yes
Xlib Xrender: yes
Quartz: no (CoreGraphics framework not found)
Quartz-image: no (disabled, use --enable-quartz-image to enable)
XCB: no (disabled, use --enable-xcb to enable)
Win32: no (requires a Win32 platform)
OS2: no (disabled, use --enable-os2 to enable)
PostScript: yes
PDF: yes
SVG: yes
glitz: no (disabled, use --enable-glitz to enable)
BeOS: no (disabled, use --enable-beos to enable)
DirectFB: no (disabled, use --enable-directfb to enable)
the following font backends:
FreeType: yes
Win32: no (requires a Win32 platform)
Quartz: no (CoreGraphics framework not found)
the following features:
PNG functions: yes
and the following debug options:
gcov support: no
test surfaces: no
ps testing: yes
pdf testing: no (requires poppler-glib >= 0.8.0)
svg testing: no (requires librsvg-2.0 >= 2.15.0)
using CFLAGS:
config:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by cairo configure 1.6.4, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure --prefix=/usr4/skdash/CDAT/Externals
## --------- ##
## Platform. ##
## --------- ##
hostname = casserver
uname -m = i686
uname -r = 2.4.18-14smp
uname -s = Linux
uname -v = #1 SMP Wed Sep 4 12:34:47 EDT 2002
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/kerberos/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
make error message:
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr4/skdash/CDAT/Externals/include
-I/usr4/skdash/CDAT/Externals/NetCDF/inc
lude -I. -I/usr4/skdash/CDAT/Externals/include/freetype2
-I/usr4/skdash/CDAT/Externals/include -I/usr4/skdas
h/CDAT/Externals/include -I/usr4/skdash/CDAT/Externals/include/libpng12
-I/usr/X11R6/include -I/usr4/skdash/
CDAT/Externals/include/pixman-1 -Wall -Wsign-compare
-Werror-implicit-function-declaration -Wpointer-arith -
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Wpacked -Wm
issing-format-attribute -Wno-unused-parameter -Wno-long-long -Winline
-fno-strict-aliasing -I/usr/X11R6/incl
ude -g -O2 -MT libcairo_la-cairo-xlib-surface.lo -MD -MP -MF
.deps/libcairo_la-cairo-xlib-surface.Tpo -c cai
ro-xlib-surface.c -fPIC -DPIC -o .libs/libcairo_la-cairo-xlib-surface.o
In file included from cairo-xlib-surface.c:42:
cairo-xlib-surface-private.h:93: parse error before "XTransform"
cairo-xlib-surface-private.h:93: warning: no semicolon at end of struct
or union
cairo-xlib-surface-private.h:99: parse error before '}' token
cairo-xlib-surface.c:92: parse error before "identity"
cairo-xlib-surface.c:92: warning: type defaults to `int' in declaration
of `identity'
cairo-xlib-surface.c:92: warning: braces around scalar initializer
cairo-xlib-surface.c:92: warning: (near initialization for `identity')
cairo-xlib-surface.c:93: warning: braces around scalar initializer
cairo-xlib-surface.c:93: warning: (near initialization for `identity')
cairo-xlib-surface.c:93: warning: excess elements in scalar initializer
cairo-xlib-surface.c:93: warning: (near initialization for `identity')
cairo-xlib-surface.c:93: warning: excess elements in scalar initializer
cairo-xlib-surface.c:93: warning: (near initialization for `identity')
cairo-xlib-surface.c:94: warning: braces around scalar initializer
cairo-xlib-surface.c:94: warning: (near initialization for `identity')
cairo-xlib-surface.c:94: warning: excess elements in scalar initializer
cairo-xlib-surface.c:94: warning: (near initialization for `identity')
cairo-xlib-surface.c:94: warning: excess elements in scalar initializer
cairo-xlib-surface.c:94: warning: (near initialization for `identity')
cairo-xlib-surface.c:94: warning: excess elements in scalar initializer
cairo-xlib-surface.c:94: warning: (near initialization for `identity')
cairo-xlib-surface.c:95: warning: braces around scalar initializer
cairo-xlib-surface.c:95: warning: (near initialization for `identity')
cairo-xlib-surface.c:95: warning: excess elements in scalar initializer
More information about the cairo
mailing list