Module::Build / version / cpan / tail chasing


S

sbk

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
 
Ad

Advertisements

A

attn.steven.kuo

sbk said:
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...
 
Ad

Advertisements


Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top