Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Including dependencies while creating rpm packages of perl modules

by sathya_myl (Acolyte)
on Dec 23, 2011 at 14:20 UTC ( [id://944928]=perlquestion: print w/replies, xml ) Need Help??

sathya_myl has asked for the wisdom of the Perl Monks concerning the following question:

I have been trying to create rpm packages of perl modules with cpan2rpm. Whenever i tried to create a package it dies with dependency errors. Is there a way to include the dependency modules in the rpm package while creating it.

Thanks in advance.

  • Comment on Including dependencies while creating rpm packages of perl modules

Replies are listed 'Best First'.
Re: Including dependencies while creating rpm packages of perl modules
by moritz (Cardinal) on Dec 23, 2011 at 15:06 UTC
Re: Including dependencies while creating rpm packages of perl modules
by zwon (Abbot) on Dec 24, 2011 at 14:52 UTC

    You should first build and install dependencies, cpan2rpm won't do it for you.

Re: Including dependencies while creating rpm packages of perl modules
by Plankton (Vicar) on Dec 23, 2011 at 22:58 UTC
    What module are you trying to package? What error messages do you get?

      I was trying to create an RPM for Apache::DBI module. I'm getting the following error:

      Warning: prerequisite DBI 1 not found.
      Warning: prerequisite Digest::SHA1 2.01 not found.
      Unable to build module, the following dependencies have failed:

        Did you try installing DBI and Digest::SHA1 ?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2024-04-18 16:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found