On Tue, 19 Jul 2011 11:57:26 -0400, Ian Ward wrote: > I wish I had the hardware to help you with this. If it's any > consolation you don't actually need that extension to use Urwid. It > just makes some text processing a little faster, but if not present > will > switch to a pure python version.
Well, the initial problems were relatively easy. In str_util.c, when PyString_AsStringAndSize is called, the text_len is declared as an int. The correct type is: Py_ssize_t Hopefully, the code can be updated so it is the correct type. However, I am still experiencing a build problem after correcting this error: Processing urwid-0.9.9.2.zip Running urwid-0.9.9.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-c3qaAR/urwid-0.9.9.2/egg-dist-tmp-6N2E6Q /usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed Installed assemblers are: /usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64 /usr/bin/../libexec/gcc/darwin/i386/as for architecture i386 source/str_util.c:824: fatal error: error writing to -: Broken pipe compilation terminated. lipo: can't open input file: /var/tmp//cc5eveXg.out (No such file or directory) error: Setup script exited with error: command 'gcc-4.2' failed with exit status 1 It looks like what the problem is is that it is attempting to build for the PPC. I'm thinking this should be easy to take out, but would appreciate any advice you might have as my experience with Python is somewhat limited at this point. _______________________________________________ Urwid mailing list [email protected] http://lists.excess.org/mailman/listinfo/urwid
