How do you get Amazon SES work on Squeeze Debian?

All Perl properties that depend on it are executed, but I get this error:

Unable to find the method of the ssl_opts object via the LWP :: UserAgent package on the SES.pm 250 page.

+5
source share
2 answers

I just wanted to document what I needed to do to run this process on my Debian system. The solution for Ubuntu is probably the same thing.

First, in order for Perl to find SES.pm, create the directory / usr / local / lib / site _perl and copy SES.pm. I prefer this solution over what README recommends.

, , , , , , . . , :

perl -e 'use Crypt::SSLeay'
perl -e 'use Digest::SHA'
perl -e 'use Bundle::LWP'
perl -e 'use LWP::Protocol::https'
perl -e 'use MIME::Base64'
perl -e 'use Crypt::SSLeay'
perl -e 'use XML::LibXML'

libcrypt-ssleay-perl, Amazon script. script .

Debian:

libxml-libxml-perl
libssl-dev (needed to compile dependencies)

, Perl, Debian : http://www.debian.org/distrib/packages

:: / .pm . , XML:: LibXML XML/LibXML.pm

CPAN. , . .

perl -MCPAN -e 'install LWP::Protocol::https'
perl -MCPAN -e 'install Crypt::SSLeay'
+4

250 SES.pm :

# $browser->ssl_opts(verify_hostname => 1);

. , . .

+1

All Articles