开发者

Amazon SES setup problems

I'm running into an unexpected amount of difficulty tryi开发者_运维问答ng to use ses-verify-email-address. I am using Ubuntu Hardy on AWS with Perl 5.8.8.

After copying the Perl scripts and creating a key file, I got a "command not found" error. Then I installed the files mentioned in the SES README - Digest::SHA, URI::Escape, Bundle::LWP, MIME::Base64, Crypt::SSLeay and XML::LibXML. It's not obvious that these installed correctly and now when I run ses-verify-email-address.pl, I get the message "LWP will support https URLs if the LWP::Protocol::https module is installed."

I've been using Python and know nothing about Perl.


Install LWP::Protocol::https.

See What's the easiest way to install a missing Perl module? from the SO Perl FAQ, How to install CPAN modules on CPAN, and perlmodinstall in the Perl documentation.


I was getting the same error. It turned out not to be LWP::Protocol::https, but one of its dependencies. Try running perl -MLWP::Protocol::https -e 1 (source) to see if you get any error messages. That just tells perl to include that module and then return the value 1, so there's no harm in running the command. If you get nothing in return that means the module is installed correctly. I suspect you'll get an error message. In my case I was missing Net::SSL, so running perl -MNet::SSL -e 1 also gave an error message.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜