I believe somebody else responded to this, but . . .

I'll help if I can.
If you want me to try to install Net::Google::Spreadsheets
I can.  I am on Win7 - Strawberry Perl V 5.26.1


Mike


On 8/5/2019 9:47 AM, James Kerwin wrote:
Hi All,

I'm having some difficulty installing a Perl Module; Net::Google::Spreadsheets". Inititally it was installing in to my user account home directory and I wasn't certain how to change this, so I just added the directory to my @INC (this isn't a live server, it's purely for me to test on at the moment).

It appears to do a LOT when installing this module and I won't pretend to be an expert, but I really want it to work as it would be the perfect addition to a script I wrote recently (provides the user with a button to extract data from a database and then ideally pushes the data to a google sheet).

Would anybody be kind enough to help me troubleshoot this? Here is some output (apologies if it's not correctly displayed, I can't remember how you all usually request it to be displayed):

Net::IDN::Encode is up to date (2.500).
  HIROSE/Net-Google-Spreadsheets-V4-0.002.tar.gz
  Has already been unwrapped into directory /home/james/.cpan/build/Net-Google-Spreadsheets-V4-0.002-gyJS1X
  HIROSE/Net-Google-Spreadsheets-V4-0.002.tar.gz
  Has already been prepared
Running Build for H/HI/HIROSE/Net-Google-Spreadsheets-V4-0.002.tar.gz
Warning: Prerequisite 'Net::Google::DataAPI::Auth::OAuth2 => 0' for 'HIROSE/Net-Google-Spreadsheets-V4-0.002.tar.gz' failed when processing 'DANJOU/Net-Google-DataAPI-0.2805.tar.gz' with 'make_test => NO one dependency not OK (XML::Atom); additionally test harness failed'. Continuing, but chances to succeed are limited. cp lib/Net/Google/Spreadsheets/V4.pm blib/lib/Net/Google/Spreadsheets/V4.pm
  HIROSE/Net-Google-Spreadsheets-V4-0.002.tar.gz
  ./Build -- OK
Running Build test
t/00_compile.t .............. 1/?
#   Failed test 'use Net::Google::Spreadsheets::V4;'
#   at t/00_compile.t line 4.
#     Tried to use 'Net::Google::Spreadsheets::V4'.
#     Error:  Can't locate Net/Google/DataAPI/Auth/OAuth2.pm in @INC (you may need to install the Net::Google::DataAPI::Auth::OAuth2 module) (@INC contains: /home/james/.cpan/build/Net-Google-Spreadsheets-V4-0.002-gyJS1X/blib/arch /home/james/.cpan/build/Net-Google-Spreadsheets-V4-0.002-gyJS1X/blib/lib /home/james/.cpan /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /home/james/.cpan/build/Net-Google-Spreadsheets-V4-0.002-gyJS1X/blib/lib/Net/Google/Spreadsheets/V4.pm line 18. # BEGIN failed--compilation aborted at /home/james/.cpan/build/Net-Google-Spreadsheets-V4-0.002-gyJS1X/blib/lib/Net/Google/Spreadsheets/V4.pm line 18.
# Compilation failed in require at t/00_compile.t line 4.
# BEGIN failed--compilation aborted at t/00_compile.t line 4.
# Looks like you failed 1 test of 1.
t/00_compile.t .............. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/01_new.t .................. Can't locate Net/Google/DataAPI/Auth/OAuth2.pm in @INC (you may need to install the Net::Google::DataAPI::Auth::OAuth2 module) (@INC contains: /home/james/.cpan/build/Net-Google-Spreadsheets-V4-0.002-gyJS1X/blib/arch /home/james/.cpan/build/Net-Google-Spreadsheets-V4-0.002-gyJS1X/blib/lib /home/james/.cpan /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /home/james/.cpan/build/Net-Google-Spreadsheets-V4-0.002-gyJS1X/blib/lib/Net/Google/Spreadsheets/V4.pm line 18. BEGIN failed--compilation aborted at /home/james/.cpan/build/Net-Google-Spreadsheets-V4-0.002-gyJS1X/blib/lib/Net/Google/Spreadsheets/V4.pm line 18.
Compilation failed in require at t/01_new.t line 4.
t/01_new.t .................. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/author-00_basic.t ......... skipped: these tests are for testing by the author t/author-critic.t ........... skipped: these tests are for testing by the author t/author-dependencies.t ..... skipped: these tests are for testing by the author t/author-pod-spell.t ........ skipped: these tests are for testing by the author t/release-fixme.t ........... skipped: these tests are for release candidate testing t/release-kwalitee-extra.t .. skipped: these tests are for release candidate testing t/release-kwalitee.t ........ skipped: these tests are for release candidate testing t/release-pod-syntax.t ...... skipped: these tests are for release candidate testing t/release-unused-vars.t ..... skipped: these tests are for release candidate testing

Test Summary Report
-------------------
t/00_compile.t            (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
t/01_new.t                (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
Files=11, Tests=1,  1 wallclock secs ( 0.03 usr  0.01 sys +  0.98 cusr  0.07 csys =  1.09 CPU)
Result: FAIL
  HIROSE/Net-Google-Spreadsheets-V4-0.002.tar.gz
one dependency not OK (Net::Google::DataAPI::Auth::OAuth2); additionally test harness failed
  ./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports HIROSE/Net-Google-Spreadsheets-V4-0.002.tar.gz
Failed during this command:
 TODDR/XML-Parser-2.44.tar.gz                 : make NO
 MANWAR/XML-XPath-1.44.tar.gz                 : make_test NO one dependency not OK (XML::Parser); additionally test harness failed  MIYAGAWA/XML-Atom-0.42.tar.gz                : make_test NO one dependency not OK (XML::XPath)  DANJOU/Net-Google-DataAPI-0.2805.tar.gz      : make_test NO one dependency not OK (XML::Atom); additionally test harness failed  HIROSE/Net-Google-Spreadsheets-V4-0.002.tar.gz: make_test NO one dependency not OK (Net::Google::DataAPI::Auth::OAuth2); additionally test harness failed



--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to