Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jozef (8299)

jozef
  (email not shown publicly)
http://jozef.kutej.net/
Jabber: jozef@kutej.net

Journal of jozef (8299)

Saturday June 06, 2009
05:15 PM

opl-perl

[ #39087 ]

opl-perl => wtf? well, it should stand for opt perl perl :-)

  • Perl 5.10.0-22 for Lenny
  • can be found in /opt/perl/bin/perl
  • /usr/share/t/* experiment

The goal is to have Perl+modules from Squeeze (Debian/testing) available in Lenny (Debian/stable) whithout touching the system /usr/bin/perl.

Ingredients:

  • 1 Debian Lenny
  • working internet connection
  • piece of curiosity
  • ~5 minutes

Procedure:

gpg --recv-key F80BD927
gpg --fingerprint --list-key F80BD927
# check
# pub 1024D/F80BD927 2008-09-02 [expires: 2018-08-31]
# Key fingerprint = 9F84 0B8D 193E 2052 9343 A470 0B43 A050 F80B D927
gpg --armor --export F80BD927 | sudo apt-key add -

cat >> /etc/apt/sources.list <<__END__
deb http://bratislava.pm.org/debrepo/opl-perl/ unstable/
deb-src http://bratislava.pm.org/debrepo/opl-perl/ unstable/
# needed only when packaging
#deb http://bratislava.pm.org/debrepo/opl-pkg/ unstable/
#deb-src http://bratislava.pm.org/debrepo/opl-pkg/ unstable/
__END__

sudo apt-get update
apt-cache search opl- | perl -lane 'print $F[0]' | xargs sudo apt-get install -f
/opt/perl/bin/perl -V

Comments:

Did I say it's experiment? Or a proof that it's possible and a playground. :-) For example checkout the /usr/share/t/ folder after instalation. I've setup debhelper to copy the whole content of t/ folder of each package there. It seems that it's not a good idea as many tests are depending on having files outside the t/ folder, looking for t/some.pm or are looking for .pm files as for example everywhere used pod.t test. Besides there is a Module::Build with dependecies so it's a solid base to install all the rest of the CPAN via CPAN shell ;-)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Recently being pissed off with the out of date Moose in Lenny, I was considering getting a Mini-CPAN and just seeing how many packages I could blindly build with dh-make-perl. Insane?

    • If you want to go CPAN-insane ;-) then try to install CPANPLUS::Dist::Deb [cpan.org] and run `cpan2dist --verbose --format CPANPLUS::Dist::Deb Moose`. That should work pretty good. It will build packages for Moose and all it's recent dependencies. If you promise to try and test, I can prepare the opl-libmoose-perl :-) with the version 0.74 from Squeeze. Hmm there is 0.80 in Sid already. Another option is to do mix Debian stable/testing/unstable. This is good for a development machine.