Module::Build / version / cpan / tail chasing

Discussion in 'Perl Misc' started by sbk, Jul 17, 2006.

  1. sbk

    sbk Guest

    hi,

    i've compiled perl-5.8.8 from scratch (my favorite approach) ...
    installed it ... and now i'm installing the modules which my in-house
    collection of code requires ... and i've run into a 'loop' between
    'version' and 'Module::Build' ... each requires the other ... and
    'cpan' doesn't seem to know how to work around this:

    cpan > install version
    [...]
    version-0.64/META.yml
    version-0.64/MANIFEST
    Removing previously used /home/skendric/.cpan/build/version-0.64
    Package came without SIGNATURE


    CPAN.pm: Going to build J/JP/JPEACOCK/version-0.64.tar.gz

    This module requires Module::Build to install itself.
    Install Module::Build from CPAN? [y] y
    [...]
    Module-Build-0.2803/t/xs.t
    Removing previously used /home/skendric/.cpan/build/Module-Build-0.2803
    WARNING: This key is not certified with a trusted signature!
    Primary key fingerprint: ADCB DB05 B40E B2A2 A555 5462 82BB CC04 B7EF
    9476

    CPAN.pm: Going to build K/KW/KWILLIAMS/Module-Build-0.2803.tar.gz

    Base class package "version" is empty.
    (Perhaps you need to 'use' the module which defines that package
    first.)
    at lib/Module/Build/Version.pm line 2
    BEGIN failed--compilation aborted at lib/Module/Build/Version.pm line
    2.
    Compilation failed in require at lib/Module/Build/ModuleInfo.pm line
    11.
    [...]
    Compilation failed in require at Makefile.PL line 6.
    BEGIN failed--compilation aborted at Makefile.PL line 6.
    Running make test
    CPAN: YAML loaded ok
    ---- Unsatisfied dependencies detected during
    [K/KW/KWILLIAMS/Module-Build-0.280
    3.tar.gz] -----
    version
    Running make install
    Delayed until after prerequisites
    Running install for module version
    Running make for J/JP/JPEACOCK/version-0.64.tar.gz
    [...]
    version-0.64/MANIFEST
    Removing previously used /home/skendric/.cpan/build/version-0.64
    Package came without SIGNATURE


    CPAN.pm: Going to build J/JP/JPEACOCK/version-0.64.tar.gz

    This module requires Module::Build to install itself.
    Install Module::Build from CPAN? [y]


    at this point, i'm chasing my tail ... any tips on how to break out and
    make progress?

    --sk

    stuart kendrick
    fhcrc
    sbk, Jul 17, 2006
    #1
    1. Advertising

  2. sbk

    Guest

    sbk wrote:
    > hi,
    >
    > i've compiled perl-5.8.8 from scratch (my favorite approach) ...
    > installed it ... and now i'm installing the modules which my in-house
    > collection of code requires ... and i've run into a 'loop' between
    > 'version' and 'Module::Build' ... each requires the other ... and
    > 'cpan' doesn't seem to know how to work around this:
    >


    (snipped)

    >
    > at this point, i'm chasing my tail ... any tips on how to break out and
    > make progress?
    >



    Circular dependency?

    Maybe you can first install a slightly older version of
    Module::Build -- one that doesn't require version.pm:

    http://search.cpan.org/src/KWILLIAMS/Module-Build-0.2801/Build.PL

    You can get the source from the CPAN website; download the tarball
    found here:

    http://search.cpan.org/~kwilliams/Module-Build-0.2801/

    Manually install this module.

    Then install version with the CPAN shell utility.

    Then reinstall the (latest) Module::Build.

    It does seem quite bothersome...

    --
    Hope this helps,
    Steven
    , Jul 17, 2006
    #2
    1. Advertising

  3. sbk

    sbk Guest

    hi steven,

    thanx! that worked

    --sk
    sbk, Jul 17, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. David Lozzi

    Chasing Tail, PLEASE HELP

    David Lozzi, Jan 2, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    352
    David Lozzi
    Jan 8, 2007
  2. V Green
    Replies:
    0
    Views:
    830
    V Green
    Feb 5, 2008
  3. Thomas Sondergaard

    Chasing a garbage collection bug

    Thomas Sondergaard, Sep 10, 2003, in forum: Ruby
    Replies:
    17
    Views:
    178
    Sean O'Dell
    Sep 12, 2003
  4. Terry Michaels

    Tail Call Optimization (Tail Recursion)

    Terry Michaels, Apr 18, 2011, in forum: Ruby
    Replies:
    16
    Views:
    305
    Robert Klemme
    Apr 20, 2011
  5. rickman

    Chasing Bugs in the Fog

    rickman, Jun 18, 2013, in forum: VHDL
    Replies:
    3
    Views:
    244
    Nicolas Matringe
    Jun 18, 2013
Loading...

Share This Page