OESF Portables Forum
Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => Cxx0 General discussions => Topic started by: dadabhoy on February 25, 2004, 05:55:08 pm
-
Does anyone know if any of the 2 following perl packages will work on the C860 ?
http://humphrey.applitec.com/zaurus/feed/p...5.6.1-7_arm.ipk (http://humphrey.applitec.com/zaurus/feed/perl_5.6.1-7_arm.ipk)
]http://www.cpan.org/ports/sharp/Perl_5.8.0_arm.ipk (http://www.cpan.org/ports/sharp/Perl_5.8.0_arm.ipk[/b)[/url]
-
Does anyone know if any of the 2 following perl packages will work on the C860 ?
http://humphrey.applitec.com/zaurus/feed/p...5.6.1-7_arm.ipk (http://humphrey.applitec.com/zaurus/feed/perl_5.6.1-7_arm.ipk)http://www.cpan.org/ports/sharp/Perl_5.8.0_arm.ipk (http://www.cpan.org/ports/sharp/Perl_5.8.0_arm.ipk)
I don\'t know about the 5.8 port at CPAN (will give it a look though) but I\'ve installed and used the 5.6.1-7 version (in the ZUG feed) on both 5600 and 860 with no problems.
It\'s great to have perl in my handheld - I\'m a linux sysadmin and I write little perl quickies 24/7 it seems - next I\'m going to see if I can get apache working with perl cgi on the 860.
j
-
Perl 5.8 works well. In fact I\'ve taken it and make a cramfs image of it (since it was so big). That means I can\'t update any modules, but I can use what I have without taking up all the space.
Michael
-
Thanks newkirk, I installed 5.6.1-7 and it seems to work with simple code I have written but gives the following warning before running the program
perl: warning :Setting locale failed.
perl: warning :Please check that you locale settings:
LANGUAGE = (unset)
LC_ALL = (unset)
LANG = \"en\"
are supported and installed on you system.
perl : warning : Failing back to the standard local (\"C\").
-
To get rid of the warnings, I added the following to /home/root/.profile:
LANG=\"en_US\"
LC_ALL=\"C\"
And to /home/zaurus/.profile:
export LANG=\"C\"
Ciao,
Thomas
-
Hi vanstrien
is your image downloadable somewhere? thanks!
-
The 5.8.0 is too big.
I recommend you get perl from here: http://packages.debian.org/stable (http://packages.debian.org/stable)
The other perls listed http://www.killefiz.de/zaurus (http://www.killefiz.de/zaurus) are complete but lack many interesting modules and building them may be a pain. The 5.6.1 distro from http://packages.debian.org/stable (http://packages.debian.org/stable) has a complete set of modules as well. Just take the arm .deb files extract with ar x and tar up with tgz, install and go.
I have already done this for the following and posted here: http://www.sense.net/zc/perl/ (http://www.sense.net/zc/perl/)
Base code. Install all three.
perl-base_5.6.1-8.7_arm.ipk 08-Jun-2004 09:19 532k
perl-modules_5.6.1-8.7_all.ipk 08-Jun-2004 09:19 1.2M
perl_5.6.1-8.7_arm.ipk 08-Jun-2004 09:21 1.1M
Perl/Tk. You will need Xqt installed (.8 not .9) as well if you want to develop Perl/Tk GUI scripts.
perl-tk_800.024-1_arm.ipk 08-Jun-2004 09:21 1.9M
E.g. rolodex example application in Xqt:
[img]http://sense.net/zc/scrn005.jpg\" border=\"0\" class=\"linked-image\" /]
I needed both for my perl-based IPMI code to run from my Z.
libdigest-md5-perl_2.13-2_arm.ipk 08-Jun-2004 09:18 21k
libstorable-perl_1.0.14-1_arm.ipk 08-Jun-2004 09:18 51k
I am a big fan of WWW automation with perl LWP, I\'ll probably convert that next.
Cacko 1.21a/b w/ Xqt on my c860.
-
WOW! Cool, thanks datajerk!!!