Tejas Guruswamy
2010-10-16 19:59:44 UTC
All,
librapi2 / librra python bindings fail to build on openSUSE Factory, and
the only recent relevant change I can find is python2.7 .
gcc is 4.5, pyrex is 0.9.8.5.
So does anyone have SynCE successfully building against python2.7?
It's a rather unhelpful error it's spitting out:
make[3]: Entering directory `/usr/src/packages/BUILD/librapi2-0.15/python'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I/usr/include/python2.7 -I../src -pthread -Wsign-compare
-Wno-long-long -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -MT
pyrapi2_la-pyrapi2.lo -MD -MP -MF .deps/pyrapi2_la-pyrapi2.Tpo -c -o
pyrapi2_la-pyrapi2.lo `test -f 'pyrapi2.c' || echo './'`pyrapi2.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.7
-I../src -pthread -Wsign-compare -Wno-long-long -fmessage-length=0 -O2
-Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -g -MT pyrapi2_la-pyrapi2.lo -MD -MP -MF
.deps/pyrapi2_la-pyrapi2.Tpo -c pyrapi2.c -fPIC -DPIC -o
.libs/pyrapi2_la-pyrapi2.o
In file included from /usr/include/synce.h:24:0,
from pyrapi2.c:32:
/usr/include/synce_types.h:41:16: error: expected identifier or '('
before string constant
In file included from pyrapi2.c:32:0:
/usr/include/synce.h:51:36: error: expected declaration specifiers or
'...' before string constant
/usr/include/synce.h:52:18: error: expected declaration specifiers or
'...' before string constant
which points to just a simple "typedef double DATE;" line.
Or am I missing something obvious?
Regards,
Tejas
librapi2 / librra python bindings fail to build on openSUSE Factory, and
the only recent relevant change I can find is python2.7 .
gcc is 4.5, pyrex is 0.9.8.5.
So does anyone have SynCE successfully building against python2.7?
It's a rather unhelpful error it's spitting out:
make[3]: Entering directory `/usr/src/packages/BUILD/librapi2-0.15/python'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I/usr/include/python2.7 -I../src -pthread -Wsign-compare
-Wno-long-long -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -MT
pyrapi2_la-pyrapi2.lo -MD -MP -MF .deps/pyrapi2_la-pyrapi2.Tpo -c -o
pyrapi2_la-pyrapi2.lo `test -f 'pyrapi2.c' || echo './'`pyrapi2.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.7
-I../src -pthread -Wsign-compare -Wno-long-long -fmessage-length=0 -O2
-Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -g -MT pyrapi2_la-pyrapi2.lo -MD -MP -MF
.deps/pyrapi2_la-pyrapi2.Tpo -c pyrapi2.c -fPIC -DPIC -o
.libs/pyrapi2_la-pyrapi2.o
In file included from /usr/include/synce.h:24:0,
from pyrapi2.c:32:
/usr/include/synce_types.h:41:16: error: expected identifier or '('
before string constant
In file included from pyrapi2.c:32:0:
/usr/include/synce.h:51:36: error: expected declaration specifiers or
'...' before string constant
/usr/include/synce.h:52:18: error: expected declaration specifiers or
'...' before string constant
which points to just a simple "typedef double DATE;" line.
Or am I missing something obvious?
Regards,
Tejas