Re: [Announcement] Python2.7 for Maemo5
PyQT would also be appreciated. This would allow me to finally run Anki 2 -- the new version of the main program I use my N900 for. I tried at length to get qmake working on my device so I could compile it myself, but it always complained:
Code:
/usr/bin/ld: cannot find -lQtCore |
Re: [Announcement] Python2.7 for Maemo5
Quote:
/edit: do you have libqt4-dev installed? |
Re: [Announcement] Python2.7 for Maemo5
Hi,
First, good to see that there's some effort for porting Python 2.7, thanks a lot to all who are working on it! I have installed the version 2.7.3~rc2-2.1-maemo4, and facing some problem with the ctypes module, which is required in many applications (eg Twisted). Even a simple "import ctypes" crashes with "Aborted" message. I have not tried to debug it, just reporting. Can someone else try and validate this is a genuine problem? |
Re: [Announcement] Python2.7 for Maemo5
Did someone try "import ctypes" in a python 2.7 console ?
it gives this wonderful result: Aborted I traced this problem when trying to make weboob (WEB Outside Of Browsers) works on my N900, and it seems that any weboob backend using PIL, and more specifically ctypes, gives the above result. I don't have the required skills to go futher in my investigation: does someone manage to understand why this could happen, and possibly propose a solution ? thanks EDIT: sorry I did not read the aprilmay post above, so obviously this has been reported several month ago |
Re: [Announcement] Python2.7 for Maemo5
I found this page "Cross compiling python for embedded linux" with a patch fixing specifically ctypes for python 2.7.
Maybe, AapoRantalainen could try to make a new release with this fix if it was not already applied in the currently available package, or even use the other patches to compile python 3.x |
Re: [Announcement] Python2.7 for Maemo5
noob question, plz answer
what is advantage of version 2.7? |
Re: [Announcement] Python2.7 for Maemo5
none if you're only using python 2.5 compliant scripts.
If you want to install the latest version of your preferred python software, odds are high that python 2.5 support has been abandoned in favor of 2.7 |
Re: [Announcement] Python2.7 for Maemo5
I got python2.7 ctypes working with this: http://whocares.de/finally-a-fix-for...ort-of-ctypes/ (I have tried to fix the cause of this without success)
I modified python2.7 from extras-devel and pushed it back to the builder, but seems builder is not in good shape currently and I'm not getting success nor failure (there are several packages built but not moved to the repository which implies some kind of issues). Here is locally built debs for early adopters: http://www.cs.helsinki.fi/u/rantalai/maemo5/python2.7/ |
Re: [Announcement] Python2.7 for Maemo5
Couldn't find a bugtracker link so posting here
Code:
Core was generated by `/home/fmg/embedlite/mozilla-central/objdir-armel/_virtualenv/bin/python ./confi'. Code:
[sbox-FREMANTLE_ARMEL_GCC472: ~/embedlite/mozilla-central/objdir-armel] > dpkg -l | grep python |
Re: [Announcement] Python2.7 for Maemo5
Quote:
Do you mind to put that in the repos? Increasing the version ofc, as it is the same as the latest in extras-devel :) |
All times are GMT. The time now is 09:39. |
vBulletin® Version 3.8.8