[cairo] jhbuild help
Jeremiah .
maximumfantastic at gmail.com
Sat Apr 19 17:32:35 PDT 2008
I was able to fix the problem. It was with pkg-config. It seems the new
version of pkg-config 0.23 which was installed in my home directory by
jhbuild has a bug. I soft linked to the older 0.22 version provided by
ubuntu in /usr/bin and the configure script completed without error.
Please excuse the noise.
Jeremiah
On Sat, Apr 19, 2008 at 2:41 AM, Jeremiah . <maximumfantastic at gmail.com>
wrote:
> Hi,
>
> 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.
>
> I'm running Ubuntu 8.04 on i386. Any ideas on what I need to do to get a
> complete jhbuild?
>
> Thanks,
> Jeremiah
>
>
> Below is the output of the relevant section from jhbuild, and after that,
> the successful output by my own manual ./configure
>
> ----begin-----jhbuild-------
> ./configure --prefix /home/jeremiah/prefix --libdir '${exec_prefix}/lib'
> --disable-static --disable-gtk-doc
> .
> .
> .
> checking for zlib.h... yes
> checking for pkg-config... /home/jeremiah/prefix/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for pixman... yes
> checking for X... libraries , headers
> checking for cairo's Xlib backend...
> checking for xlib... no
> no
> 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... 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
> checking windows.h usability... no
> checking windows.h presence... no
> checking for windows.h... no
> checking for cairo's Microsoft Windows backend...
> checking whether cairo's Microsoft Windows backend could be enabled... no
> (requires a Win32 platform)
> checking for cairo's Microsoft Windows font backend...
> checking whether cairo's Microsoft Windows font backend could be
> enabled... no (requires a Win32 platform)
> checking for cairo's PNG backend...
> configure: WARNING: Could not find libpng in the pkg-config search path
> checking whether cairo's PNG backend could be enabled... no
> configure: error: requested PNG backend could not be enabled
> *** error during stage configure of cairo: ########## Error running
> ./configure --prefix /home/jeremiah/prefix --libdir '${exec_prefix}/lib'
> --disable-static --disable-gtk-doc *** [15/77]
> ----end-----jhbuild-------
>
>
> ----begin-----manual-------
> jeremiah at ubook:~/cairo-1.6.4$ ./configure --prefix /home/jeremiah/prefix
> --libdir '${exec_prefix}/lib' --disable-static --disable-gtk-doc
> .
> .
> .
> checking for zlib.h... yes
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for pixman... yes
> checking for X... libraries , headers
> checking for cairo's Xlib backend...
> checking for xlib... 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... 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
> checking windows.h usability... no
> checking windows.h presence... no
> checking for windows.h... no
> checking for cairo's Microsoft Windows backend...
> checking whether cairo's Microsoft Windows backend could be enabled... no
> (requires a Win32 platform)
> checking for cairo's Microsoft Windows font backend...
> checking whether cairo's Microsoft Windows font backend could be
> enabled... no (requires a Win32 platform)
> checking for cairo's PNG backend...
> checking for png... yes
> checking whether cairo's PNG backend could be enabled... yes
> configure: creating src/cairo-png.pc
> checking for cairo's FreeType font backend...
> checking for FONTCONFIG... yes
> checking for FcFini... yes
> checking for FREETYPE... yes
> checking whether cairo's FreeType font backend could be enabled... yes
> configure: creating src/cairo-ft.pc
> checking for FT_Bitmap_Size.y_ppem... yes
> checking for FT_GlyphSlot_Embolden... yes
> checking for FT_Load_Sfnt_Table... yes
> checking pthread.h usability... yes
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking for cairo's PostScript backend...
> checking whether cairo's PostScript backend could be enabled... yes
> configure: creating src/cairo-ps.pc
> checking for gs... gs
> checking for cairo's PDF backend...
> checking whether cairo's PDF backend could be enabled... yes
> configure: creating src/cairo-pdf.pc
> checking for POPPLER... no
> no
> configure: WARNING: PDF backend will not be tested since poppler >= 0.8.0
> is not available
> checking for cairo's SVG backend...
> checking whether cairo's SVG backend could be enabled... yes
> configure: creating src/cairo-svg.pc
> checking for LIBRSVG... no
> no
> configure: WARNING: SVG backend will not be tested since librsvg >= 2.15.0
> is not available
> checking for stdint.h... (cached) yes
> checking signal.h usability... yes
> checking signal.h presence... yes
> checking for signal.h... yes
> checking for inttypes.h... (cached) yes
> checking sys/int_types.h usability... no
> checking sys/int_types.h presence... no
> checking for sys/int_types.h... no
> checking for uint64_t... yes
> checking for uint128_t... no
> checking sched.h usability... yes
> checking sched.h presence... yes
> checking for sched.h... yes
> checking for sched_getaffinity... yes
> checking for sched_yield in -lrt... yes
> checking libgen.h usability... yes
> checking libgen.h presence... yes
> checking for libgen.h... yes
> checking for supported warning flags...
> checking whether gcc supports -Wall... yes
> checking whether gcc supports -Wextra... yes
> checking whether gcc supports -Wsign-compare... yes
> checking whether gcc supports -Werror-implicit-function-declaration... yes
> checking whether gcc supports -Wpointer-arith... yes
> checking whether gcc supports -Wwrite-strings... yes
> checking whether gcc supports -Wstrict-prototypes... yes
> checking whether gcc supports -Wmissing-prototypes... yes
> checking whether gcc supports -Wmissing-declarations... yes
> checking whether gcc supports -Wnested-externs... yes
> checking whether gcc supports -Wpacked... yes
> checking whether gcc supports -Wswitch-enum... yes
> checking whether gcc supports -Wmissing-format-attribute... yes
> checking whether gcc supports -Wstrict-aliasing=2... yes
> checking whether gcc supports -Winit-self... yes
> checking whether gcc supports -Wunsafe-loop-optimizations... yes
> checking whether gcc supports -Wdeclaration-after-statement... yes
> checking whether gcc supports -Wold-style-definition... yes
> checking whether gcc supports -Wno-missing-field-initializers... yes
> checking whether gcc supports -Wno-unused-parameter... yes
> checking whether gcc supports -Wno-attributes... yes
> checking whether gcc supports -Wno-long-long... yes
> checking whether gcc supports -Winline... yes
> 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
> checking how to enable unused result warnings...
> __attribute__((__warn_unused_result__))
> checking whether gcc supports -fno-strict-aliasing... yes
> checking for MMX/SSE intrinsics in the compiler... yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating boilerplate/Makefile
> config.status: creating src/Makefile
> config.status: creating test/Makefile
> config.status: creating test/pdiff/Makefile
> config.status: creating perf/Makefile
> config.status: creating util/Makefile
> config.status: creating doc/Makefile
> config.status: creating doc/public/Makefile
> config.status: creating doc/public/version.xml
> config.status: creating src/cairo.pc
> config.status: creating config.h
> config.status: executing depfiles commands
> config.status: executing src/cairo-features.h commands
> config.status: creating src/cairo-features.h
> config.status: executing src/cairo-no-features.h commands
> config.status: creating src/cairo-no-features.h
>
> 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/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
> ----end-----manual-------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20080419/2b01c695/attachment-0001.html
More information about the cairo
mailing list