On Fri, 2006-12-29 at 17:08 -0500, John (J5) Palmieri wrote: > On Sun, 2006-12-24 at 17:36 +0100, Marco Pesenti Gritti wrote: > > Hello, > > > > we are having problems building latest dbus-python git with jhbuild. A > > log of the build follows. Any idea? jhbuild is using distutils but I see > > dbus-python also have configure.ac/Makefile.am, I couldn't get it to > > work using auto* either though. > > > > Thanks, > > Marco > > > > > > git pull > > Already up-to-date. > > *** Building dbus-python *** [1/1] > > > > python setup.py build > > running build > > running build_py > > file dbus/introspect_parser.py (for module dbus/introspect_parser) not > > found > > file dbus/introspect_parser.py (for module dbus/introspect_parser) not > > found > > running build_ext > > building '_dbus_bindings' extension > > gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall > > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > > --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic > > -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -I. -Iinclude > > -I/home/marco/sugar-jhbuild/build/include/dbus-1.0 > > -I/home/marco/sugar-jhbuild/build/lib/dbus-1.0/include > > -I/usr/include/python2.4 -c _dbus_bindings/module.c -o > > build/temp.linux-i686-2.4/_dbus_bindings/module.o > > _dbus_bindings/module.c:24:20: error: config.h: No such file or > > directory > > _dbus_bindings/module.c: In function ‘init_dbus_bindings’: > > _dbus_bindings/module.c:357: error: ‘PACKAGE_VERSION’ undeclared (first > > use in this function) > > _dbus_bindings/module.c:357: error: (Each undeclared identifier is > > reported only once > > _dbus_bindings/module.c:357: error: for each function it appears in.) > > error: command 'gcc' failed with exit status 1 > > > > Latest git has moved back to autotools because of distutils just doesn't > handle c code very well. JHBuild needs to be fixed to use the autotools > method of building. >
The dbus-python autogen.sh doesn't automatically run configure, which is a bit confusing and doesn't work with jhbuild. Can that be changed? Marco _______________________________________________ Sugar mailing list [email protected] http://mailman.laptop.org/mailman/listinfo/sugar
