OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: kclayton on December 12, 2004, 01:01:19 pm

Title: Perl In 3.5.2?
Post by: kclayton on December 12, 2004, 01:01:19 pm
Hola,

Anyone know of the status of perl in 3.5.x?  Before handhelds.org went down and took the maillists archives with it I saw discussions of building perl 5.8.3 w/oe.  However perl didn't show up in either 3.5.x feed.  Was there a signficant build prob that shelved it?  Is anyone working on it?

Cheers,
K
Title: Perl In 3.5.2?
Post by: kclayton on December 14, 2004, 08:39:29 am
I appear to have perl 5.8.4 working with OZ 3.5.2.  I took the perl-base, perl and perm-modules 5.8.4-4_arm.deb packages from
http://http.us.debian.org/debian/pool/main/p/perl/ (http://http.us.debian.org/debian/pool/main/p/perl/)

and extracted then w/ 'ar x' then re-tgz'd them up into ipks and they installed and ran fine.

Sone things to note:

(1) I know virtually nothing about building ipks.  These pkgs were installed to sd and the package manager didn't run ipkg-link as usual.  Had to run it manually I suspect fine-tuning is needed in control.tar.gz somewhere.  

(2) Initial install put dir /usr/share/perl/5.8  This should be a symlink to /usr/share/perl/5.8.4 so that perl can find modules such as strict.pm

(3) Had to create a perl_defaults script in /etc/profile.d so that LANGUAGE="en_US" and LC_ALL="C" got set and removed warnings at launch. (same ideas as opie_defaults.

(4) I made no effort to strip out things such as man pages and docs.  And I don't have time for such right now.  So, resulting ipks are certainly larger than necessary.

(5) I've done only rudimentary testing.  Hello world, a couple of personal text processing scripts (open file, read and tweak text, write new file) and a quick test of multiplying 2 scalars (1.234, 2.1).  Tests all went fine but you are on your own from here.

I'd be willing to send these to people if you email me privately (keith@claytons.org) or post them if someone has a good public site.  However, I don't have time to enhance, support or fix these packages except to meet my own needs.  Don't email me looking for help . . not trying to be a jerk . . just buried right now.  So basically if you have problems you are on your own.  

Long term the way this "should" be done is via the OE build system. I just had immediate need so I made it work.   Maybe in a couple of months, after some work projects are behind me and I have some time, I'll pull the OE build tools, chat with the deb packager and see if I can get some legit packages going.

Cheers,
K
Title: Perl In 3.5.2?
Post by: grog on June 09, 2005, 01:12:40 pm
FWIW I've just installed perl 5.8.4 on my 5600 under OZ 3.5.3 with the help of kclayton's post. Thanks kclayton. But in my case I didn't even re-package the .deb files, just installed them directly.

Here's specifically what I did:

Installed these packages in the following order:
    perl-base_5.8.4-8_arm.deb
    libgdbm3_1.8.3-r0_arm.ipk (from OZ's feed)
    perl_5.8.4-8_arm.deb (use --force-depends)
    perl-modules_5.8.4-8_all.deb

I ran 'ipkg-link add pkgname' after each package install just in case (I was installing to my sd card).

After that I had to remove the empty directories created by the install & symlink them to the proper one's:
    rm -Rf /usr/share/perl/5.8
    ln -s /usr/share/perl/5.8.4 /usr/share/perl/5.8
    rm -Rf /usr/lib/perl/5.8
    ln -s /usr/lib/perl/5.8.4 /usr/share/perl/5.8

So far so good. HTH
Title: Perl In 3.5.2?
Post by: Mickeyl on June 09, 2005, 02:40:05 pm
Very good. Could you fix the recipes in OE as well? Then it would be in the feed for coming versions.
Title: Perl In 3.5.2?
Post by: darkloran on October 08, 2005, 09:35:31 am
Hi,

Quote
Very good. Could you fix the recipes in OE as well? Then it would be in the feed for coming versions.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=83572\"][{POST_SNAPBACK}][/a][/div]

 i've got a sl-c3000 and i've decided to try openzaurus for a while. (i've used Qtopia ROM for 6 months and Cacko b1 for 6 other months).

  i've read that perl was previously in OZ... you're talking about to put it in OZ feed in 3.5.x but i've found it nowhere... can you tell me if it exists ?

if not i'll go further and compile it...

loran
Title: Perl In 3.5.2?
Post by: lardman on October 08, 2005, 10:59:23 am
Perl was always in OE, it was just broken (not building), however I think it's fixed now - I've just started bitbake to see whether it builds or not.


Si