CPAN Module RPMs
davorg
created: 2006-06-21 05:37:11

I've been dabbling with building RPMs from CPAN modules. Mostly they are modules I've written but I've also packaged a few dependencies that they have.

The RPMs are on my web site. I built them using Fedora Core 5, but in case that doesn't work for some people I've also made the source RPMs and the spec files available.

I'm interested in any comments you have about them. If it's successful then I might start a real yum repository.

--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

Re: CPAN Module RPMs
created: 2006-06-21 10:39:15

A while ago, I noticed rpmpan by Kevin Pedigo which apparently uses cpanflute2 to automatically build RPMs for all of CPAN. After a fanfare of publicity in 2003, it seems to have gone very quiet. A search for cpanflute2 on CPAN found a mention in RPM::Specfile.

Re: CPAN Module RPMs
created: 2006-06-21 11:33:53

++good idea. I've often wished the CPAN modules were available as solaris pkg files and I've toyed with the idea of writing a script to package them it's just never become pressing enough to do anything with, well that and there are "some issues" in the Solaris environment where I work which makes it difficult: Perl can be built with either of two different compilers (gcc or Sun's c) and there can be up to three different versions of perl in different directory trees, each version with its own team of vocal advocates as to why it can't be removed... but I digress :) The compiler is probably a non issue on Linux, the other gotcha I know of is DBD::Oracle which builds against the specific Oracle version (DBA's upgrade Oracle, developers scream their scripts no longer work...), not sure if there are other modules out there with similar caveats. Good luck.

--
Do not seek to follow in the footsteps of the wise. Seek what they sought. -Basho

perlmonks.org content © perlmonks.org and davorg, eyepopslikeamosquito, greenFox

prlmnks.org © 2006 edmund von der burg (eccles & toad)

v 0.03