FAQ
Hi All,

I have a new module that, for the moment, is distributed only with a
Build.PL file—no Makefile.PL. That will be remedied in the next
release, but in the meantime, when I tried to install it via
CPANPLUS, it failed. Why? Because I put test requirements into
build_requires, but CPANPLUS didn't install them. It sees them, mind
you:

Checking prerequisites...
- ERROR: Test::Differences is not installed
- ERROR: Test::JSON is not installed
- ERROR: Test::Class is not installed
- ERROR: Test::XML is not installed
- ERROR: Test::Output is not installed
- ERROR: Test::File::Contents is not installed
- ERROR: Class::Trait is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the
versions
of the modules indicated above before proceeding with this installation

But is there a reason it doesn't go ahead and install them just as it
installs the requires? I mean, if it's in build_requires, it can't
expect to build (and test) the module without them.

Thanks,

David

Search Discussions

  • Kane at Aug 3, 2006 at 6:49 pm

    when I tried to install it via
    CPANPLUS, it failed. Why? Because I put test requirements into
    build_requires, but CPANPLUS didn't install them. It sees them, mind
    you:
    This is actually a known issue, and a patch has been supplied over a year ago
    to the CPANPLUS::Dist::Build queue in rt, but never applied:
    http://rt.cpan.org/Ticket/Display.html?id=13926

    The C::D::Build module (and therefor queue) is being maintained by the
    Module::Build team now, so i'm cc'ing them now in the hope this gets
    picked up.

    -- Jos
  • Ken Williams at Aug 4, 2006 at 12:55 pm

    On Aug 3, 2006, at 1:49 PM, kane@xs4all.nl wrote:
    This is actually a known issue, and a patch has been supplied over
    a year ago
    to the CPANPLUS::Dist::Build queue in rt, but never applied:
    http://rt.cpan.org/Ticket/Display.html?id=13926
    Actually it's been applied but never released. =/

    -Ken
  • Ken Williams at Aug 4, 2006 at 2:52 am
    Yeah, if it's building it, it should install build_requires stuff.

    Is there a patch in our future? =)

    -Ken

    On Aug 3, 2006, at 1:10 PM, David Wheeler wrote:

    Hi All,

    I have a new module that, for the moment, is distributed only with
    a Build.PL file—no Makefile.PL. That will be remedied in the next
    release, but in the meantime, when I tried to install it via
    CPANPLUS, it failed. Why? Because I put test requirements into
    build_requires, but CPANPLUS didn't install them. It sees them,
    mind you:

    Checking prerequisites...
    - ERROR: Test::Differences is not installed
    - ERROR: Test::JSON is not installed
    - ERROR: Test::Class is not installed
    - ERROR: Test::XML is not installed
    - ERROR: Test::Output is not installed
    - ERROR: Test::File::Contents is not installed
    - ERROR: Class::Trait is not installed

    ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install
    the versions
    of the modules indicated above before proceeding with this
    installation

    But is there a reason it doesn't go ahead and install them just as
    it installs the requires? I mean, if it's in build_requires, it
    can't expect to build (and test) the module without them.

    Thanks,

    David
  • David Wheeler at Aug 4, 2006 at 3:20 am

    On Aug 3, 2006, at 19:52, Ken Williams wrote:

    Yeah, if it's building it, it should install build_requires stuff.

    Is there a patch in our future? =)
    Kane sent me this link:

    http://rt.cpan.org/Ticket/Display.html?id=13926

    Best,

    David
  • Ken Williams at Aug 4, 2006 at 3:28 am

    On Aug 3, 2006, at 10:19 PM, David Wheeler wrote:
    On Aug 3, 2006, at 19:52, Ken Williams wrote:

    Yeah, if it's building it, it should install build_requires stuff.

    Is there a patch in our future? =)
    Kane sent me this link:

    http://rt.cpan.org/Ticket/Display.html?id=13926
    Ah yes. I just closed that ticket, apparently we fixed that
    particular issue a while back but we haven't been able to get the
    codebase working well enough to release.

    -Ken
  • David Wheeler at Aug 4, 2006 at 3:31 am

    On Aug 3, 2006, at 20:28, Ken Williams wrote:

    Ah yes. I just closed that ticket, apparently we fixed that
    particular issue a while back but we haven't been able to get the
    codebase working well enough to release.
    What's the holdup? I mean in that in terms of what's not working. :-)

    Best,

    David
  • Ken Williams at Aug 4, 2006 at 3:38 am

    On Aug 3, 2006, at 10:30 PM, David Wheeler wrote:
    On Aug 3, 2006, at 20:28, Ken Williams wrote:

    Ah yes. I just closed that ticket, apparently we fixed that
    particular issue a while back but we haven't been able to get the
    codebase working well enough to release.
    What's the holdup? I mean in that in terms of what's not working. :-)
    See my other message responding to Jos' patch this evening - it
    scares me. ;-/

    -Ken
  • David Wheeler at Aug 4, 2006 at 3:42 am

    On Aug 3, 2006, at 20:38, Ken Williams wrote:

    See my other message responding to Jos' patch this evening - it
    scares me. ;-/
    I'd say upgrade CPP. I have 0.072 installed, myself.

    Best,

    David

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmodule-build @
categoriesperl
postedAug 3, '06 at 6:10p
activeAug 4, '06 at 12:55p
posts9
users3
websitecpan.org...

People

Translate

site design / logo © 2017 Grokbase