I was able to compile 1.4.6 just fine for all of these platforms, but I had trouble with 1.6.4. I am using gcc 4.1.2 to compile. I am more than happy to test any patches. I was able to compile 1.6.4 just fine for FC3, RHEL3, RHEL4, and RHEL5. sol 8, sparc 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: -I/cpd/misc/include/freetype2 -I/cpd/misc/include -I/cpd/misc/include -I/cpd/misc/include/libpng12 -DXTHREADS -I/cpd/X11R6/include -I/cpd/X11R6/include -I/cpd/X11R6/include/pixman-1 -Wall -Wextra -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 -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing gcc -DHAVE_CONFIG_H -I. -I.. -I/cpd/misc/include -I/cpd/X11R6/include -I. -I/cpd/misc/include/freetype2 -I/cpd/misc/include -I/cpd/misc/include -I/cpd/misc/include/libpng12 -DXTHREADS -I/cpd/X11R6/include -I/cpd/X11R6/include -I/cpd/X11R6/include/pixman-1 -Wall -Wextra -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 -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing -O3 -MT libcairo_la-cairo-ps-surface.lo -MD -MP -MF .deps/libcairo_la-cairo-ps-surface.Tpo -c cairo-ps-surface.c -fPIC -DPIC -o .libs/libcairo_la-cairo-ps-surface.o cairo-ps-surface.c: In function '_cairo_ps_surface_emit_header': cairo-ps-surface.c:110: error: implicit declaration of function 'ctime_r' cairo-ps-surface.c:110: warning: nested extern declaration of 'ctime_r' cairo-ps-surface.c:115: warning: format '%s' expects type 'char *', but argument 5 has type 'int' gmake[2]: *** [libcairo_la-cairo-ps-surface.lo] Error 1 gmake[2]: Leaving directory `/cpd/src/gnu/cairo/cairo-1.6.4/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/cpd/src/gnu/cairo/cairo-1.6.4' gmake: *** [all] Error 2 sol 10, sparc 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: -I/cpd/misc/include/freetype2 -I/cpd/misc/include -I/cpd/misc/include -I/cpd/misc/include/libpng12 -I/cpd/X11R6/include -I/cpd/X11R6/include/pixman-1 -Wall -Wextra -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 -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing gcc -DHAVE_CONFIG_H -I. -I.. -I/cpd/misc/include -I/cpd/X11R6/include -I. -I/cpd/misc/include/freetype2 -I/cpd/misc/include -I/cpd/misc/include -I/cpd/misc/include/libpng12 -I/cpd/X11R6/include -I/cpd/X11R6/include/pixman-1 -Wall -Wextra -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 -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing -O3 -MT libcairo_la-cairo-ps-surface.lo -MD -MP -MF .deps/libcairo_la-cairo-ps-surface.Tpo -c cairo-ps-surface.c -fPIC -DPIC -o .libs/libcairo_la-cairo-ps-surface.o cairo-ps-surface.c: In function '_cairo_ps_surface_emit_header': cairo-ps-surface.c:110: error: too few arguments to function 'ctime_r' gmake[2]: *** [libcairo_la-cairo-ps-surface.lo] Error 1 gmake[2]: Leaving directory `/cpd/src/gnu/cairo/cairo-1.6.4/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/cpd/src/gnu/cairo/cairo-1.6.4' gmake: *** [all] Error 2 sol 10, x86 gcc -DHAVE_CONFIG_H -I. -I.. -I/cpd/misc/include -I/cpd/X11R6/include -I. -I/cpd/misc/include/freetype2 -I/cpd/misc/include -I/cpd/X11R6/include -I/cpd/misc/include/libpng12 -I/usr/openwin/include -I/cpd/X11R6/include/pixman-1 -Wall -Wextra -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 -Wno-unused-parameter -Wno-long-long -Winline -fno-strict-aliasing -O3 -MT libcairo_la-cairo-ps-surface.lo -MD -MP -MF .deps/libcairo_la-cairo-ps-surface.Tpo -c cairo-ps-surface.c -fPIC -DPIC -o .libs/libcairo_la-cairo-ps-surface.o cairo-ps-surface.c: In function `_cairo_ps_surface_emit_header': cairo-ps-surface.c:110: error: too few arguments to function `ctime_r' cairo-ps-surface.c: At top level: cairo-ps-surface.c:3189: warning: missing initializer cairo-ps-surface.c:3189: warning: (near initialization for `cairo_ps_surface_backend.is_similar') gmake[2]: *** [libcairo_la-cairo-ps-surface.lo] Error 1 gmake[2]: Leaving directory `/cpd/src/gnu/cairo/cairo-1.6.4/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/cpd/src/gnu/cairo/cairo-1.6.4' gmake: *** [all] Error 2
*** This bug has been marked as a duplicate of bug 15463 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.