in reply to Re: Authen::SASL error
in thread Authen::SASL error

OK, so I tried that. I think I did try it once before too and I still get the same result now as I did back then (without all the other output):

Cannot find a SASL Connection library at PERL2EXE_STORAGE/Net/SMTP.pm line 137

Note that I am using a program to compile my perl code into an exe to run on Windows (called Perl2exe), so I have to explicitly tell it to include things sometimes. I already have included Authen/SASL.pm with it, but it still seems to be missing something.

Replies are listed 'Best First'.
Re^3: Authen::SASL error
by Anonymous Monk on Jul 04, 2012 at 07:13 UTC

    Cannot find a SASL Connection library at PERL2EXE_STORAGE/Net/SMTP.pm line 137

    Kind of important detail, eh? :)

    First things first, does it work outside of perl2exe?

    I already have included Authen/SASL.pm with it, but it still seems to be missing something.

    You probably need to add more, like all installed Authen::SASL::* modules and their deps .... I don't use perl2exe so i don't know how smart it is, but scandeps -x file.pl can help you generate a fairly complete list for perl2exe

    I prefer PAR or http://www.cavapackager.com/ even though cava website is half-there ATM )

      Anonymous Monk - I installed the Scandeps module on my local machine to try this out but I don't seem to get any output. My little program is this:

      use Module::ScanDeps; my $hash_ref = scan_deps( files => [ 'c:\libsearch-work.cgi' ], recurse => 1, ); print "start:"; while (($key, $value) = each(%{$hash_ref})) { print $key.", ".$value."<br />"; }
      But I get no output (other that the 'start:', just to tell me it's there.) Am I missing something in how to operate this ScanDeps machine? (I did try it on a linux server, and it works, though it says permission denied, but it doesn't seem to be lacking a module). Thanks - I appreciate your help in this .... muchly :)
      Trying to reply again.