Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Using RPMs to package and install your own perl libs

by tomfahle (Priest)
on Feb 18, 2009 at 06:19 UTC ( [id://744666]=note: print w/replies, xml ) Need Help??


in reply to Using RPMs to package and install your own perl libs

Well, it ain't that easy.

Dave Cross gave a talk at YAPC::Europe 2008 "Perl in RPM-Land" and launched a project to automatically build RPMs from all modules uploaded to CPAN.

Fedora offers some help on Packaging:Perl and cpanspec

Hth,
Thomas

  • Comment on Re: Using RPMs to package and install your own perl libs

Replies are listed 'Best First'.
Re^2: Using RPMs to package and install your own perl libs
by zerohero (Monk) on Feb 18, 2009 at 08:16 UTC

    OK, after looking at this information, it seems like the much saner thing would be to adhere to the CPAN standard for packaging (e.g. using Module::Starter), and then do a local cpaninject, and use cpan to deploy all my (local) perl packages. This has the slight downside that perl will be "an end in itself". But then again, I'm not going to use perl as base libraries for other programs (e.g. GUI apps).

    The basic issue seems to be mixing packaging systems, and the usual problems having two standards causes. Note, however, that there have been people doing auto RPM builds as early as 2003. I stumbled upon this guy's site...http://rpmpan.sourceforge.net/, in addition to the ref you gave.

      I'd like to recommend Perl Best Admin Practices over at Perl 5 Wiki:

      • Build it yourself
      • Leave the system Perl alone
      • Isolate your perl installs so you can have many installed in parallel
      • Keep up to date
      • Use CPAN modules

      Cheers,
      Thomas

Re^2: Using RPMs to package and install your own perl libs
by gsiems (Deacon) on Feb 18, 2009 at 19:33 UTC

    I just set up cpanspec on my CentOS4 box to give it a spin.

    Although getting it setup was slightly annoying (not all the dependencies are available without going to EPEL, etc. or to CPAN), however it appears to work very nicely.

    ++ and thanks for the tip.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://744666]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-19 16:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found