in reply to Re: Can I please have *simple* modules?
in thread Can I please have *simple* modules?
Hi fluffy,
I ran into this problem last night. I didn't send the email because I've seen those test failures for CMM for a long time and since there are also a variety of open issues in the CMM RT queue, I just moved on. I don't mean this as any offense to you, but there are days when I just get tired of documenting and tracking every bug I find in large external modules. There's also the problem that CMM apparently assumes I'm using a hash internally. This breaks some of my code. So not only did I have difficult installing it, it really doesn't do what I need.
I did check and see I still have the info in my buffer. If you're curious:
Kinetic $ cpanp i Class::MethodMaker Installing Class::MethodMaker Creating custom builder _build/lib/CMM/AutoSplit.pm in _build/lib/CMM Checking whether your kit is complete... Looks good Creating new 'Build' script for 'Class-MethodMaker' version '2.07' /usr/local/bin/perl generate.PL lib/Class/MethodMaker/array.pm lib/Cla +ss/MethodMaker/hash.pm lib/Class/MethodMaker/scalar.pm ./cmmg.pl components/array.m > lib/Class/MethodMaker/array.pm ./cmmg.pl components/hash.m > lib/Class/MethodMaker/hash.pm ./cmmg.pl components/scalar.m > lib/Class/MethodMaker/scalar.pm MethodMaker.xs -> lib/Class/MethodMaker.xs lib/Class/MethodMaker.xs -> lib/Class/MethodMaker.c cc -I/usr/local/lib/perl5/5.8.7/darwin-2level/CORE -DXS_VERSION="2.07" + -DVERSION="2.07" -c -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-s +trict-aliasing -pipe -I/usr/local/include -Os -o lib/Class/MethodMake +r.o lib/Class/MethodMaker.c ExtUtils::Mkbootstrap::Mkbootstrap('lib/Class/MethodMaker') lib/Class/MethodMaker.bs -> blib/arch/auto/Class/MethodMaker/MethodMak +er.bs env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup + -L/usr/local/lib -o blib/arch/auto/Class/MethodMaker/MethodMaker.bun +dle lib/Class/MethodMaker.o Warning: AutoSplit had to create top-level blib/lib/auto unexpectedly. AutoSplitting lib/Class/MethodMaker/array.pm (blib/lib/auto/Class/Meth +odMaker/array) AutoSplitting lib/Class/MethodMaker/hash.pm (blib/lib/auto/Class/Metho +dMaker/hash) AutoSplitting lib/Class/MethodMaker/scalar.pm (blib/lib/auto/Class/Met +hodMaker/scalar) AutoSplitting lib/Class/MethodMaker/Engine.pm (blib/lib/auto/Class/Met +hodMaker/Engine) t/0-signature..............ok + 1/1 skipped: Next time around, consider install Module::Signat +ure, # so you can verify the integrity of this distribution. t/array....................Argument "2.121_04" isn't numeric in subrou +tine entry at t/array.t line 12. t/array....................ok + t/basic....................Argument "2.121_04" isn't numeric in subrou +tine entry at t/basic.t line 11. t/basic....................ok + t/diffclass................ok + t/hash.....................Argument "2.121_04" isn't numeric in subrou +tine entry at t/hash.t line 12. t/hash.....................ok + t/new......................ok + t/redefine-warnings........ok + t/scalar...................ok + t/v1_abstract..............ok + t/v1_boolean...............Can't locate Class/MethodMaker.pm in @INC ( +@INC contains: /Users/curtispoe/.cpanplus/5.8.7/build/Class-MethodMak +er-2.07/blib/lib /Users/curtispoe/.cpanplus/5.8.7/build/Class-MethodM +aker-2.07/blib/arch /sw/lib/perl5 /sw/lib/perl5/darwin /usr/local/lib +/perl5/site_perl/5.8.7//darwin-2level /usr/local/lib/perl5/site_perl/ +5.8.7/ /usr/local/lib/perl5/5.8.7/darwin-2level /usr/local/lib/perl5/ +5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/darwin-2level /usr/local/l +ib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .) at t/v1_bo +olean.t line 6. BEGIN failed--compilation aborted at t/v1_boolean.t line 7. t/v1_boolean...............dubious + Test returned status 2 (wstat 512, 0x200) t/v1_code..................ok + t/v1_copy..................ok + t/v1_counter...............Can't locate Class/MethodMaker.pm in @INC ( +@INC contains: /Users/curtispoe/.cpanplus/5.8.7/build/Class-MethodMak +er-2.07/blib/lib /Users/curtispoe/.cpanplus/5.8.7/build/Class-MethodM +aker-2.07/blib/arch /sw/lib/perl5 /sw/lib/perl5/darwin /usr/local/lib +/perl5/site_perl/5.8.7//darwin-2level /usr/local/lib/perl5/site_perl/ +5.8.7/ /usr/local/lib/perl5/5.8.7/darwin-2level /usr/local/lib/perl5/ +5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/darwin-2level /usr/local/l +ib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .) at t/v1_co +unter.t line 7. BEGIN failed--compilation aborted at t/v1_counter.t line 8. t/v1_counter...............dubious + Test returned status 2 (wstat 512, 0x200) t/v1_get_concat............Can't locate Class/MethodMaker.pm in @INC ( +@INC contains: /Users/curtispoe/.cpanplus/5.8.7/build/Class-MethodMak +er-2.07/blib/lib /Users/curtispoe/.cpanplus/5.8.7/build/Class-MethodM +aker-2.07/blib/arch /sw/lib/perl5 /sw/lib/perl5/darwin /usr/local/lib +/perl5/site_perl/5.8.7//darwin-2level /usr/local/lib/perl5/site_perl/ +5.8.7/ /usr/local/lib/perl5/5.8.7/darwin-2level /usr/local/lib/perl5/ +5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/darwin-2level /usr/local/l +ib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .) at t/v1_ge +t_concat.t line 6. BEGIN failed--compilation aborted at t/v1_get_concat.t line 8. t/v1_get_concat............dubious + Test returned status 2 (wstat 512, 0x200) t/v1_get_set...............ok + t/v1_get_set_hi............ok + t/v1_hash..................ok + t/v1_key_attrib............Can't locate Class/MethodMaker.pm in @INC ( +@INC contains: /Users/curtispoe/.cpanplus/5.8.7/build/Class-MethodMak +er-2.07/blib/lib /Users/curtispoe/.cpanplus/5.8.7/build/Class-MethodM +aker-2.07/blib/arch /sw/lib/perl5 /sw/lib/perl5/darwin /usr/local/lib +/perl5/site_perl/5.8.7//darwin-2level /usr/local/lib/perl5/site_perl/ +5.8.7/ /usr/local/lib/perl5/5.8.7/darwin-2level /usr/local/lib/perl5/ +5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/darwin-2level /usr/local/l +ib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .) at t/v1_ke +y_attrib.t line 6. BEGIN failed--compilation aborted at t/v1_key_attrib.t line 7. t/v1_key_attrib............dubious + Test returned status 2 (wstat 512, 0x200) t/v1_key_with_create.......Can't locate Class/MethodMaker.pm in @INC ( +@INC contains: /Users/curtispoe/.cpanplus/5.8.7/build/Class-MethodMak +er-2.07/blib/lib /Users/curtispoe/.cpanplus/5.8.7/build/Class-MethodM +aker-2.07/blib/arch /sw/lib/perl5 /sw/lib/perl5/darwin /usr/local/lib +/perl5/site_perl/5.8.7//darwin-2level /usr/local/lib/perl5/site_perl/ +5.8.7/ /usr/local/lib/perl5/5.8.7/darwin-2level /usr/local/lib/perl5/ +5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/darwin-2level /usr/local/l +ib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .) at t/v1_ke +y_with_create.t line 6. BEGIN failed--compilation aborted at t/v1_key_with_create.t line 7. t/v1_key_with_create.......dubious + Test returned status 2 (wstat 512, 0x200) t/v1_list..................ok + t/v1_method................ok + t/v1_new...................ok + t/v1_new_hash_with_init....ok + t/v1_object................ok + t/v1_object_list...........ok + t/v1_object_tie_hash.......Can't locate Class/MethodMaker.pm in @INC ( +@INC contains: /Users/curtispoe/.cpanplus/5.8.7/build/Class-MethodMak +er-2.07/blib/arch /Users/curtispoe/.cpanplus/5.8.7/build/Class-Method +Maker-2.07/blib/lib /sw/lib/perl5 /sw/lib/perl5/darwin /usr/local/lib +/perl5/site_perl/5.8.7//darwin-2level /usr/local/lib/perl5/site_perl/ +5.8.7/ /usr/local/lib/perl5/5.8.7/darwin-2level /usr/local/lib/perl5/ +5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/darwin-2level /usr/local/l +ib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .) at t/v1_ob +ject_tie_hash.t line 30. BEGIN failed--compilation aborted at t/v1_object_tie_hash.t line 30. t/v1_object_tie_hash.......dubious + Test returned status 2 (wstat 512, 0x200) t/v1_object_tie_list.......Can't locate Class/MethodMaker.pm in @INC ( +@INC contains: /Users/curtispoe/.cpanplus/5.8.7/build/Class-MethodMak +er-2.07/blib/arch /Users/curtispoe/.cpanplus/5.8.7/build/Class-Method +Maker-2.07/blib/lib /sw/lib/perl5 /sw/lib/perl5/darwin /usr/local/lib +/perl5/site_perl/5.8.7//darwin-2level /usr/local/lib/perl5/site_perl/ +5.8.7/ /usr/local/lib/perl5/5.8.7/darwin-2level /usr/local/lib/perl5/ +5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/darwin-2level /usr/local/l +ib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .) at t/v1_ob +ject_tie_list.t line 30. BEGIN failed--compilation aborted at t/v1_object_tie_list.t line 30. t/v1_object_tie_list.......dubious + Test returned status 2 (wstat 512, 0x200) t/v1_set_once..............Can't locate Class/MethodMaker.pm in @INC ( +@INC contains: /Users/curtispoe/.cpanplus/5.8.7/build/Class-MethodMak +er-2.07/blib/lib /Users/curtispoe/.cpanplus/5.8.7/build/Class-MethodM +aker-2.07/blib/arch /sw/lib/perl5 /sw/lib/perl5/darwin /usr/local/lib +/perl5/site_perl/5.8.7//darwin-2level /usr/local/lib/perl5/site_perl/ +5.8.7/ /usr/local/lib/perl5/5.8.7/darwin-2level /usr/local/lib/perl5/ +5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/darwin-2level /usr/local/l +ib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .) at t/v1_se +t_once.t line 7. BEGIN failed--compilation aborted at t/v1_set_once.t line 18. t/v1_set_once..............dubious + Test returned status 2 (wstat 512, 0x200) t/v1_set_once_static.......Can't locate Class/MethodMaker.pm in @INC ( +@INC contains: /Users/curtispoe/.cpanplus/5.8.7/build/Class-MethodMak +er-2.07/blib/lib /Users/curtispoe/.cpanplus/5.8.7/build/Class-MethodM +aker-2.07/blib/arch /sw/lib/perl5 /sw/lib/perl5/darwin /usr/local/lib +/perl5/site_perl/5.8.7//darwin-2level /usr/local/lib/perl5/site_perl/ +5.8.7/ /usr/local/lib/perl5/5.8.7/darwin-2level /usr/local/lib/perl5/ +5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/darwin-2level /usr/local/l +ib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .) at t/v1_se +t_once_static.t line 6. BEGIN failed--compilation aborted at t/v1_set_once_static.t line 12. t/v1_set_once_static.......dubious + Test returned status 2 (wstat 512, 0x200) t/v1_singleton.............Can't locate Class/MethodMaker.pm in @INC ( +@INC contains: /Users/curtispoe/.cpanplus/5.8.7/build/Class-MethodMak +er-2.07/blib/lib /Users/curtispoe/.cpanplus/5.8.7/build/Class-MethodM +aker-2.07/blib/arch /sw/lib/perl5 /sw/lib/perl5/darwin /usr/local/lib +/perl5/site_perl/5.8.7//darwin-2level /usr/local/lib/perl5/site_perl/ +5.8.7/ /usr/local/lib/perl5/5.8.7/darwin-2level /usr/local/lib/perl5/ +5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/darwin-2level /usr/local/l +ib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .) at t/v1_si +ngleton.t line 6. BEGIN failed--compilation aborted at t/v1_singleton.t line 7. t/v1_singleton.............dubious + Test returned status 2 (wstat 512, 0x200) t/v1_static_get_set........ok + t/v1_static_hash...........ok + t/v1_static_list...........ok + t/v1_tie_hash..............ok + t/v1_tie_list..............ok + t/v1_tie_scalar............ok + Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t/v1_boolean.t 2 512 ?? ?? % ?? t/v1_counter.t 2 512 ?? ?? % ?? t/v1_get_concat.t 2 512 ?? ?? % ?? t/v1_key_attrib.t 2 512 ?? ?? % ?? t/v1_key_with_create.t 2 512 ?? ?? % ?? t/v1_object_tie_hash.t 2 512 ?? ?? % ?? t/v1_object_tie_list.t 2 512 ?? ?? % ?? t/v1_set_once.t 2 512 ?? ?? % ?? t/v1_set_once_static.t 2 512 ?? ?? % ?? t/v1_singleton.t 2 512 ?? ?? % ?? 1 subtest skipped. [ERROR] Could not run 'Build test': Failed 10/36 test scripts, 72.22% +okay. 0/1534 subtests failed, 100.00% okay. [ERROR] Unable to create a new distribution object for 'Class::MethodM +aker' -- cannot continue Error installing 'Class::MethodMaker' Problem installing one or more modules
This is Perl 5.8.7 on Mac OS X.
I switched to CPAN (instead of CPANPLUS) and CMM installed just from from a CPAN::Mini installation.
Cheers,
Ovid
New address of my CGI Course.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Can I please have *simple* modules?
by fluffy (Scribe) on Nov 26, 2005 at 14:59 UTC | |
by fluffy (Scribe) on Nov 27, 2005 at 11:21 UTC |