> On 05/15/2012 11:49 PM, Lars Bamberger wrote:
> > [mutter won't compile due to missing headers from clutter]
> 
> They are located in /usr/include/clutter-1.0/clutter/x11 on my system 
> and I did not pass any extra options to the Clutter instructions.

That was it, thanks!

I went through the dependencies again (even recompiled the kernel to get DRI to 
work) and this is what I found:

1.) I need to pass --enable-x11-backend to clutter. Now everything is fine, 
mutter compiles without error.
Suggestion: Add this switch to clutter (in the book), as it does not hurt.
I have no idea why this switch is needed on my system. Please find attached the 
configure logs.

2.) It seems that the instructions in the book about Checking the Direct 
Rendering Infrastructure (DRI) Installation are not correct anymore. On the 
X.Org wiki [http://www.x.org/wiki/radeonBuildHowTo], at Checking for hardware 
3D acceleration, it is recommended to check via glxinfo.
Suggestion: The book should recommend to use glxinfo | head in order to find 
out if DRI is available. However, this might only apply for the radeon driver, 
others might still have direct rendering: Yes in Xorg.log.


Lars
Script started on Mi 16 Mai 2012 21:12:37 CEST
[?1034hhermes~/build/clutter-1.10.4> ./configure --prefix=/usr
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 how to create a ustar tar archive... gnutar
checking whether make supports nested variables... yes
checking for a sed that does not truncate output... /bin/sed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking if building for some Win32 platform... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 OpenGL/gl.h usability... no
checking OpenGL/gl.h presence... no
checking for OpenGL/gl.h... no
checking GL/glx.h usability... yes
checking GL/glx.h presence... yes
checking for GL/glx.h... yes
checking for glXCreateContext in -lGL... no
checking whether gcc and cc understand -c and -o together... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu 
format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... 
func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) 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... no
checking for ANSI C header files... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.31.19... yes (version 2.32.1)
checking for -Bsymbolic-functions linker flag... yes
checking for GDK_PIXBUF... yes
checking for gcov... /usr/bin/gcov
checking whether to build with gcov testing... no
checking for CLUTTER_DEPS... yes
checking for gobject-introspection... yes
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for linguas... ar as ast az_IR be bg ca ca@valencia cs da de en_GB eo 
es fa fi fr gl he hi id it km kn lt lv mk nb nl or pa pl ps pt pt_BR ro ru sl 
sr sr@latin sv ta te tr ug uk ur yi zh_CN zh_HK zh_TW 
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h.win32
config.status: creating README
config.status: creating build/Makefile
config.status: creating build/autotools/Makefile
config.status: creating build/mingw/Makefile
config.status: creating build/win32/Makefile
config.status: creating build/win32/vs9/Makefile
config.status: creating build/win32/vs10/Makefile
config.status: creating clutter/Makefile
config.status: creating clutter/clutter-config.h
config.status: creating clutter/clutter-version.h
config.status: creating clutter/clutter-1.0.pc
config.status: creating clutter/cally/cally-1.0.pc
config.status: creating clutter/cex100/clutter-cex100.h
config.status: creating tests/Makefile
config.status: creating tests/accessibility/Makefile
config.status: creating tests/conform/Makefile
config.status: creating tests/conform/test-launcher.sh
config.status: creating tests/data/Makefile
config.status: creating tests/interactive/Makefile
config.status: creating tests/interactive/wrapper.sh
config.status: creating tests/micro-bench/Makefile
config.status: creating tests/performance/Makefile
config.status: creating doc/Makefile
config.status: creating doc/reference/Makefile
config.status: creating doc/reference/clutter/Makefile
config.status: creating doc/reference/clutter/clutter-docs.xml
config.status: creating doc/reference/cally/Makefile
config.status: creating doc/reference/cally/cally-docs.xml
config.status: creating doc/common/Makefile
config.status: creating doc/cookbook/Makefile
config.status: creating doc/cookbook/clutter-cookbook.xml
config.status: creating doc/cookbook/examples/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

Clutter - 1.10.4 (release)

 • Global:
        Prefix: /usr
        Libdir: ${exec_prefix}/lib
        Sysconfdir: ${prefix}/etc

 • Compiler options:
        Clutter debug level: minimum
        Compiler flags: -pipe 
        Profiling enabled: no
        Enable coverage tests: no
        Enable deprecated symbols: yes

 • Documentation:
        Build API Reference: no
        Build Additional Documentation: no (Generate PDF: no)

 • Extra:
        Build introspection data: auto
        Build conformance test suite: yes
        Build X11-specific tests: no
        Build tests using GDK-Pixbuf: yes

 • Clutter Backends:
        Windowing systems: gdk
        Input backends: gdk

hermes~/build/clutter-1.10.4> exit

Script done on Mi 16 Mai 2012 21:13:01 CEST
Script started on Mi 16 Mai 2012 21:21:24 CEST
[?1034hhermes~/build/clutter-1.10.4> ./configure --prefix=/usr 
--ana   enable-x11-backegnd   nd
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 how to create a ustar tar archive... gnutar
checking whether make supports nested variables... yes
checking for a sed that does not truncate output... /bin/sed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking if building for some Win32 platform... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 OpenGL/gl.h usability... no
checking OpenGL/gl.h presence... no
checking for OpenGL/gl.h... no
checking GL/glx.h usability... yes
checking GL/glx.h presence... yes
checking for GL/glx.h... yes
checking for glXCreateContext in -lGL... no
checking whether gcc and cc understand -c and -o together... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu 
format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... 
func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) 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... no
checking for ANSI C header files... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.31.19... yes (version 2.32.1)
checking for -Bsymbolic-functions linker flag... yes
checking for X11... found
checking for XEXT extension... found
checking for XFIXES extension >= 3... found
checking for XDAMAGE extension... found
checking for XCOMPOSITE extension >= 0.4... found
checking for XGetEventData... yes
checking X11/extensions/XInput2.h usability... yes
checking X11/extensions/XInput2.h presence... yes
checking for X11/extensions/XInput2.h... yes
checking for XIAllowTouchEvents... no
checking for XkbQueryExtension... yes
checking for GDK_PIXBUF... yes
checking for gcov... /usr/bin/gcov
checking whether to build with gcov testing... no
checking for CLUTTER_DEPS... yes
checking for CLUTTER_DEPS_PRIVATE... yes
checking for gobject-introspection... yes
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for linguas... ar as ast az_IR be bg ca ca@valencia cs da de en_GB eo 
es fa fi fr gl he hi id it km kn lt lv mk nb nl or pa pl ps pt pt_BR ro ru sl 
sr sr@latin sv ta te tr ug uk ur yi zh_CN zh_HK zh_TW 
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h.win32
config.status: creating README
config.status: creating build/Makefile
config.status: creating build/autotools/Makefile
config.status: creating build/mingw/Makefile
config.status: creating build/win32/Makefile
config.status: creating build/win32/vs9/Makefile
config.status: creating build/win32/vs10/Makefile
config.status: creating clutter/Makefile
config.status: creating clutter/clutter-config.h
config.status: creating clutter/clutter-version.h
config.status: creating clutter/clutter-1.0.pc
config.status: creating clutter/cally/cally-1.0.pc
config.status: creating clutter/cex100/clutter-cex100.h
config.status: creating tests/Makefile
config.status: creating tests/accessibility/Makefile
config.status: creating tests/conform/Makefile
config.status: creating tests/conform/test-launcher.sh
config.status: creating tests/data/Makefile
config.status: creating tests/interactive/Makefile
config.status: creating tests/interactive/wrapper.sh
config.status: creating tests/micro-bench/Makefile
config.status: creating tests/performance/Makefile
config.status: creating doc/Makefile
config.status: creating doc/reference/Makefile
config.status: creating doc/reference/clutter/Makefile
config.status: creating doc/reference/clutter/clutter-docs.xml
config.status: creating doc/reference/cally/Makefile
config.status: creating doc/reference/cally/cally-docs.xml
config.status: creating doc/common/Makefile
config.status: creating doc/cookbook/Makefile
config.status: creating doc/cookbook/clutter-cookbook.xml
config.status: creating doc/cookbook/examples/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

Clutter - 1.10.4 (release)

 • Global:
        Prefix: /usr
        Libdir: ${exec_prefix}/lib
        Sysconfdir: ${prefix}/etc

 • Compiler options:
        Clutter debug level: minimum
        Compiler flags: -pipe 
        Profiling enabled: no
        Enable coverage tests: no
        Enable deprecated symbols: yes

 • Documentation:
        Build API Reference: no
        Build Additional Documentation: no (Generate PDF: no)

 • Extra:
        Build introspection data: auto
        Build conformance test suite: yes
        Build X11-specific tests: yes
        Build tests using GDK-Pixbuf: yes

 • Clutter Backends:
        Windowing systems: x11 gdk
        Input backends: x11 gdk

     - X11 backend options:
        Enabled extensions: xext xfixes xdamage xcomposite xge xi2.0 xkb

hermes~/build/clutter-1.10.4> exit

Script done on Mi 16 Mai 2012 21:22:16 CEST
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to