+ Start a Discussion
ClintHegneyClintHegney 

Can't install Perl module, nmake test throws all sorts of errors

        C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/01-login..............Using a hash as a reference is deprecated at C:\usr\SfdcDev\Salesforce-0.54\blib\lib/Salesforce.pm line 431.
t/01-login..............ok 1/4500 Can't locate object method "new" via package "LWP::Protocol::https::Socket" at C:\usr\SfdcDev\Salesforce-0.54\blib\lib/Salesforce.pm line 52
t/01-login..............dubious
        Test returned status 9 (wstat 2304, 0x900)
DIED. FAILED test 4
        Failed 1/4 tests, 75.00% okay
t/02-query..............Using a hash as a reference is deprecated at C:\usr\SfdcDev\Salesforce-0.54\blib\lib/Salesforce.pm line 431.
500 Can't locate object method "new" via package "LWP::Protocol::https::Socket" at C:\usr\SfdcDev\Salesforce-0.54\blib\lib/Salesforce.pm line 52
t/02-query..............dubious
        Test returned status 9 (wstat 2304, 0x900)
DIED. FAILED tests 1-2
        Failed 2/2 tests, 0.00% okay
t/03-servertimestamp....Using a hash as a reference is deprecated at C:\usr\SfdcDev\Salesforce-0.54\blib\lib/Salesforce.pm line 431.
500 Can't locate object method "new" via package "LWP::Protocol::https::Socket" at C:\usr\SfdcDev\Salesforce-0.54\blib\lib/Salesforce.pm line 52
t/03-servertimestamp....dubious
        Test returned status 9 (wstat 2304, 0x900)
DIED. FAILED tests 1-2
        Failed 2/2 tests, 0.00% okay
t/04-crud...............Using a hash as a reference is deprecated at C:\usr\SfdcDev\Salesforce-0.54\blib\lib/Salesforce.pm line 431.
500 Can't locate object method "new" via package "LWP::Protocol::https::Socket" at C:\usr\SfdcDev\Salesforce-0.54\blib\lib/Salesforce.pm line 52
t/04-crud...............dubious
        Test returned status 9 (wstat 2304, 0x900)
DIED. FAILED tests 1-9
        Failed 9/9 tests, 0.00% okay
t/05-getupdated.........Using a hash as a reference is deprecated at C:\usr\SfdcDev\Salesforce-0.54\blib\lib/Salesforce.pm line 431.
500 Can't locate object method "new" via package "LWP::Protocol::https::Socket" at C:\usr\SfdcDev\Salesforce-0.54\blib\lib/Salesforce.pm line 52
t/05-getupdated.........dubious
        Test returned status 9 (wstat 2304, 0x900)
DIED. FAILED tests 1-7
        Failed 7/7 tests, 0.00% okay
t/06-describe...........Using a hash as a reference is deprecated at C:\usr\SfdcDev\Salesforce-0.54\blib\lib/Salesforce.pm line 431.
500 Can't locate object method "new" via package "LWP::Protocol::https::Socket" at C:\usr\SfdcDev\Salesforce-0.54\blib\lib/Salesforce.pm line 52
t/06-describe...........dubious
        Test returned status 9 (wstat 2304, 0x900)
DIED. FAILED tests 1-4
        Failed 4/4 tests, 0.00% okay
t/07-search.............Using a hash as a reference is deprecated at C:\usr\SfdcDev\Salesforce-0.54\blib\lib/Salesforce.pm line 431.
500 Can't locate object method "new" via package "LWP::Protocol::https::Socket" at C:\usr\SfdcDev\Salesforce-0.54\blib\lib/Salesforce.pm line 52
t/07-search.............dubious
        Test returned status 9 (wstat 2304, 0x900)
DIED. FAILED tests 1-3
        Failed 3/3 tests, 0.00% okay
t/08-retrieve...........Using a hash as a reference is deprecated at C:\usr\SfdcDev\Salesforce-0.54\blib\lib/Salesforce.pm line 431.
500 Can't locate object method "new" via package "LWP::Protocol::https::Socket" at C:\usr\SfdcDev\Salesforce-0.54\blib\lib/Salesforce.pm line 52
t/08-retrieve...........dubious
        Test returned status 9 (wstat 2304, 0x900)
DIED. FAILED tests 1-2
        Failed 2/2 tests, 0.00% okay
Failed Test            Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/01-login.t              9  2304     4    2  50.00%  4
t/02-query.t              9  2304     2    4 200.00%  1-2
t/03-servertimestamp.t    9  2304     2    4 200.00%  1-2
t/04-crud.t               9  2304     9   18 200.00%  1-9
t/05-getupdated.t         9  2304     7   14 200.00%  1-7
t/06-describe.t           9  2304     4    8 200.00%  1-4
t/07-search.t             9  2304     3    6 200.00%  1-3
t/08-retrieve.t           9  2304     2    4 200.00%  1-2
Failed 8/8 test scripts, 0.00% okay. 30/33 subtests failed, 9.09% okay.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x9'
Stop.
Ron HessRon Hess
you will need SSL support in your perl install

see
http://johnbokma.com/perl/https.html