Skip to content

Lack of dependencies IO::Socket::SSL, Net::SSLeay #3

@hangingman

Description

@hangingman

I installed Slack-Nofity by cpanm command like following:

cpanm Slack::Notify

Then, I called the module according to the example

#!/usr/bin/perl                         
                                        
use Slack::Notify;                      
                                        
print($ENV{'SLACK_NOTIFY_URL'}."\n");   
                                        
my $n = Slack::Notify->new(             
    hook_url => $ENV{'SLACK_NOTIFY_URL'}
);                                      
                                        
my $ret = $n->post(                     
    text => "デプロイ完了"              
);                                      
                                        
use JSON;                               
print(to_json($ret));                   

I got following messages.

{
   "status":599,
   "reason":"Internal Exception",
   "success":"",
   "content":"IO::Socket::SSL 1.42 must be installed for https support\nNet::SSLeay 1.49 must be installed for https support\n",
   "headers":{
      "content-type":"text/plain",
      "content-length":110
   },
   "url":"https://hooks.slack.com/services/xxx/xxx"
}

I think Makefile.PL should have those packages in PREREQ_PM clause.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions