Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re^3: module needs another module for build

by bingos (Vicar)
on Aug 11, 2011 at 08:55 UTC ( [id://919822]=note: print w/replies, xml ) Need Help??

in reply to Re^2: module needs another module for build
in thread module needs another module for build

The CPAN clients (cpan/cpanp/cpanm) take the following steps:

  • Download distribution
  • Extract distribution
  • Does a META.yml or META.json file exist? Okay, parse and look for configure_requires, resolve all the requirements listed there
  • Execute Makefile.PL or Build.PL
  • If there is a MYMETA.yml or MYMETA.json, parse and look for build and runtime requirements, resolve these
  • No, MYMETA files, okay, if there is a Makefile parse that to resolve requirements
  • Oh, its a Module::Build based dist, try running 'Build prereq_data' action, if that fails, poke around in _build/ directory to find the requirements
  • Resolve requirements
  • Execute 'make' for EUMM or './Build' for M::B
  • Execute 'make test' for EUMM or './Build test' for M::B
  • Execute 'make install' for EUMM or './Build install' for M::B
    • Comment on Re^3: module needs another module for build

Replies are listed 'Best First'.
Re^4: module needs another module for build
by dk (Chaplain) on Aug 19, 2011 at 11:17 UTC
    ++ very useful , thanks. This should be in FAQ somewhere.

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-16 14:33 GMT
Find Nodes?
    Voting Booth?

    No recent polls found