Re: CPAN modules on Leopard
Just to post a resolution... I manually downloaded the Class::MethodMaker module from CPAN, and manually installed it. Oddly enough, then everything worked fine. So, I guess the moral of the story is... if the CPAN interface doesn't install things correctly, try doing it manually; that may work. -- Tim Bailey |\/ "Of all tyrannies, a tyranny exercised for the [EMAIL PROTECTED]|\/ good of its victims may be the most oppressive. [EMAIL PROTECTED] | It may be better to live under robber barons http://www.moonrise.org than under omnipotent moral busybodies. --'--,--<@ The robber baron's cruelty may sometimes sleep, his cupidity may at some point be satiated; but those who torment us for our own good will torment us without end, for they do so with the approval of their own conscience." -- C.S. Lewis
Re: CPAN modules on Leopard
At 8:34 AM -0800 2/5/08, John Baldwin wrote: That's very strange. I'm running on a Macbook. I just ran the make and test on Class::MethodMaker within cpan and all tests passed (2 subtests skipped). I'd try cleaning out your CPAN directory to see if that helps. I assume that by my CPAN directory, you mean: /Users/timothybailey/.cpan I cleaned it out entirely, and tried doing some installs, but I am still getting errors - the same as before with running my test scripts. -- Tim Bailey |\/ "Of all tyrannies, a tyranny exercised for the [EMAIL PROTECTED]|\/ good of its victims may be the most oppressive. [EMAIL PROTECTED] | It may be better to live under robber barons http://www.moonrise.org than under omnipotent moral busybodies. --'--,--<@ The robber baron's cruelty may sometimes sleep, his cupidity may at some point be satiated; but those who torment us for our own good will torment us without end, for they do so with the approval of their own conscience." -- C.S. Lewis
Re: CPAN modules on Leopard
That's very strange. I'm running on a Macbook. I just ran the make and test on Class::MethodMaker within cpan and all tests passed (2 subtests skipped). I'd try cleaning out your CPAN directory to see if that helps. John On Monday Feb 4, 2008 7:06 PM, at 7:06 PM, Timothy Bailey wrote: I've tried installing that as well, but it complains that it wasn't in the path either. (Seems somewhat recursive...) After forcing the install, I still get the same error (MethodMaker not in path) when running my test program or trying to install ProgressBar. cpan[1]> install Class ::MethodMaker CPAN : Storable loaded ok (v2.15) Going to read /Users/timothybailey/.cpan/Metadata Database was generated on Mon, 04 Feb 2008 23:30:56 GMT CPAN: YAML loaded ok (v0.66) Going to read /Users/timothybailey/.cpan/build/ DONE Found 2 old builds, restored the state of 2 Running install for module 'Class::MethodMaker' Running Build for S/SC/SCHWIGON/class-methodmaker/Class- MethodMaker-2.10.tar.gz Has already been unwrapped into directory /Users/ timothybailey/.cpan/build/Class-MethodMaker-2.10-eW3hgm Has already been made Running Build test Use of uninitialized value in concatenation (.) or string at / Library/Perl/5.8.8/Module/Build/Base.pm line 2237. Use of uninitialized value in concatenation (.) or string at / Library/Perl/5.8.8/Module/Build/Base.pm line 2368. Use of uninitialized value in concatenation (.) or string at / Library/Perl/5.8.8/Module/Build/Base.pm line 2374. Use of uninitialized value in concatenation (.) or string at / Library/Perl/5.8.8/Module/Build/Base.pm line 2237. Use of uninitialized value in concatenation (.) or string at / Library/Perl/5.8.8/Module/Build/Base.pm line 2368. Use of uninitialized value in concatenation (.) or string at / Library/Perl/5.8.8/Module/Build/Base.pm line 2374. t/0-signatureok t/ array..ok t/basic..ok t/diffclass..okt/ hash...ok t/ newokt/redefine-warnings..ok t/ scalar.ok t/v1_abstractok t/v1_boolean.Can't locate Class/MethodMaker.pm in @INC (@INC contains: /Users/timothybailey/.cpan/build/Class- MethodMaker-2.10-eW3hgm/blib/lib /Users/timothybailey/.cpan/build/ Class-MethodMaker-2.10-eW3hgm/blib/arch /Users/timothybailey/.cpan/ build/Class-MethodMaker-2.10-eW3hgm/_build/lib /System/Library/Perl/ 5.8.8/darwin-thread-multi-2level /System/Library/Perl/5.8.8 /Library/ Perl/5.8.8/darwin-thread-multi-2level /Library/Perl/5.8.8 /Library/ Perl /Network/Library/Perl/5.8.8/darwin-thread-multi-2level /Network/ Library/Perl/5.8.8 /Network/Library/Perl /System/Library/Perl/Extras/ 5.8.8/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.8 / Library/Perl/5.8.6 /Library/Perl/5.8.1 .) at t/v1_boolean.t line 7. BEGIN failed--compilation aborted at t/v1_boolean.t line 7. t/v1_boolean. Dubious, test returned 2 (wstat 512, 0x200) No subtests run ... and so on ... -- Tim Bailey |\/ "Of all tyrannies, a tyranny exercised for the [EMAIL PROTECTED]|\/ good of its victims may be the most oppressive. [EMAIL PROTECTED] | It may be better to live under robber barons http://www.moonrise.org than under omnipotent moral busybodies. --'--,--<@ The robber baron's cruelty may sometimes sleep, his cupidity may at some point be satiated; but those who torment us for our own good will torment us without end, for they do so with the approval of their own conscience." -- C.S. Lewis
Re: CPAN modules on Leopard
At 10:38 PM -0800 2/3/08, John Baldwin wrote: My guess is a dependency wasn't set up right. Try installing the module it's complaining about: http://search.cpan.org/~schwigon/Class-MethodMaker/lib/Class/MethodMaker.pm And see if Term::ProgressBar installs properly then. I've tried installing that as well, but it complains that it wasn't in the path either. (Seems somewhat recursive...) After forcing the install, I still get the same error (MethodMaker not in path) when running my test program or trying to install ProgressBar. cpan[1]> install Class::MethodMaker CPAN: Storable loaded ok (v2.15) Going to read /Users/timothybailey/.cpan/Metadata Database was generated on Mon, 04 Feb 2008 23:30:56 GMT CPAN: YAML loaded ok (v0.66) Going to read /Users/timothybailey/.cpan/build/ DONE Found 2 old builds, restored the state of 2 Running install for module 'Class::MethodMaker' Running Build for S/SC/SCHWIGON/class-methodmaker/Class-MethodMaker-2.10.tar.gz Has already been unwrapped into directory /Users/timothybailey/.cpan/build/Class-MethodMaker-2.10-eW3hgm Has already been made Running Build test Use of uninitialized value in concatenation (.) or string at /Library/Perl/5.8.8/Module/Build/Base.pm line 2237. Use of uninitialized value in concatenation (.) or string at /Library/Perl/5.8.8/Module/Build/Base.pm line 2368. Use of uninitialized value in concatenation (.) or string at /Library/Perl/5.8.8/Module/Build/Base.pm line 2374. Use of uninitialized value in concatenation (.) or string at /Library/Perl/5.8.8/Module/Build/Base.pm line 2237. Use of uninitialized value in concatenation (.) or string at /Library/Perl/5.8.8/Module/Build/Base.pm line 2368. Use of uninitialized value in concatenation (.) or string at /Library/Perl/5.8.8/Module/Build/Base.pm line 2374. t/0-signatureok t/array..ok t/basic..ok t/diffclass..ok t/hash...ok t/newok t/redefine-warnings..ok t/scalar.ok t/v1_abstractok t/v1_boolean.Can't locate Class/MethodMaker.pm in @INC (@INC contains: /Users/timothybailey/.cpan/build/Class-MethodMaker-2.10-eW3hgm/blib/lib /Users/timothybailey/.cpan/build/Class-MethodMaker-2.10-eW3hgm/blib/arch /Users/timothybailey/.cpan/build/Class-MethodMaker-2.10-eW3hgm/_build/lib /System/Library/Perl/5.8.8/darwin-thread-multi-2level /System/Library/Perl/5.8.8 /Library/Perl/5.8.8/darwin-thread-multi-2level /Library/Perl/5.8.8 /Library/Perl /Network/Library/Perl/5.8.8/darwin-thread-multi-2level /Network/Library/Perl/5.8.8 /Network/Library/Perl /System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.8 /Library/Perl/5.8.6 /Library/Perl/5.8.1 .) at t/v1_boolean.t line 7. BEGIN failed--compilation aborted at t/v1_boolean.t line 7. t/v1_boolean. Dubious, test returned 2 (wstat 512, 0x200) No subtests run ... and so on ... -- Tim Bailey |\/ "Of all tyrannies, a tyranny exercised for the [EMAIL PROTECTED]|\/ good of its victims may be the most oppressive. [EMAIL PROTECTED] | It may be better to live under robber barons http://www.moonrise.org than under omnipotent moral busybodies. --'--,--<@ The robber baron's cruelty may sometimes sleep, his cupidity may at some point be satiated; but those who torment us for our own good will torment us without end, for they do so with the approval of their own conscience." -- C.S. Lewis
Re: CPAN modules on Leopard
My guess is a dependency wasn't set up right. Try installing the module it's complaining about: http://search.cpan.org/~schwigon/Class-MethodMaker/lib/Class/MethodMaker.pm And see if Term::ProgressBar installs properly then. John On Sunday Feb 3, 2008 3:41 PM, at 3:41 PM, Timothy Bailey wrote: I've just bought a new Mac with Leopard preinstalled, and am getting it set up, including my Perl programs. (I've actually skipped Tiger entirely; the old computer is on Panther.) They depend on a number of CPAN modules, and I am having trouble getting the modules installed. I've installed the Developer Tools, updated CPAN, and it sort of installed Term::ProgressBar (the first module one I tried). However, it's giving me some complaints about being unable to find Class/MethodMaker.pm both when I try installs in CPAN and when I try to run my test programs. Below is an excerpt. Does anyone have any guidance? I'm not finding anything useful on the Web. Thanks your your help. cpan[4]> force install Term::ProgressBar Running install for module 'Term::ProgressBar' Running Build for F/FL/FLUFFY/Term-ProgressBar-2.09.tar.gz Has already been unwrapped into directory /Users/ timothybailey/.cpan/build/Term-ProgressBar-2.09-l4oWzH Has already been made Running Build test t/0-signature..ok t/compat...Can't locate Class/MethodMaker.pm in @INC (@INC contains: /Users/timothybailey/.cpan/build/Term-ProgressBar-2.09- l4oWzH/blib/lib [...] Failed 5/5 subtests