On Tue, 2007-02-06 at 12:00 -0500, Robin Norwood wrote: > Hi, > > Got an error: > > *** error during stage build of dbus-glib: ########## Error running make > *** [19/29] > > Looks like expat-devel is required: > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. > -I/home/rnorwood/git/sugar-jhbuild/build/include/dbus-1.0 > -I/home/rnorwood/git/sugar-jhbuild/build/lib/dbus-1.0/include > -I/home/rnorwood/git/sugar-jhbuild/build/include/glib-2.0 > -I/home/rnorwood/git/sugar-jhbuild/build/lib/glib-2.0/include > -I/home/rnorwood/git/sugar-jhbuild/build/include/libxml2 -DDBUS_COMPILATION=1 > -DDBUS_LOCALEDIR=\"/home/rnorwood/git/sugar-jhbuild/build/share/locale\" > -DDBUS_API_SUBJECT_TO_CHANGE=1 -g -O2 -Wall -Wchar-subscripts > -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith > -Wcast-align -Wfloat-equal -Wsign-compare -MT dbus-gloader-expat.lo -MD -MP > -MF .deps/dbus-gloader-expat.Tpo -c dbus-gloader-expat.c -fPIC -DPIC -o > .libs/dbus-gloader-expat.o > dbus-gloader-expat.c:25:19: error: expat.h: No such file or directory > dbus-gloader-expat.c:40: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'memsuite' > > > doing a 'yum install expat-devel' and selecting '[1] rerun stage build' > gets past that error, but I get another that isn't so clear: > > gcc -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations > -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align > -Wfloat-equal -Wsign-compare -o .libs/test-dbus-glib my-object-marshal.o > test-dbus-glib.o -L/home/rnorwood/git/sugar-jhbuild/build/lib > /home/rnorwood/git/sugar-jhbuild/build/lib/libxml2.so -ldl -lz -lm > ../../dbus/.libs/libdbus-glib-1.so > /home/rnorwood/git/sugar-jhbuild/build/lib/libgobject-2.0.so > /home/rnorwood/git/sugar-jhbuild/build/lib/libglib-2.0.so > ../../dbus/.libs/libdbus-gtool.a > /home/rnorwood/git/sugar-jhbuild/build/lib/libdbus-1.so -lnsl -Wl,--rpath > -Wl,/home/rnorwood/git/sugar-jhbuild/build/lib > ../../dbus/.libs/libdbus-gtool.a(dbus-gloader-expat.o): In function > `description_load_from_string': > /home/rnorwood/git/sugar-jhbuild/source/dbus-glib/dbus/dbus-gloader-expat.c:204: > undefined reference to `XML_ParserCreate_MM' > /home/rnorwood/git/sugar-jhbuild/source/dbus-glib/dbus/dbus-gloader-expat.c:211: > undefined reference to `XML_SetUserData' > > (etc.) >
What expat version are you using? And does this fix things: sugar-jhbuild buildone dbus-glib -a > > Also, are build failures like these helpful to you guys, or just > distractions? > Useful! We want to improve the build stuff, so that people has a lower barrier to contribute. Marco _______________________________________________ Sugar mailing list [email protected] http://mailman.laptop.org/mailman/listinfo/sugar
