Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Installing Perl on the Sharp Zaurus PDA

by davido (Archbishop)
on Aug 25, 2003 at 16:30 UTC ( #286395=note: print w/replies, xml ) Need Help??


in reply to Installing Perl on the Sharp Zaurus PDA

On August 24th (yesterday, at time of this post) Perl 5.8.0 became available for the Sharp Zaurus SL-5500 / SL-5600 series PDA's. I am working on downloading and installing it. Once I've got the installation to my liking, I'll edit my original post in this thread.

Anyone interested in trying the latest version for the Sharp Zaurus, you can download it here: Perl_5.8.0_arm.ipk.

There is a good discussion on the development and hosting of this latest port on the Zaurus Development Forum, here: Notes on Perl 5.8.0.

UPDATE: So far I've been unable to get the existing Perl_5.8.0_arm.ipk file to install. There seem to be several issues; a number of tar files with bad headers, and probably most importantly, the ~/tmp directory (in Internal Memory) fills up before the 34mb install is shifted off to SD. I'm working on getting in touch with the person who ported it to see if I can bring the issues to his attention. Hopefully it won't be long before we've got a *full* albiet *big* implementation of Perl on the Zaurus. Until then, use Perl 5.6.1 as described in my root node for this thread.

Good luck, and let me know any comments you have so that I can get them into a subsequent edit of this thread's root document.

Dave

"If I had my life to do over again, I'd be a plumber." -- Albert Einstein

  • Comment on Re: Installing Perl on the Sharp Zaurus PDA

Replies are listed 'Best First'.
Re: Re: Installing Perl on the Sharp Zaurus PDA
by davido (Archbishop) on Aug 26, 2003 at 16:35 UTC
    The author of the port has spoken by posting the instructions for installation at The Zaurus Software Index where he says:

    This is a build of Perl 5.8.0 for thr Sharp Zaurus SL-5500. At ~34Mb it takes a lot of space and is best installed onto either an SD (mnt/card)or CF card (mnt/cf). I use it installed into an NFS filesystem, mounted as /mnt/pkgs. With the way "ipkg" works, you'll also need another ~34Mb at install time for temp's. It's best installed manually as (for example) #ipkg -d /mnt/card install Perl_5.8.0_arm.ipk and SD->SD took about 3 hours! It creates a ./pkgs directory (if necessary) to install itself into - a technique familiar to users of the UNIX "graft" facility.

    However, I can add that the ipkg -d /mnt/card install.... or its equivilant for Sharp ROM 3.10, ipkg -d /usr/mnt.rom/card install ..... doesn't work, because the temporary files fill up 100% of internal storage before the package is installed to SD. A workaround must exist, and I'm currently looking for a way to move the ipkg temp files to CF during the install.

    The other point that the author of the port made in a separate discussion thread at Zaurus Developers Forum was that the SD card needed to use the ext-2 filesystem. Instructions for converting from FAT to ext2 are available by searching the abovementioned website. When I get the whole thing to install properly I'll edit the original root node of this thread with new instructions and post a followup to alert people.

    Dave

    "If I had my life to do over again, I'd be a plumber." -- Albert Einstein

Re: Re: Installing Perl on the Sharp Zaurus PDA
by allolex (Curate) on Aug 26, 2003 at 12:44 UTC

    I'll check this out and see how it runs under OZ. Maybe we won't have the same problems.

    Watch this space

    Update 2003-09-01 23:33:45 CEST: I considered deleting that bit above, but I really don't have much to report. I tried the installation, but ipkg is flaking on me, so no-go so far. I think I may go ahead and re-flash my SL-5500 and try to install Perl as the first package.

    --
    Allolex

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://286395]
help
Chatterbox?
[Corion]: choroba: Yes, but the longer I thought about efficient hashes mapping the event type back to their callbacks, and how to keep them in sync, the more I thought that all that optimization might just not be worth it, even if it's horribly inelegant
[Lady_Aleena]: My biggest problem with hashes at the moment is one with 2,501 keys.
[choroba]: how many event types are there?
[Corion]: Also I found that I can't conveniently weaken an array slot, which also is inconvenient, as I want my one-shots to disappear if the caller discards them
[Corion]: choroba: Currently two or three that my program handles (WWW::Mechanize:: Chrome), but there might be more that become interesting
[Corion]: But I don't expect more than 100 to be active at the same time, so I'm not really sure if there is a not-too-fancy data structure that is maintained with few lines of code where the performance is better than the linear scan ;)
[Corion]: But I should do a mock-up program so that others can see what I'm talking about ;)
[robby_dobby]: Corion: I hope you know all too well that passing around "fancy" datastructures is a recipe for disaster :-)
[robby_dobby]: As in, it's-too-fancy- that-it-will-be- messy-to-handle
[choroba]: bit vectors as keys?

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (13)
As of 2017-05-29 07:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?