OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Python for SL-5600
post Feb 1 2004, 09:16 AM
Post #1





Group:
Posts: 0
Joined: --
Member No.: 0



I downloaded and tried to install the basic python programming
language for the Zaurus on my new SL-5600 yesterday. It
didn't recognize the package. Phil Thompson, the developer
for the Zaurus verson of Python, said the package was
compiled for the SL-5500. Are packages model specific?
The package I tried to install is located here.
The one I am interested in is python_2.3.3-1.0_arm.ipk
Maybe someone else can try it and see if I am imagining
things.
Go to the top of the page
 
+Quote Post
Mickeyl
post Feb 1 2004, 09:21 AM
Post #2





Group: Members
Posts: 1,495
Joined: 12-November 03
From: Germany
Member No.: 907



Maybe you have more luck with my Python for arm linux distribution which can be found @ http://www.vanille.de/projects/python.spy
Go to the top of the page
 
+Quote Post
post Feb 1 2004, 09:26 AM
Post #3





Group:
Posts: 0
Joined: --
Member No.: 0



I tried Mickeyl's python on my SL-5600 yesterday. It seems to work just fine, and I can run a 'hello world' QPE app as well from it. I'm running OZ 3.3.6pre1 on my Zaurus.

Regards,

Martijn
Go to the top of the page
 
+Quote Post
post Feb 3 2004, 10:30 PM
Post #4





Group:
Posts: 0
Joined: --
Member No.: 0



Ok, I must be missing something obvious. Here is what
I have done:

- I downloaded the gcc3 version of python-core from Mickey's site.
- I moved the file onto the Zaurus using the SMB setup from
my Mac OS X system onto the SD card in a top level
directory called Install_Files
- I brought up Add/Remove software and pressed Install Packages.
- The package is not found and does not appear in the list.
- I go to the filer and select the .ipk file. This brings up the
package installer but the list of possible packages is still empty.
- Just for grins, I try to use ipkg directly from the terminal. It
complains about permissions for the directory /home/tmp/ipkg.

Funny thing is, I had no trouble downloading and installing the
terminal software from the CD. I tried moving the install files
directly into Install_Files on the internal flash. That doesn't seem
to work either. I know that I am missing something obvious here
but I don't see it.

Just now, I downloaded another package from the CD and placed
it in Install_Files on the SD card. The package manager found it
without difficulty. I tried downloading the gcc2 version too. It
still doesn't see the package.

The only clue I have is that on my Mac OS X system, if I use
file I see:

qpe-filemanager_1.5.0-2_arm.ipk: gzip compressed data, from Unix

The package downloaded from Mickey's site says:

python-core_2.3.2-oz1_armv4l-strongarm.ipk: Debian binary package (format 2.0
data.tar.gz/ 1066954824 ) created: Thu Oct 23 17:20:24 2003

Is there some further extraction I have to do? Any other ideas?
Go to the top of the page
 
+Quote Post
post Feb 3 2004, 11:04 PM
Post #5





Group:
Posts: 0
Joined: --
Member No.: 0



Ok, I think I am close now. The problem appears to be that
Safari doesn't know how to download .ipk files. If I download
the file with another browser, it comes down as a different
size and the file contents differ. I can't quite explain what
Safari is doing to the files yet. The only thing I can figure
out is that either the mime code or the suffix is recognized
by Safari and processed in some funny way.
Go to the top of the page
 
+Quote Post
post Feb 4 2004, 12:44 PM
Post #6





Group:
Posts: 0
Joined: --
Member No.: 0



Well, it appears it isn't browser specific either. The package
installer simply refuses to recognize any of Mickey's packages.
I am running the Sharp ROM v 1.32. Is there a problem
with the package installer recognizing debian style .ipk
packages? Is there another installer I should be using?
Go to the top of the page
 
+Quote Post
Mickeyl
post Feb 4 2004, 03:41 PM
Post #7





Group: Members
Posts: 1,495
Joined: 12-November 03
From: Germany
Member No.: 907



If you have a darn old ipkg, you may need to add some platform specifications (e.g. armv4l-strongarm 80) to /etc/ipkg/arch.conf
Go to the top of the page
 
+Quote Post
post Feb 4 2004, 09:09 PM
Post #8





Group:
Posts: 0
Joined: --
Member No.: 0



Hmm. Now I am wondering about the health of the
software. I don't have a /etc/ipkg/arch.conf file.
I have an /etc/ipkg.conf and it contains the lines:

dest root /
dest tmpinst /home/tmp/ipkg/inst

The first thing I did when I got the SL-5600 was to
install the 1.32 Sharp Rom. I would think my installer
should be modern. The ipkg that I have is located in
/home/QtPalmtop/bin and says:

Copyright © 2001 Carl D. Worth
modified by Sharp 2001

It doesn't have a -version option :-(

Would it be worth it for me to try to download and install
the ROM again?
Go to the top of the page
 
+Quote Post
Mickeyl
post Feb 5 2004, 01:42 AM
Post #9





Group: Members
Posts: 1,495
Joined: 12-November 03
From: Germany
Member No.: 907



Probably not. Try adding this one to /etc/ipkg/arch.conf:

arch all 1
arch arm 1
arch arml 5
arch armv1l 10
arch armv2l 10
arch armv3l 10
arch armv3l-arm7 10
arch armv4l 25
arch armv4l-strongarm 25
arch armv4l-xscale 50
arch armv5l 50
arch xscale 75
arch poodle 100
Go to the top of the page
 
+Quote Post
post Feb 5 2004, 10:44 PM
Post #10





Group:
Posts: 0
Joined: --
Member No.: 0



I think I managed to finally solve the problem. The answer was
buried in the FAQ. Debian packages must be reorganized in order
to work with the Sharp rom. Debian packages come as an "ar"
archive of the three install files: debian-binary, control.tar.gz,
and data.tar.gz. The Sharp ROM expects these files to be
in a compressed tar archive. I ended up writing a small python
program that extracts the files out and puts them into a compressed
tar archive. The SL-5600 seems to recognize the results. I
haven't actually tried to install the package yet. But I soon will.
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: 19th January 2020 - 04:41 AM