https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8044

--- Comment #45 from Sidney Markowitz <sid...@sidney.com> ---
I've created bug 8047 "MSG_DONTWAIT error in DnsResolver on Windows" with v4
corrected patch ready for voting.

And bug 8048 "Make default setting for *_fork config options 0 on Windows" with
the patch there, also ready for voting.

Regarding building spamc and spamd on Windows, it turns out that no patches are
necessary, we didn't let the bits rot as much as I thought we had after all.

Now that Strawberry Perl bundles gmake and puts it in the command line, all you
have to do on Windows with Strawberry Perl and the free version of Visual
Studio installed is to open a Visual Studio command prompt for native 32 or 64
bit build as appropriate, and in that command shell in the SpamAssassin source
directory run
  perl Makeilfile.PL
answer yes to building spamc and spamd when it prompts you
then run
  gmake
  gmake install

I think this will install everything into the default perl location, which is
usually \Strawberry. I happen to have set up local::lib and everything ended up
in my \Users\sidney\perl5 directory, I think as a result of that. You could
probably use the prefix options to Makefile.PL to have things end up elsewhere,
but you may need to adjust PATH environment variable if you do that.

To run spamd, just open an ordinary cmd shell and run it from the command line
without the -d option, leaving it running in that window.

You can run spamc from another cmd window.

Setting up a wrapper to run spamd as a service is left as an exercise for the
reader, who if one exists who does it is invited to write up how on the wiki.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to