Subject: | Fails to downgrade on URL |
I've got MooseX::Types .11 installed, I wanted to install .10 so I tried
to do it with cpanp and all I got was fail.
root@x60s:/home/ecarroll/code/perl/MX-T/t# cpanp install
http://search.cpan.org/CPAN/authors/id/J/JJ/JJNAPIORK/MooseX-Types-0.10.tar.gz
Installing MooseX::Types (0.10)
*** Install log written to:
/root/.cpanplus/install-logs/MooseX-Types-0.10-1244827168.log
Module 'MooseX::Types' installed successfully
No errors installing all modules
root@x60s:/home/ecarroll/code/perl/MX-T/t# perl -MMooseX::Types\ 9999
MooseX::Types version 9999 required--this is only version 0.11.
BEGIN failed--compilation aborted.
***HOWEVER*** It works if I uninstall first
root@x60s:/home/ecarroll/code/perl/MX-T/t# cpanp
CPANPLUS::Shell::Default -- CPAN exploration and module installation
(v0.8601)
*** Please report bugs to <bug-cpanplus@rt.cpan.org>.
*** Using CPANPLUS::Backend v0.8601.
*** ReadLine support available (try 'i Term::ReadLine::Perl').
*** Type 'p' now to show start up log
Did you know...
You can turn off these tips using 's conf show_startup_tip 0'
CPAN Terminal> uninstall MooseX::Types
This will uninstall the following modules:
MooseX::Types
Note that if you installed them via a package manager, you probably
should use the same package manager to uninstall them
Are you sure you want to continue? [y/N]: y
Uninstalling 'MooseX::Types'
Module 'MooseX::Types' uninstalled successfully
All modules uninstalled successfully
CPAN Terminal> install
http://search.cpan.org/CPAN/authors/id/J/JJ/JJNAPIORK/MooseX-Types-0.10.tar.gz
Installing MooseX::Types (0.10)
Running [/usr/bin/perl /usr/bin/cpanp-run-perl
/root/.cpanplus/5.10.0/build/MooseX-Types-0.10/Makefile.PL ]...
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
[Core Features]
- Test::More ...loaded. (0.86 >= 0.8)
- FindBin ...loaded. (1.49)
- Moose ...loaded. (0.81 >= 0.61)
- Sub::Install ...loaded. (0.925 >= 0.924)
- namespace::clean ...loaded. (0.11 >= 0.08)
- Carp ...loaded. (1.08)
- Carp::Clan ...loaded. (6.00 >= 6)
- Scalar::Util ...loaded. (1.21 >= 1.19)
*** Module::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Writing Makefile for MooseX::Types
Running [/usr/bin/make test]...
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/10_moose-types.t
t/11_library-definition.t t/12_wrapper-definition.t t/13_typedecorator.t
t/14_compatibility-sub-exporter.t t/15_recursion.t t/16_introspection.t
t/10_moose-types.t ................. ok
t/11_library-definition.t .......... ok
t/12_wrapper-definition.t .......... ok
t/13_typedecorator.t ............... ok
t/14_compatibility-sub-exporter.t .. ok
t/15_recursion.t ................... ok
t/16_introspection.t ............... ok
All tests successful.
Files=7, Tests=185, 2 wallclock secs ( 0.05 usr 0.02 sys + 2.22 cusr
0.15 csys = 2.44 CPU)
Result: PASS
*** Install log written to:
/root/.cpanplus/install-logs/MooseX-Types-0.10-1244827360.log
Module 'MooseX::Types' installed successfully
No errors installing all modules
CPAN Terminal>
CPAN Terminal>
Exiting CPANPLUS shell
root@x60s:/home/ecarroll/code/perl/MX-T/t# perl -MMooseX::Types\ 9999
MooseX::Types version 9999 required--this is only version 0.10.
BEGIN failed--compilation aborted.