Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 20803
Status: resolved
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: seashell [...] handypaws.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Bundle::CPANPLUS Installation Problems
Date: Tue, 01 Aug 2006 17:02:00 -0700
To: bug-CPANPLUS [...] rt.cpan.org
From: Ann Hopkins <seashell [...] handypaws.com>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Environment: perl 5.8.8, Bundle-CPANPLUS-0.01, CPANPLUS-Dist-Build-0.03, Module-Build-0.2805 Please have patience with me as I am hobbiest, and may not understand how to correctly give you all the information. This was also my first time installing modules into a perl distribution. I had wanted to install CPANPLUS after looking at the description at cpan.org, as it had a removal tool which would be great for someone experimenting with an installation. I used CPAN (console mode) first and upgraded that module, and then I tried to install the "Bundle::CPANPLUS" which I hoped would install every dependency. It failed because it needed the "Module::Build" module which needed "ExtUtils::Builder" and "ExtUtils::ParseXS"; I installed those modules using CPAN. It still wouldn't install "Module::Build" but I was able to install that manually. I tried again to install "Bundle::CPANPLUS", and I found out that another bundle within this bundle "Bundle::CPANPLUS::Dependencies" would not install because a module within that bundle "CPANPLUS::Dist::Build" would not install. Finally after looking at the output, and examining the source for "CPANPLUS::Dist::Build" I found that it required an older version of "CPANPLUS" to be installed, but the latest version of "CPANPLUS" needs "Bundle::CPANPLUS::Dependencies" installed. I finally found the older version of "CPANPLUS" required in an archive and installed that manually - sorry I forget the version I believe it was .51 or .53. I then installed "CPANPLUS::Dist::Build" after which I could finally install the latest version of "CPANPLUS". I could then use CPANPLUS. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEz+t3hs7JGk93PT0RAmspAJ0SKf7a8DhWklgi3uxWOJoHKd0YuACfWrPP /WgqMCC232tnl4cd85oegVk= =jY6A -----END PGP SIGNATURE-----
Show quoted text
> Environment: perl 5.8.8, Bundle-CPANPLUS-0.01, > CPANPLUS-Dist-Build-0.03, Module-Build-0.2805
Show quoted text
> I used CPAN (console mode) first and upgraded that module, and then > I tried to install the "Bundle::CPANPLUS" which I hoped would > install every dependency.
It indeed should. Show quoted text
> It failed because it needed the "Module::Build" module which needed > "ExtUtils::Builder" and "ExtUtils::ParseXS"; I installed those > modules using CPAN. It still wouldn't install "Module::Build" but I > was able to install that manually.
If you have the logs of the failure, that's most helpful in tracking down what went wrong. If you believe the error to lie with module-build (as that is the module that failed apparently), you can create a bug report on rt.cpan.org for it as well. Show quoted text
> I tried again to install "Bundle::CPANPLUS", and I found out that > another bundle within this bundle "Bundle::CPANPLUS::Dependencies" > would not install because a module within that bundle > "CPANPLUS::Dist::Build" would not install.
Again, the logs would be very helpful. But there's a known issue with C::D::Build currently; Module::Build has a new feature where it splits out C/XS support in seperate modules which are now optional, rather than (what it used to be) a core component. C::D::Build needs to be made aware of this. I've sent a patch to the Module::Build people to apply to C::D::Build which makes tests pass again (this was *just* a test issue): http://www.mail-archive.com/module-build@perl.org/msg00234.html Show quoted text
> Finally after looking at the output, and examining the source for > "CPANPLUS::Dist::Build" I found that it required an older version of > "CPANPLUS" to be installed, but the latest version of "CPANPLUS" > needs "Bundle::CPANPLUS::Dependencies" installed.
The requirement is a minimum version, not the only version it will work with. The failure you experienced with C::D::Build is probably only due to the feature change in Module::Build, and not to any CPANPLUS code changing in an imcompatible way. There is by the way a 'cpanp-boxed' script bundled with CPANPLUS, which lets you run CPANPLUS with bundled dependencies, so you can start straight away :) Show quoted text
> I finally found the older version of "CPANPLUS" required in an > archive and installed that manually - sorry I forget the version I > believe it was .51 or .53. I then installed "CPANPLUS::Dist::Build" > after which I could finally install the latest version of > "CPANPLUS". I could then use CPANPLUS.
Not bad problem solving for a 'hobbiest' :) Hopefully my pointers made it easier for you Next Time. -- Jos