On Tue, Sep 07, 2010 at 05:01:03PM +0100, Andrew Benton wrote: > On 07/09/10 15:35, Ken Moffat wrote: > > I've just built my normal desktop (including an ever-increasing > > amount of gnome) with Python-2.7. > > pygobject-2.20.0 fails. To get round this it's necessary to use a > > *development* version (2.21.5) where various things have been > > wrapped to cope with the 2.7 changes. > > What problem do you have with pygobject-2.20.0? It compiles and gives me > no problems with python-2.7 > (long paste from log) libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gobject -I/usr/include/python2.7 -I/usr/include/python2.7 -pthread -I/usr/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.0.9/include -O0 -O2 -Wall -fno-strict-aliasing -std=c9x -MT repo_la-bank-argument.lo -MD -MP -MF .deps/repo_la-bank-argument.Tpo -c bank-argument.c -fPIC -DPIC -o .libs/repo_la-bank-argument.o bank-argument.c: In function 'pyg_argument_from_pyobject': bank-argument.c:46:10: error: 'GI_TYPE_TAG_UINT' undeclared (first use in this function) bank-argument.c:46:10: note: each undeclared identifier is reported only once for each function it appears in bank-argument.c:66:10: error: 'GI_TYPE_TAG_INT_WAS_REMOVED' undeclared (first use in this function) bank-argument.c:69:10: error: 'GI_TYPE_TAG_LONG_WAS_REMOVED' undeclared (first use in this function) bank-argument.c:72:10: error: 'GI_TYPE_TAG_ULONG' undeclared (first use in this function) bank-argument.c: In function 'pyarray_to_pyobject': bank-argument.c:187:10: error: 'GI_TYPE_TAG_INT_WAS_REMOVED' undeclared (first use in this function) bank-argument.c: In function 'pyg_argument_to_pyobject': bank-argument.c:251:10: error: 'GI_TYPE_TAG_UINT' undeclared (first use in this function) bank-argument.c:263:10: error: 'GI_TYPE_TAG_INT_WAS_REMOVED' undeclared (first use in this function) bank-argument.c:266:10: error: 'GI_TYPE_TAG_LONG_WAS_REMOVED' undeclared (first use in this function) bank-argument.c:269:10: error: 'GI_TYPE_TAG_ULONG' undeclared (first use in this function) make[2]: *** [repo_la-bank-argument.lo] Error 1 make[2]: Leaving directory `/usr/src/pygobject-2.20.0/girepository' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/pygobject-2.20.0' make: *** [all] Error 2
> > For this reason, I can't > > recommend 2.7 for the BOOK at this time. > > > As I understand it the packages which broke with python-2.7 were relying > on bugs in python-2.6. It was fixing the bugs which caused them to break > (I can't find the link just now and it was just someone's opinion on a > mailing list so that could be wrong). > > Andy > -- No, you are absolutely correct, I'm only reporting what I found. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
