Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - beermad

Pages: [1]
1
Software / New Perl Util Ports
« on: August 18, 2005, 12:38:31 pm »
Possibly of use to any Perl developers out there; I've compiled some useful stuff on my 5500. As it's not GUI-based, I'd guess it'll work OK on any ARM-based Zaurus.
Main reason for porting them was to support a project I'm working on (which will be released under the GPL when it's finished) but as they might be useful to other people, it seems sensible to make them available.

1. Persistent Perl. Keeps Perl scripts in a compiled state so the interpreter doesn't have to re-compile them next time they run. Particularly useful on a slow machine like the 5500; one small script I tested took 0.14 seconds to run when it had to compile, but next time I ran it, the duration was only 0.01 seconds. Available from http://prdownloads.sourceforge.net/persist...rm.ipk?download

2. Perl DBI. The database-independent Perl modules for accessing databases. Available from http://prdownloads.sourceforge.net/perl-my...rm.ipk?download

3. Perl MySql DBD. The database access modules specific to MySQL. Both these and the DBI are neede to work with a database. Available from http://prdownloads.sourceforge.net/perl-my...rm.ipk?download

Note that the database modules install to /mnt/pkgs/perl/perl5.8.0/lib/5.8.0/linux, so if your @INC doesn't include that directory, you'll need to specify it in a "use lib" directive before using the modules.

Hope this is useful to someone
Cheers
Tony Green
http://www.beermad.org.uk

2
Sharp ROMs / Calendar Crashes On 3.10 / 5500
« on: August 17, 2005, 06:52:41 pm »
Quote
It's not just openssh, but it is the most likely culprit.

Any folder or file under /home/zaurus that is not owned by zaurus will cause calendar to crash when switching to month view - this is because the calendar puts a little pin for every file you have modified and marks the modified date on the calendar.

The same is true for all folders/files under /mnt/card/Documents and /mnt/cf/Documents.

You can chmod them or chown them to be owned by zaurus or qpe group

Stu
[div align=\"right\"][a href=\"index.php?act=findpost&pid=91343\"][{POST_SNAPBACK}][/a][/div]

Seems like it's not just the Documents subdirectory on the cards that it looks at. After I installed Perl and some other stuff on my SD card, the calendar suddenly started taking an amazingly long time to initialise (even when it was being kept in memory.) Seems that looking at 4 1/2 thousand files was a bit hard for it  

You've also explained what the little pin symbols were all about. I was wondering.

Cheers
Tony Green
http:www.beermad.org.uk

Pages: [1]