GNOME Bugzilla – Bug 586394
Can't build due to dependency on Xrandr headers not checked:
Last modified: 2009-06-19 14:46:02 UTC
Running ./configure --enable-maintainer-mode --prefix /opt/gnome2 --libdir ${exec_prefix}/lib64 --with-gnome-distributor=JHBuild --disable-static --disable-scrollkeeper --disable-gtk-doc --enable-gtk-doc=no ... checking for a BSD-compatible install... /home/muelli/bin/install-check 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 whether to enable maintainer-specific portions of Makefiles... yes checking whether NLS is requested... yes checking for style of include used by make... GNU 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 dependency style of gcc... gcc3 checking for intltool >= 0.40.0... 0.40.5 found checking for intltool-update... /opt/gnome2/bin/intltool-update checking for intltool-merge... /opt/gnome2/bin/intltool-merge checking for intltool-extract... /opt/gnome2/bin/intltool-extract checking for xgettext... /opt/gnome2/bin/xgettext checking for msgmerge... /opt/gnome2/bin/msgmerge checking for msgfmt... /opt/gnome2/bin/msgfmt checking for gmsgfmt... /opt/gnome2/bin/msgfmt checking for perl... /usr/bin/perl checking for XML::Parser... ok checking for library containing strerror... none required checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) 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 build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a sed that does not truncate output... /bin/sed 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 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... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 1572864 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... no 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 -m elf_x86_64) 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 configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) 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 -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for pkg-config... /opt/gnome2/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether gcc understands -Wno-sign-compare... yes checking what warning flags to pass to the C compiler... -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare checking what language compliance flags to pass to the C compiler... Building with libstartup-notification checking for X... libraries , headers checking for XLIB... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for GNOME_DESKTOP... yes checking for python version... 2.5 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.5/site-packages checking for python extension module directory... ${exec_prefix}/lib64/python2.5/site-packages checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... (cached) /opt/gnome2/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... (cached) /opt/gnome2/bin/msgfmt checking for xgettext... (cached) /opt/gnome2/bin/xgettext checking for mawk... /usr/bin/mawk checking for perl5... no checking for perl... /usr/bin/perl checking whether to build gtk-doc documentation... no checking for gtkdoc-check... /opt/gnome2/bin/gtkdoc-check checking for gtkdoc-rebase... /opt/gnome2/bin/gtkdoc-rebase checking for sed... /bin/sed configure: creating ./config.status config.status: creating Makefile config.status: creating shave config.status: creating shave-libtool config.status: creating gnome-about/Makefile config.status: creating gnome-about/gnome-about.desktop.in config.status: creating gnome-about/headers/Makefile config.status: creating libgnome-desktop/Makefile config.status: creating libgnome-desktop/libgnome/Makefile config.status: creating libgnome-desktop/libgnomeui/Makefile config.status: creating libgnome-desktop/gnome-desktop-2.0.pc config.status: creating libgnome-desktop/gnome-desktop-2.0-uninstalled.pc config.status: creating docs/Makefile config.status: creating docs/reference/Makefile config.status: creating docs/reference/gnome-desktop/Makefile config.status: creating gnome-version.xml.in config.status: creating po/Makefile.in config.status: creating pixmaps/Makefile config.status: creating desktop-docs/Makefile config.status: creating desktop-docs/fdl/Makefile config.status: creating desktop-docs/gpl/Makefile config.status: creating desktop-docs/lgpl/Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: executing po/stamp-it commands # INTLTOOL_MAKEFILE Now type `make' to compile GNOME Desktop Library *** Building gnome-desktop *** [67/104] make Making all in po Making all in libgnome-desktop Making all in libgnome Making all in libgnomeui CC gnome-desktop-thumbnail.o CC gnome-desktop-item.o CC gnome-desktop-utils.o CC gnome-thumbnail-pixbuf-utils.o CC gnome-bg.o CC gnome-bg-crossfade.o CC display-name.o CC gnome-rr.o CC gnome-rr-config.o gnome-rr.c:32:35: error: X11/extensions/Xrandr.h: No such file or directory gnome-rr-config.c:38:35: error: X11/extensions/Xrandr.h: No such file or directory In file included from gnome-rr.c:38: gnome-rr-private.h:13: error: expected specifier-qualifier-list before ‘XRRScreenResources’ gnome-rr.c:45: error: expected specifier-qualifier-list before ‘RROutput’ gnome-rr.c:61: error: expected specifier-qualifier-list before ‘RROutput’ gnome-rr.c:67: error: expected specifier-qualifier-list before ‘RRCrtc’ gnome-rr.c:82: error: expected specifier-qualifier-list before ‘RRMode’ gnome-rr.c:91: error: expected declaration specifiers or ‘...’ before ‘RRCrtc’ gnome-rr.c:94: error: expected declaration specifiers or ‘...’ before ‘XRRScreenResources’ ... As the configure passed by flawlessly, I expected it to compile fine. After installing libxrandr-dev, it compiled fine.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 554263 ***