no_glib
Daniel Reed
n at ml.org
Wed Mar 23 20:31:51 PST 2005
Fresh CVS checkout
./configure --disable-glib
make
...
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -Wall -O0 -g3 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -o dbus-cleanup-sockets dbus-cleanup-sockets.o -lnsl
gcc -std=gnu99 -Wall -O0 -g3 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -o dbus-cleanup-sockets dbus-cleanup-sockets.o -lnsl
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -DDBUS_LOCALEDIR=\"/usr/@DATADIRNAME@/locale\" -DDBUS_API_SUBJECT_TO_CHANGE=1 -std=gnu99 -Wall -O0 -g3 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -MT print-introspect.o -MD -MP -MF ".deps/print-introspect.Tpo" -c -o print-introspect.o print-introspect.c; \
then mv -f ".deps/print-introspect.Tpo" ".deps/print-introspect.Po"; else rm -f ".deps/print-introspect.Tpo"; exit 1; fi
In file included from print-introspect.c:26:
../dbus/dbus-glib.h:82:43: dbus/dbus-glib-error-enum.h: No such file or directory
In file included from print-introspect.c:26:
../dbus/dbus-glib.h:83: error: parse error before '}' token
make[3]: *** [print-introspect.o] Error 1
make[3]: Leaving directory `/home/dev/dbus/tools'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/dev/dbus/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dev/dbus'
make: *** [all] Error 2
print-introspect doesn't appear to actually be needed if the GLib bindings
aren't in use, so disabling its building should not be a problem.
--
Daniel Reed <n at ml.org> http://naim-users.org/nmlorg/ http://naim.n.ml.org/
It is a miracle that curiosity survives formal education. -- Albert
Einstein, Physicist
-------------- next part --------------
Index: tools/Makefile.am
===================================================================
RCS file: /cvs/dbus/dbus/tools/Makefile.am,v
retrieving revision 1.13
diff -u -r1.13 Makefile.am
--- tools/Makefile.am 22 Mar 2005 17:57:27 -0000 1.13
+++ tools/Makefile.am 24 Mar 2005 04:26:47 -0000
@@ -21,6 +21,7 @@
GTK_TOOLS=
endif
+if HAVE_GLIB
noinst_PROGRAMS = print-introspect
print_introspect_SOURCES = print-introspect.c
@@ -28,6 +29,7 @@
dbus-bus-introspect.xml: $(top_builddir)/bus/dbus-daemon dbus-launch print-introspect $(top_builddir)/bus/dbus-daemon
DBUS_TOP_BUILDDIR=$(top_builddir) $(srcdir)/run-with-tmp-session-bus.sh ./print-introspect org.freedesktop.DBus /org/freedesktop/DBus > dbus-bus-introspect.xml.tmp && mv dbus-bus-introspect.xml.tmp dbus-bus-introspect.xml
+endif
bin_PROGRAMS=dbus-send $(GLIB_TOOLS) dbus-launch dbus-cleanup-sockets $(GTK_TOOLS)
More information about the dbus
mailing list