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
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Re: Fixing CPAN: Part 1 - Toolchain Communication (Score:2)
Is that really what we want to be aiming at? I mean, I think that CPAN (and CPANPLUS) is great, but the only people who know about it are Perl developers. It's great for us that the same method works (for some value of "works") on every platform that we use, but for the average user (or the average adminstrator of a computer with Perl installed) probably isn't a Perl developer and wants to install Perl and CPAN modules using whatever installation tools he is used to using to install the rest of his toolset.
I'd love to see a way to make it easier for CPAN authors (or perhaps CPAN itself - or another project attached to CPAN) to create packages that can be used to install CPAN modules using packaging mechanisms that are native to various operating systems - whether it's rpm, deb, sis or something else.
That's how you'll get people installing CPAN modules painlessly.
Reply to This
Re: (Score:1)
Yes, newbie programmers on the first day they start Perl should be able to install modules without having to deal with errors they don't yet know.
You are correct that it would be better for users to use binary packages, and solutions for these exist.
Unfortunately, nobody that I'm aware of has managed to find a way to package and maintain up to date a reasonably large subset of Perl. debian is at 3,000ish out of 11
Re: (Score:1)
Is that really what we want to not be aiming at? How does having a working CPAN toolchain preclude binary package repositories? Why should we not aim at having both?
Re: (Score:1)
I'd love to see a way to make it easier for CPAN authors (or perhaps CPAN itself - or another project attached to CPAN) to create packages that can be used to install CPAN modules using packaging mechanisms that are native to various operating systems - whether it's rpm, deb, sis or something else.
Take a look at CPANPLUS::Dist::Deb [cpan.org] and debian.pkgs.cpan.org [cpan.org] and you'll see you and I are on the same page :)
It still needs some more hacking to make it easier to write new C::D::* modules, but the concept works :)
Re: (Score:1)
there is also dh-make-perl in debian. IIRC, cpan2dist works better than dh-make-perl.
Re: (Score:2)
Ooh. Very cool.
Now, of course, personally I don't care at all about Debian packages. Where is CPANPLUS::Dist::RPM.
Or have I just volunteered myself?