Custom Perl For Chumby

From Chumby Wiki
Revision as of 13:55, 8 May 2009 by Nightmedia (Talk | contribs)

Jump to: navigation, search

The instructions for building Perl to work on the Chumby are found Here.

You will learn how to set up a development environment using Scratchbox, and compile your own Perl and applications.


Pre-compiled, ready-to-run Perl

Download here the Perl, the include libraries, and applications as they should be installed on a Chumby USB key. They will get unpacked in "usr", which will appear on the Chumby as /mnt/usb/usr.

This is the file that will get updated on a regular basis. This build contains some generic CPAN modules that can be useful when writing Perl scripts on the Chumby. Among them are the libwww package and the Mail::Sender package.

 http://files.chumby.com/resources/Arm.usb.5.10.Chumby.tgz

All the applications listed on the How-to page are included in this package.

If you are unpacking this on a FAT/FAT32 USB key, you will have an issue with the symlink to perl - namely the /mnt/usb/usr/local/bin/perl.5.10.0 > perl, that will not be created on a FAT/FAT32. To remedy this, copy the perl binary to the expected name:

 cd /mnt/usb/usr/local/bin/
 cp perl.5.10.0 perl