Re: CPAN modules on Leopard

[email protected] (Timothy Bailey)
Newsgroups perl.macosx
Message-ID <a06240802c3cd80e68243@[192.168.0.104]>
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-signature................ok  
t/array......................ok      
t/basic......................ok  
t/diffclass..................ok    
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/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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.