Bug 23610 - configure fails to check for glib.h
Summary: configure fails to check for glib.h
Status: RESOLVED NOTOURBUG
Alias: None
Product: dbus
Classification: Unclassified
Component: GLib (show other bugs)
Version: 1.2.x
Hardware: Other Linux (All)
: medium normal
Assignee: Rob Taylor
QA Contact: John (J5) Palmieri
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-31 14:41 UTC by Christian Kirbach
Modified: 2010-09-28 09:27 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Christian Kirbach 2009-08-31 14:41:29 UTC
dbus-glib-0.82

nazgul@rivendell:/svn/gnome/dbus-glib-0.82$ pkg-config --modversion --libs --cflags dbus-glib-1
0.82
-I/opt/gnome2/include/dbus-1.0 -I/opt/gnome2/lib64/dbus-1.0/include -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib64/glib-2.0/include  -L/opt/gnome2/lib64 -ldbus-glib-1 -ldbus-1 -lpthread -lrt -lgobject-2.0 -lglib-2.0

nazgul@rivendell:/space/home/jhbuild/m/b$ uname -a
Linux rivendell 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 19:25:34 UTC 2009 x86_64 GNU/Linux

nazgul@rivendell:/svn/gnome/dbus-glib-0.82$ pkg-config --modversion --libs --cflags glib-2.0
2.21.6
-I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib64/glib-2.0/include  -L/opt/gnome2/lib64 -lglib-2.0  


*** Configuring dbus-glib *** [15/46]
./configure --prefix /opt/gnome2 --libdir '/opt/gnome2/lib64'  --disable-static 
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /home/nazgul/.local/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 -j2 sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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 for style of include used by make -j2... GNU
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
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 whether gcc understands -Wfloat-equal... yes
checking for a sed that does not truncate output... /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 for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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 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 -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
checking for library containing socket... none required
checking whether socklen_t is defined... yes
checking abstract socket namespace... yes
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... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
./configure: line 13679: ./po/POTFILES.in: No such file or directory
checking for XML_ParserCreate_MM in -lexpat... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DBUS... yes
checking for DBUS_GLIB... yes
checking for DBUS_GLIB_THREADS... yes
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... /opt/gnome2/bin/gtkdoc-check
checking for doxygen... /usr/bin/doxygen
checking whether to build Doxygen documentation... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating m4/Makefile
config.status: creating doc/Makefile
config.status: creating doc/reference/Makefile
config.status: creating doc/reference/version.xml
config.status: creating dbus/Makefile
config.status: creating dbus/examples/Makefile
config.status: creating dbus/examples/statemachine/Makefile
config.status: creating test/Makefile
config.status: creating test/core/Makefile
config.status: creating test/interfaces/Makefile
config.status: creating test/data/valid-service-files/debug-glib.service
config.status: creating test/data/valid-service-files/debug-echo.service
config.status: creating test/data/valid-service-files/interfaces-test.service
config.status: creating tools/Makefile
config.status: creating dbus-glib-1.pc
config.status: creating dbus-glib-1-uninstalled.pc
config.status: creating Doxyfile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands

                    D-BUS GLIB BINDINGS 0.82
                  ==============

	prefix:                   /opt/gnome2
	exec_prefix:              ${prefix}
        libdir:                   /opt/gnome2/lib64
        bindir:                   /opt/gnome2/bin
        sysconfdir:               /opt/gnome2/etc
        localstatedir:            /opt/gnome2/var
	datadir:                  ${prefix}/share
	source code location:	  .
	compiler:		  gcc
	cflags:		          -g -O1 -Wall -march=athlon64 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -fno-strict-aliasing
	cppflags:		  
        Doxygen:                  /usr/bin/doxygen

        Maintainer mode:          no
        gcc coverage profiling:   no
        Building unit tests:      no
        Building verbose mode:    no
        Building assertions:      no
        Building checks:          yes
        Building Doxygen docs:    yes
        Building Gtk-doc docs:    no
        Bash Completion:          yes
        Gettext libs (empty OK):  
        Using XML parser:         
        'make check' socket dir:  

*** Building dbus-glib *** [15/46]

......

make[3]: Betrete Verzeichnis '/space/svn/gnome/gconf/defaults'
make[3]: Warnung: -jN in »make«-Verarbeitungszweig erzwungen: 
Jobserver-Modus nicht verfügbar.
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DSYSGCONFDIR=\"/opt/gnome2/etc/gconf\"     -g -O1 -Wall -march=athlon64 -MT gconf-defaults.o -MD -MP -MF .deps/gconf-defaults.Tpo -c -o gconf-defaults.o gconf-defaults.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DSYSGCONFDIR=\"/opt/gnome2/etc/gconf\"     -g -O1 -Wall -march=athlon64 -MT gconf-defaults-main.o -MD -MP -MF .deps/gconf-defaults-main.Tpo -c -o gconf-defaults-main.o gconf-defaults-main.c
gconf-defaults-main.c:33:18: Fehler: glib.h: No such file or directory
gconf-defaults-main.c:34:25: Fehler: glib-object.h: No such file or directory
gconf-defaults-main.c:36:28: Fehler: dbus/dbus-glib.h: No such file or directory
gconf-defaults-main.c:37:37: Fehler: dbus/dbus-glib-lowlevel.h: No such file or directory
gconf-defaults.c:34:18: Fehler: glib.h: No such file or directory
gconf-defaults.c:35:25: Fehler: glib-object.h: No such file or directory
gconf-defaults.c:37:28: Fehler: dbus/dbus-glib.h: No such file or directory
gconf-defaults.c:38:37: Fehler: dbus/dbus-glib-lowlevel.h: No such file or directory
gconf-defaults.c:40:27: Fehler: polkit/polkit.h: No such file or directory
In file included from gconf-defaults-main.c:40:
gconf-defaults.h:36: Fehler: expected »=«, »,«, »;«, »asm« or »__attribute__« before »typedef«
gconf-defaults.h:40: Fehler: expected specifier-qualifier-list before »GObject«
gconf-defaults.h:46: Fehler: expected specifier-qualifier-list before »GObjectClass«
....
Comment 1 Christian Kirbach 2009-08-31 14:42:34 UTC
nazgul@rivendell:/svn/gnome/dbus-glib-0.82$ pkg-config --modversion --libs --cflags dbus-1
1.2.16
-I/opt/gnome2/include/dbus-1.0 -I/opt/gnome2/lib64/dbus-1.0/include  -L/opt/gnome2/lib64 -ldbus-1 -lpthread -lrt  
Comment 2 Simon McVittie 2010-09-28 09:27:10 UTC
(In reply to comment #0)
> make[3]: Betrete Verzeichnis '/space/svn/gnome/gconf/defaults'
[...]
> gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DSYSGCONFDIR=\"/opt/gnome2/etc/gconf\" 
>    -g -O1 -Wall -march=athlon64 -MT gconf-defaults-main.o -MD -MP -MF
> .deps/gconf-defaults-main.Tpo -c -o gconf-defaults-main.o gconf-defaults-main.c
> gconf-defaults-main.c:33:18: Fehler: glib.h: No such file or directory

That's not dbus-glib. It looks like GConf to me?


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.