BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }
AttributeError
On Wed 07/07/10 9:26 AM , Andrew Benton [email protected] sent:
Has anyone been able to compile gobject-introspection with
python-2.7? I've
just tried and gobject-introspection-0.9.0 fails to compile like so:
GICOMP xlib-2.0.gir
GICOMP xfixes-4.0.gir
GICOMP xrandr-1.3.gir
Traceback (most recent call last):
File "../tools/g-ir-scanner", line 36, in
from giscanner.scannermain import scanner_main
File "/tmp/gobject-introspection-0.9.0/giscanner/scannermain.py",
line 31, in
from giscanner.dumper import compile_introspection_binary
File "/tmp/gobject-introspection-0.9.0/giscanner/dumper.py", line
26, in
from .glibtransformer import IntrospectionBinary
File
"/tmp/gobject-introspection-0.9.0/giscanner/glibtransformer.py", line
34, in
from .transformer import Names
File "/tmp/gobject-introspection-0.9.0/giscanner/transformer.py",
line 31, in
from .girparser import GIRParser
File "/tmp/gobject-introspection-0.9.0/giscanner/girparser.py",
line 32, in
from .girwriter import COMPATIBLE_GIR_VERSION
File "/tmp/gobject-introspection-0.9.0/giscanner/girwriter.py",
line 30, in
from .xmlwriter import XMLWriter
File "/tmp/gobject-introspection-0.9.0/giscanner/xmlwriter.py",
line 70, in
with LibtoolImporter:
AttributeError: __exit__
make[2]: *** [GLib-2.0.gir] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/tmp/gobject-introspection-0.9.0/gir'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/gobject-introspection-0.9.0'
make: *** [all] Error 2
If I install python-2.6.4 it compiles but I'd rather keep python up
to
date (and ditch gobject-introspection if I could). Google isn't
comming
up with any answers for me. Has anyone else got past this?
Andy
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
---- Message sent via Adam Internet WebMail -
http://www.adam.com.au/--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page