OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Python 2.5.1 And Pyqt For Cacko, Here are some IPKG
Jiba
post Jan 26 2008, 04:04 AM
Post #1





Group: Members
Posts: 13
Joined: 26-January 08
Member No.: 21,267



Hello,

I've compiled the latest Python 2.5.1 for Cacko, as well as PyQT (bound to Cacko's QTopia).

IPKG are available here :

http://feed.zaurusfr.org/cackophonie/feed/

Enjoy !
Jiba
Go to the top of the page
 
+Quote Post
misha
post Feb 21 2008, 05:19 AM
Post #2





Group: Members
Posts: 7
Joined: 9-October 07
Member No.: 20,805



Thank you, it works very well.

Misha
Go to the top of the page
 
+Quote Post
guscpu
post Apr 27 2008, 10:21 AM
Post #3





Group: Members
Posts: 69
Joined: 23-March 05
Member No.: 6,696



QUOTE(Jiba @ Jan 26 2008, 01:04 PM) *
Hello,

I've compiled the latest Python 2.5.1 for Cacko, as well as PyQT (bound to Cacko's QTopia).

IPKG are available here :

http://feed.zaurusfr.org/cackophonie/feed/

Enjoy !
Jiba


Hi Jiba,
Thinking of learning Python and have downloaded "Python_2.5.1-cackompile2.1_arm.ipk" and "pyqt_3.8.1-onboard-2_arm.ipk" to the SD card on my Z. "Python_2.5.1-cackompile2.1_arm.ipk" won't install to my SD card and complains about dependencies. When i ran "ipkg depends" it moans about the underscore characters and i am fed up of seeing this error, why does ipkg do this when so many packages contain underscore characters?

I have now used "ipkg install" to install the package which seems to have worked but when i run python from the CLI it complains that libpython2.5.so.1.0 cannot load shared object file.....etc

Could someone please link me to a step by step installation guide for the Z which includes the req dependencies.

Should I install both files to memory or can I install them to the card?

What do i use for writing python on the Z, will a simple editor suffice?


Thanks smile.gif
Go to the top of the page
 
+Quote Post
jfv
post Apr 27 2008, 03:57 PM
Post #4





Group: Members
Posts: 438
Joined: 24-June 03
Member No.: 202



There used to be a Python package created by Kopsis (if I remember right) which was a cramfs file so you just mounted it and were ready to go. It worked for me when I used it a few times a while back. Search the forum for "python kopsis".

Go to the top of the page
 
+Quote Post
guscpu
post Apr 28 2008, 01:53 PM
Post #5





Group: Members
Posts: 69
Joined: 23-March 05
Member No.: 6,696



QUOTE(jfv @ Apr 28 2008, 12:57 AM) *
There used to be a Python package created by Kopsis (if I remember right) which was a cramfs file so you just mounted it and were ready to go. It worked for me when I used it a few times a while back. Search the forum for "python kopsis".


Unfortunately alot of the links I have found so far have gone dry sad.gif

Gus
Go to the top of the page
 
+Quote Post
jfv
post Apr 28 2008, 06:46 PM
Post #6





Group: Members
Posts: 438
Joined: 24-June 03
Member No.: 202



I'll attach a copy I found on my Zaurus. It's Kopsis Python 2.4. You should be able to find instructions on the forum to mount the image. To program in python all you need is a text editor.

Stupid forum won't let me upload the file for some reason. Use instead this link.

I just found this using google: Kopsis instructions. You need to download the python-exe ipk as well as the image that I linked above. I guess the other file does the installation for you. I don't remember what I did when used it but I am sure I just followed the instructions and everything worked as it should.
Go to the top of the page
 
+Quote Post
guscpu
post Apr 28 2008, 11:26 PM
Post #7





Group: Members
Posts: 69
Joined: 23-March 05
Member No.: 6,696



QUOTE(jfv @ Apr 29 2008, 03:46 AM) *
I'll attach a copy I found on my Zaurus. It's Kopsis Python 2.4. You should be able to find instructions on the forum to mount the image. To program in python all you need is a text editor.

Stupid forum won't let me upload the file for some reason. Use instead this link.

I just found this using google: Kopsis instructions. You need to download the python-exe ipk as well as the image that I linked above. I guess the other file does the installation for you. I don't remember what I did when used it but I am sure I just followed the instructions and everything worked as it should.



Hi Jfv,
Unfortunately I am getting access forbidden when I try to use the first link, Kopsis Python 2.4 must surely be lurking around somewhere on the internet.

Gus
Go to the top of the page
 
+Quote Post
jfv
post Apr 29 2008, 05:53 AM
Post #8





Group: Members
Posts: 438
Joined: 24-June 03
Member No.: 202



The page where I pointed out for instructions has a download link where you'll find both files that you need.
I'll fix the other link.
Go to the top of the page
 
+Quote Post
guscpu
post May 2 2008, 04:25 AM
Post #9





Group: Members
Posts: 69
Joined: 23-March 05
Member No.: 6,696



Thanks jfv,
Have downloaded and installed and it seems to be working okay. Will be using python to create a simple gui flash card program and learning python at the same time and hope to do all this on the Z.

I also downloaded the following files.... "Python_2.5.1-cackompile2.1_arm.ipk" and "pyqt_3.8.1-onboard-2_arm.ipk" from
http://feed.zaurusfr.org/cackophonie/feed/

Is this a more up to date version of python for the Z I should be using or is it a case of 6 and one half dozen of the other? Did try to install using these files but obviously got it wrong and installed using your kopsis links.

Thanks
Gus
Go to the top of the page
 
+Quote Post
frostschutz
post Aug 18 2008, 06:05 AM
Post #10





Group: Members
Posts: 4
Joined: 16-July 06
Member No.: 10,419



This is the newest version of Python I could find for Cacko, and in general it works well. Thank you for providing it, Jiba!

Unfortunately I can't get a piece of software to run with it, because some packages are missing. Which ones I'm not entirely sure, right now it complains about sqlite3. The Python part of this module seems to be included, but it fails to import the C part of the module (or so it seems). Anyway, when importing sqlite3, it complains about module _sqlite3 not available.

So far my search for a more complete or up to date Python has not been very successful. I found a Python 2.4 package by mickeyl, which is very good as well, but it does not include sqlite, and mickeyl does not offer a package for sqlite either. As for the Kopsis image, the sqlite it comes with seems to be too old, and while a loop mounted image certainly saves space, it's not possible to install additional python modules in the directory.

I would love to be able to build my own version of Python for Cacko, but so far, I have not found a good How-To. I know my way around Linux on my Desktop PC (experience with various distros including LFS and Gentoo), but embedded devices are like a different world for me. I don't know where to get a toolchain / cross compiling environment / emulator that allows downloading and compiling stuff for Cacko as easy as it is for the PC. Any pointers? unsure.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th October 2014 - 10:50 AM