Dear Dave and Joe, Here I did: as root I do so: 1. cd /PATH/TO/.cpan/build/Net-Google-1.0 2. cp -pR lib/Net/Google/Services blib/lib/Net/Google/ 3. perl -Mblib t/001-search.t (here, I typed in my API key as the value of $key) 4. perl -Mblib t/002-spelling.t (here, I typed in my API key as the value of $key) 5. perl -Mblib t/003-cache.t (here, I typed in my API key as the value of $key) 6. perl Build.PL 7. perl Build 6. make install ====== suseonthelap:/home/patrikh/arsip/installer/pm/Net-Google-1.0/Net-Google-1.0 # whoami root suseonthelap:/home/patrikh/arsip/installer/pm/Net-Google-1.0/Net-Google-1.0 # ls blib _build Build Build.PL Changes lib Makefile Makefile.PL MANIFEST META.yml README t suseonthelap:/home/patrikh/arsip/installer/pm/Net-Google-1.0/Net-Google-1.0 # cp -pR lib/Net/Google/Services blib/lib/Net/Google/ suseonthelap:/home/patrikh/arsip/installer/pm/Net-Google-1.0/Net-Google-1.0 # perl -Mblib t/001-search.t 1..5 ok 1 - Read Google API key ok 2 - use Net::Google; ok 3 - The object isa Net::Google ok 4 - The object isa Net::Google::Search Exception from service object: Invalid authorization key: ABQIAAAASzVWEo9_PkDjwjTkhPHJIxTovFWtVmuuMSRYt_dv3iXA1zQ3OxT9hxr3F7hqD-SZIzQb7p0QjzUobQ at /usr/lib/perl5/vendor_perl/5.8.8/SOAP/Lite.pm line 3412 ok 5 - Got results for related:http://perl.aaronland.net Google returned 0 results: suseonthelap:/home/patrikh/arsip/installer/pm/Net-Google-1.0/Net-Google-1.0 # perl -Mblib t/002-spelling.t 1..5 ok 1 - Read Google API key ok 2 - use Net::Google; ok 3 - The object isa Net::Google ok 4 - The object isa Net::Google::Spelling Exception from service object: Invalid authorization key: ABQIAAAASzVWEo9_PkDjwjTkhPHJIxTovFWtVmuuMSRYt_dv3iXA1zQ3OxT9hxr3F7hqD-SZIzQb7p0QjzUobQ at /usr/lib/perl5/vendor_perl/5.8.8/SOAP/Lite.pm line 3412 not ok 5 - The correct spelling of 'neu yirk citee' is 'new york city' # Failed test 'The correct spelling of 'neu yirk citee' is 'new york city'' # at t/002-spelling.t line 41. # got: undef # expected: 'new york city' # Looks like you failed 1 test of 5. suseonthelap:/home/patrikh/arsip/installer/pm/Net-Google-1.0/Net-Google-1.0 # perl -Mblib t/003-cache.t 1..5 ok 1 - Got Google API key ok 2 - use Net::Google; ok 3 - The object isa Net::Google ok 4 - The object isa Net::Google::Cache Exception from service object: Invalid authorization key: ABQIAAAASzVWEo9_PkDjwjTkhPHJIxTovFWtVmuuMSRYt_dv3iXA1zQ3OxT9hxr3F7hqD-SZIzQb7p0QjzUobQ at /usr/lib/perl5/vendor_perl/5.8.8/SOAP/Lite.pm line 3412 not ok 5 - Got cache for http://aaronland.net # Failed test 'Got cache for http://aaronland.net' # at t/003-cache.t line 42. # Looks like you failed 1 test of 5. suseonthelap:/home/patrikh/arsip/installer/pm/Net-Google-1.0/Net-Google-1.0 # perl Build.PL Checking whether your kit is complete... Looks good
Checking prerequisites... Looks good Deleting Build Removed previous script 'Build' Creating new 'Build' script for 'Net-Google' version '1.0' suseonthelap:/home/patrikh/arsip/installer/pm/Net-Google-1.0/Net-Google-1.0 # perl Build suseonthelap:/home/patrikh/arsip/installer/pm/Net-Google-1.0/Net-Google-1.0 # make install /usr/bin/perl Build --makefile_env_macros 1 install Skipping /usr/lib/perl5/site_perl/5.8.8/Net/Google.pm (unchanged) Skipping /usr/lib/perl5/site_perl/5.8.8/Net/Google/Search.pm (unchanged) Skipping /usr/lib/perl5/site_perl/5.8.8/Net/Google/tool.pm (unchanged) Skipping /usr/lib/perl5/site_perl/5.8.8/Net/Google/Spelling.pm (unchanged) Skipping /usr/lib/perl5/site_perl/5.8.8/Net/Google/Cache.pm (unchanged) Skipping /usr/lib/perl5/site_perl/5.8.8/Net/Google/Service.pm (unchanged) Skipping /usr/lib/perl5/site_perl/5.8.8/Net/Google/Response.pm (unchanged) Skipping /usr/lib/perl5/site_perl/5.8.8/Net/Google/GoogleSearch.wsdl (unchanged) Skipping /usr/lib/perl5/site_perl/5.8.8/Net/Google/Services/GoogleSearch.wsdl (unchanged) Skipping /usr/share/man/man3/Net::Google::tool.3pm (unchanged) Skipping /usr/share/man/man3/Net::Google::Response.3pm (unchanged) Skipping /usr/share/man/man3/Net::Google::Search.3pm (unchanged) Skipping /usr/share/man/man3/Net::Google::Cache.3pm (unchanged) Skipping /usr/share/man/man3/Net::Google.3pm (unchanged) Skipping /usr/share/man/man3/Net::Google::Service.3pm (unchanged) Skipping /usr/share/man/man3/Net::Google::Spelling.3pm (unchanged) Writing /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi/auto/Net/Google/.packlist suseonthelap:/home/patrikh/arsip/installer/pm/Net-Google-1.0/Net-Google-1.0 # ====== But the error message is still this one: ./googleku.pl Exception from service object: Invalid authorization key: ABQIAAAASzVWEo9_PkDjwjTkhPHJIxRVKfLtW6hUIq_dyO2cW4cqhEYIWRTV1zrZCha92gqEsRqFh_JYMutL-w at /usr/lib/perl5/vendor_perl/5.8.8/SOAP/Lite.pm line 3412 ==== Please tell me my mistake. tell me the solution. Thank you very much in advance. On Wed, 17 Oct 2007 09:59:26 +0100 Dave Howorth <[EMAIL PROTECTED]> wrote: > joe wrote: > > Dave Howorth wrote: > >> On Tue, 2007-10-16 at 17:47 -0400, Patrick Shanahan wrote: > >>> * Patrik Hasibuan <[EMAIL PROTECTED]> [10-16-07 17:44]: > >>>> I use opensuse10.2. I installed 'WWW::Search::Google' with cpan. > >>> openSUSE uses the rpm system, not cpan. You *will* have many problems > >>> with dependencies and you *will* corrupt your rpm system using other > >>> package systems, cpan, deb, install, rpms for other distro/versions... > >> I see we're back to this again. Patrick, can you provide a single > >> example of "problems with dependencies" and/or "corrupt your rpm system" > >> caused by using CPAN? Specifically CPAN, not any of the other > >> possibilities you mention. > > > > That's an easy one - perl tarballs are ignorant of your package database, > > and > > a cpan install will simply overwrite your existing suse package without > > hesitation or awareness of the fact. Likewise, rpm is unaware of the cpan > > installed packages lurking there and will overwrite them in case of > > conflict. > > This shouldn't happen. There is a built-in mechanism to prevent such > conflicts. Can you please supply specific details of any packages where > this has occurred? What is the package name, Suse and CPAN versions, > which files have been overwritten (ls -l would be useful). And which > applications were broken as a result? > > Thanks, Dave > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Patrik Hasibuan <[EMAIL PROTECTED]> Junior Programmer -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]