Author Topic: Perl on 860  (Read 4695 times)

dadabhoy

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • http://
Perl on 860
« 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://www.cpan.org/ports/sharp/Perl_5.8.0_arm.ipk
[/url]

newkirk

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
    • http://myzaur.us
Perl on 860
« Reply #1 on: February 27, 2004, 12:37:41 pm »
Quote
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.ipkhttp://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
newkirk @ myzaur.us
pdaxrom @ newkirk.us
SL-5600, SL-C860
Socket & Ambicom WiFis
Billionton bluetooth
Lexar 256mb CF & SD

vanstrien

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
    • http://www.vanstrien.net
Perl on 860
« Reply #2 on: February 29, 2004, 04:55:35 pm »
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
C860 Cacko ROM | 5500 tkcROM
256MB SD | 128MB SD
512MB CF | 256MB CF
D-Link DWL 660 WiFi| Linksys WCF12 WiFi
Socket Bluetooth | Socket Ethernet

dadabhoy

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • http://
Perl on 860
« Reply #3 on: March 01, 2004, 01:02:06 pm »
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\").

thomas

  • Newbie
  • *
  • Posts: 1
    • View Profile
Perl on 860
« Reply #4 on: March 07, 2004, 05:52:40 am »
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
Sharp Zaurus C860
Socket Bluetooth / SMC WLAN

BalroG

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
Perl on 860
« Reply #5 on: June 17, 2004, 10:05:55 am »
Hi vanstrien

is your image downloadable somewhere? thanks!
C860 on Default Sharp ROM(to change soon!)

datajerk

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • http://
Perl on 860
« Reply #6 on: June 17, 2004, 12:05:49 pm »
The 5.8.0 is too big.

I recommend you get perl from here:  http://packages.debian.org/stable

The other perls listed 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 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/

Base code.  Install all three.
Code: [Select]
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.  
Code: [Select]
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.
Code: [Select]
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.

BalroG

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
Perl on 860
« Reply #7 on: June 18, 2004, 07:10:55 am »
WOW! Cool, thanks datajerk!!!
C860 on Default Sharp ROM(to change soon!)