Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Net::Google install problem

by BUU (Prior)
on Dec 19, 2005 at 19:37 UTC ( [id://517877]=note: print w/replies, xml ) Need Help??


in reply to Net::Google install problem

Run each failing test file manually to determine exactly which code is failing.

Replies are listed 'Best First'.
Re^2: Net::Google install problem
by EvanCarroll (Chaplain) on Dec 19, 2005 at 19:45 UTC
    <s>... How do I do that, 'make test' returns the same thing..</s>

    It would apear as if Net::Google requires Net::Google in t-001. This is the test that fails.
    root:~/.cpan/build/Net-Google-1.0# perl ./t/001-search.t 1..5 ok 1 - Read Google API key not ok 2 - use Net::Google; # Failed test 'use Net::Google;' # in ./t/001-search.t at line 33. # Tried to use 'Net::Google'. # Error: Can't locate Net/Google.pm in @INC (@INC contains: /etc/ +perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/p +erl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/loca +l/lib/site_perl .) at (eval 3) line 2. # BEGIN failed--compilation aborted at ./t/001-search.t line 33. Can't locate object method "new" via package "Net::Google" (perhaps yo +u forgot to load "Net::Google"?) at ./t/001-search.t line 34. # Looks like you planned 5 tests but only ran 2. # Looks like you failed 1 test of 2 run. # Looks like your test died just after 2.


    Evan Carroll
    www.EvanCarroll.com

      ITYM perl -Mblib ./t/001-search.t instead.

      prove -vl t/001-search.t

      Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -- Brian W. Kernighan
      Net::Google should probably be in ./blib/Net/Google.pm (or possibly ./lib)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://517877]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-19 07:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found