You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by Apache Wiki <wi...@apache.org> on 2007/05/04 22:51:55 UTC

[Spamassassin Wiki] Update of "CompileOnWindows" by BretMiller

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Spamassassin Wiki" for change notification.

The following page has been changed by BretMiller:
http://wiki.apache.org/spamassassin/CompileOnWindows

New page:
Here's what you need to use sa-compile on Windows:
  1. A compiler. See BuildSpamcOnWindowsForFree to get a free one from Microsoft.
  2. For SpamAssassin 3.2.0, you need a modified sa-compile. See http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5447 to get it. Copy into into your installation directory, then re-make and install SA.
  3. You need to create a make.bat in your /perl/bin folder that calls nmake.exe. It should look like this: {{{
nmake %1 %2 %3 %4 %5 %6 %7 %8 %9 }}}
  4. You need to make sure the environment variables are set prior to calling sa-compile. This is probably easiest done by creating a new batch file to run it. Create sa-compile-run.bat in /perl/bin like this: {{{
call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat"
call sa-compile.bat }}}

by BretMiller