Can't compile 0.36.2

Curtis Maloney cmaloney at cardgate.net
Mon Aug 29 17:22:08 PDT 2005


System:
	Debian testing

I have installed Python2.4, and the associated Pyrex, as well as changing the 
sym-link for /usr/bin/pyrex to use the 2.4 version.  Debian seems reluctant to 
embrace Python 2.4 as yet... perhaps there's more things I need to change?

I get the following error after an otherwise uneventful build from "./configure 
--enable-python":

make[3]: Entering directory `/home/curtis/src/dbus-0.36.2/python'
pyrexc ./dbus_bindings.pyx -I. -o ./dbus_bindings.c
/home/curtis/src/dbus-0.36.2/python/./dbus_bindings.pxd:95:45: Expected ')'
/home/curtis/src/dbus-0.36.2/python/./dbus_bindings.pyx:183:20: Syntax error in 
C variable declaration
make[3]: [dbus_bindings.c] Error 1 (ignored)
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. 
-I./.. -I./../dbus  -I/usr/include/python2.4 -DDBUS_COMPILATION=1 
-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_bindings.lo -MD -MP -MF 
".deps/dbus_bindings.Tpo" -c -o dbus_bindings.lo dbus_bindings.c; \
then mv -f ".deps/dbus_bindings.Tpo" ".deps/dbus_bindings.Plo"; else rm -f 
".deps/dbus_bindings.Tpo"; exit 1; fi
  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I./../dbus -I/usr/include/python2.4 
-DDBUS_COMPILATION=1 -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_bindings.lo 
-MD -MP -MF .deps/dbus_bindings.Tpo -c dbus_bindings.c  -fPIC -DPIC -o 
.libs/dbus_bindings.o
gcc: dbus_bindings.c: No such file or directory
gcc: no input files
make[3]: *** [dbus_bindings.lo] Error 1

So, two questions:
	1) why is pyrex complaining?
	2) why is the error being ignored?

--
Curtis Maloney
cmaloney at cardgate.net


More information about the dbus mailing list