Hi,<br><br>I'm attempting to build the current gnome-2.24 with jhbuild (rev 2033), and am stuck at configuring cairo-1.6.4 - the check for xlib and png fails. Strangely, when I manually run ./configure in cairo, there are no problems. The problem only occurs when jhbuild runs ./configure. <br>
<br>I'm running Ubuntu 8.04 on i386. Any ideas on what I need to do to get a complete jhbuild?<br><br>Thanks,<br>Jeremiah<br><br><br>Below is the output of the relevant section from jhbuild, and after that, the successful output by my own manual ./configure<br>
<br>----begin-----jhbuild-------<br>./configure --prefix /home/jeremiah/prefix --libdir '${exec_prefix}/lib' --disable-static --disable-gtk-doc<br>.<br>.<br>.<br>checking for zlib.h... yes<br>checking for pkg-config... /home/jeremiah/prefix/bin/pkg-config<br>
checking pkg-config is at least version <a href="http://0.9.0." target="_blank">0.9.0.</a>.. yes<br>checking for pixman... yes<br>checking for X... libraries , headers<br>checking for cairo's Xlib backend...<br>checking for xlib... no<br>
no<br>checking for gethostbyname... yes<br>checking for connect... yes<br>checking for remove... yes<br>checking for shmat... yes<br>checking for IceConnectionNumber in -lICE... yes<br>checking whether cairo's Xlib backend could be enabled... yes<br>
configure: creating src/cairo-xlib.pc<br>checking for cairo's Xlib Xrender backend...<br>checking for xlib_xrender... no<br>no<br>checking X11/extensions/Xrender.h usability... yes<br>checking X11/extensions/Xrender.h presence... yes<br>
checking for X11/extensions/Xrender.h... yes<br>checking whether cairo's Xlib Xrender backend could be enabled... yes<br>configure: creating src/cairo-xlib-xrender.pc<br>checking for cairo's Quartz backend...<br>
checking ApplicationServices/ApplicationServices.h usability... no<br>
checking ApplicationServices/ApplicationServices.h presence... no<br>checking for ApplicationServices/ApplicationServices.h... no<br>checking CoreGraphics/CoreGraphics.h usability... no<br>checking CoreGraphics/CoreGraphics.h presence... no<br>
checking for CoreGraphics/CoreGraphics.h... no<br>checking whether cairo's Quartz backend could be enabled... no (CoreGraphics framework not found)<br>checking for cairo's Quartz font backend...<br>checking whether cairo's Quartz font backend could be enabled... no (CoreGraphics framework not found)<br>
checking for native Win32... no<br>checking windows.h usability... no<br>checking windows.h presence... no<br>checking for windows.h... no<br>checking for cairo's Microsoft Windows backend...<br>checking whether cairo's Microsoft Windows backend could be enabled... no (requires a Win32 platform)<br>
checking for cairo's Microsoft Windows font backend...<br>checking whether cairo's Microsoft Windows font backend could be enabled... no (requires a Win32 platform)<br>checking for cairo's PNG backend...<br>configure: WARNING: Could not find libpng in the pkg-config search path<br>
checking whether cairo's PNG backend could be enabled... no<br>configure: error: requested PNG backend could not be enabled<br>*** error during stage configure of cairo: ########## Error running ./configure --prefix /home/jeremiah/prefix --libdir '${exec_prefix}/lib' --disable-static --disable-gtk-doc *** [15/77]<br>
----end-----jhbuild-------<br><br><br>----begin-----manual-------<br>jeremiah@ubook:~/cairo-1.6.4$ ./configure --prefix /home/jeremiah/prefix --libdir '${exec_prefix}/lib' --disable-static --disable-gtk-doc<br>.<br>
.<br>.<br>checking for zlib.h... yes<br>checking for pkg-config... /usr/bin/pkg-config<br>checking pkg-config is at least version <a href="http://0.9.0." target="_blank">0.9.0.</a>.. yes<br>checking for pixman... yes<br>
checking for X... libraries , headers<br>
checking for cairo's Xlib backend...<br>checking for xlib... yes<br>checking whether cairo's Xlib backend could be enabled... yes<br>configure: creating src/cairo-xlib.pc<br>checking for cairo's Xlib Xrender backend...<br>
checking for xlib_xrender... yes<br>checking whether cairo's Xlib Xrender backend could be enabled... yes<br>configure: creating src/cairo-xlib-xrender.pc<br>checking for cairo's Quartz backend...<br>checking ApplicationServices/ApplicationServices.h usability... no<br>
checking ApplicationServices/ApplicationServices.h presence... no<br>checking for ApplicationServices/ApplicationServices.h... no<br>checking CoreGraphics/CoreGraphics.h usability... no<br>checking CoreGraphics/CoreGraphics.h presence... no<br>
checking for CoreGraphics/CoreGraphics.h... no<br>checking whether cairo's Quartz backend could be enabled... no (CoreGraphics framework not found)<br>checking for cairo's Quartz font backend...<br>checking whether cairo's Quartz font backend could be enabled... no (CoreGraphics framework not found)<br>
checking for native Win32... no<br>checking windows.h usability... no<br>checking windows.h presence... no<br>checking for windows.h... no<br>checking for cairo's Microsoft Windows backend...<br>checking whether cairo's Microsoft Windows backend could be enabled... no (requires a Win32 platform)<br>
checking for cairo's Microsoft Windows font backend...<br>checking whether cairo's Microsoft Windows font backend could be enabled... no (requires a Win32 platform)<br>checking for cairo's PNG backend...<br>checking for png... yes<br>
checking whether cairo's PNG backend could be enabled... yes<br>configure: creating src/cairo-png.pc<br>checking for cairo's FreeType font backend...<br>checking for FONTCONFIG... yes<br>checking for FcFini... yes<br>
checking for FREETYPE... yes<br>checking whether cairo's FreeType font backend could be enabled... yes<br>configure: creating src/cairo-ft.pc<br>checking for FT_Bitmap_Size.y_ppem... yes<br>checking for FT_GlyphSlot_Embolden... yes<br>
checking for FT_Load_Sfnt_Table... yes<br>checking pthread.h usability... yes<br>checking pthread.h presence... yes<br>checking for pthread.h... yes<br>checking for cairo's PostScript backend...<br>checking whether cairo's PostScript backend could be enabled... yes<br>
configure: creating src/cairo-ps.pc<br>checking for gs... gs<br>checking for cairo's PDF backend...<br>checking whether cairo's PDF backend could be enabled... yes<br>configure: creating src/cairo-pdf.pc<br>checking for POPPLER... no<br>
no<br>configure: WARNING: PDF backend will not be tested since poppler >= 0.8.0 is not available<br>checking for cairo's SVG backend...<br>checking whether cairo's SVG backend could be enabled... yes<br>configure: creating src/cairo-svg.pc<br>
checking for LIBRSVG... no<br>no<br>configure: WARNING: SVG backend will not be tested since librsvg >= 2.15.0 is not available<br>checking for stdint.h... (cached) yes<br>checking signal.h usability... yes<br>checking signal.h presence... yes<br>
checking for signal.h... yes<br>checking for inttypes.h... (cached) yes<br>checking sys/int_types.h usability... no<br>checking sys/int_types.h presence... no<br>checking for sys/int_types.h... no<br>checking for uint64_t... yes<br>
checking for uint128_t... no<br>checking sched.h usability... yes<br>checking sched.h presence... yes<br>checking for sched.h... yes<br>checking for sched_getaffinity... yes<br>checking for sched_yield in -lrt... yes<br>
checking libgen.h usability... yes<br>
checking libgen.h presence... yes<br>checking for libgen.h... yes<br>checking for supported warning flags...<br>checking whether gcc supports -Wall... yes<br>checking whether gcc supports -Wextra... yes<br>checking whether gcc supports -Wsign-compare... yes<br>
checking whether gcc supports -Werror-implicit-function-declaration... yes<br>checking whether gcc supports -Wpointer-arith... yes<br>checking whether gcc supports -Wwrite-strings... yes<br>checking whether gcc supports -Wstrict-prototypes... yes<br>
checking whether gcc supports -Wmissing-prototypes... yes<br>checking whether gcc supports -Wmissing-declarations... yes<br>checking whether gcc supports -Wnested-externs... yes<br>checking whether gcc supports -Wpacked... yes<br>
checking whether gcc supports -Wswitch-enum... yes<br>checking whether gcc supports -Wmissing-format-attribute... yes<br>checking whether gcc supports -Wstrict-aliasing=2... yes<br>checking whether gcc supports -Winit-self... yes<br>
checking whether gcc supports -Wunsafe-loop-optimizations... yes<br>checking whether gcc supports -Wdeclaration-after-statement... yes<br>checking whether gcc supports -Wold-style-definition... yes<br>checking whether gcc supports -Wno-missing-field-initializers... yes<br>
checking whether gcc supports -Wno-unused-parameter... yes<br>checking whether gcc supports -Wno-attributes... yes<br>checking whether gcc supports -Wno-long-long... yes<br>checking whether gcc supports -Winline... yes<br>
checking which warning flags were supported... -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<br>
checking how to enable unused result warnings... __attribute__((__warn_unused_result__))<br>checking whether gcc supports -fno-strict-aliasing... yes<br>checking for MMX/SSE intrinsics in the compiler... yes<br>configure: creating ./config.status<br>
config.status: creating Makefile<br>config.status: creating boilerplate/Makefile<br>config.status: creating src/Makefile<br>config.status: creating test/Makefile<br>config.status: creating test/pdiff/Makefile<br>config.status: creating perf/Makefile<br>
config.status: creating util/Makefile<br>config.status: creating doc/Makefile<br>config.status: creating doc/public/Makefile<br>config.status: creating doc/public/version.xml<br>config.status: creating src/cairo.pc<br>config.status: creating config.h<br>
config.status: executing depfiles commands<br>config.status: executing src/cairo-features.h commands<br>config.status: creating src/cairo-features.h<br>config.status: executing src/cairo-no-features.h commands<br>config.status: creating src/cairo-no-features.h<br>
<br>cairo (version 1.6.4) will be compiled with the following surface backends:<br> image: yes (always builtin)<br> Xlib: yes<br> Xlib Xrender: yes<br> Quartz: no (CoreGraphics framework not found)<br>
Quartz-image: no (disabled, use --enable-quartz-image to enable)<br> XCB: no (disabled, use --enable-xcb to enable)<br> Win32: no (requires a Win32 platform)<br> OS2: no (disabled, use --enable-os2 to enable)<br>
PostScript: yes<br> PDF: yes<br> SVG: yes<br> glitz: no (disabled, use --enable-glitz to enable)<br> BeOS: no (disabled, use --enable-beos to enable)<br> DirectFB: no (disabled, use --enable-directfb to enable)<br>
<br>the following font backends:<br> FreeType: yes<br> Win32: no (requires a Win32 platform)<br> Quartz: no (CoreGraphics framework not found)<br><br>the following features:<br> PNG functions: yes<br>
<br>and the following debug options:<br> gcov support: no<br> test surfaces: no<br> ps testing: yes<br> pdf testing: no (requires poppler-glib >= 0.8.0)<br> svg testing: no (requires librsvg-2.0 >= 2.15.0)<br>
<br>using CFLAGS:<br>-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/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<br>
----end-----manual-------<br>