Ticket #232 (closed defect: fixed)
cross-compiled python-2.6.2 doesn't provide ctypes-module
| Reported by: | spielc | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | milestone4 |
| Component: | target | Keywords: | |
| Cc: |
Description
After i finished my exams i was able to poke into OpenMoko?-stuff again. I tried to upgrade python to version 2.6.2 on both host and target and was only partly successfull. After a bit of poking around i was finally able to get host to compile ctypes-module successfully but i'm still unable to make it work on host.
python
Python 2.6.2 (r262:71600, Jun 3 2009, 13:43:47)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ctypes;
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.6/ctypes/__init__.py", line 10, in <module>
from _ctypes import Union, Structure, Array
ImportError: No module named _ctypes
On host it works on the other hand:
python Python 2.6.2 (r262:71600, May 19 2009, 15:03:34) [GCC 4.4.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import ctypes; >>> quit();
I'll attach my build.log to the bug-report maybe somebody else can make a sense of it...
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
