Guido van Brakel wrote:

> Im trying to install SpamAssasin under Windows,I installed perl and nmake.
> But I'm getting these errors:
> 
> ---
> C:\Perl\bin\perl.exe version.h.pl
> version.h.pl: creating version.h
> copy config.h.win config.h
> copy spamc.h.win spamc.h
> C:\Perl\bin\perl.exe ..\build\preprocessor -Mvars -iMakefile.win -oMakefile
> cd ..
> NMAKE -f spamc/Makefile spamc/spamc.exe
> 
> Microsoft (R) Program Maintenance Utility Version 1.50
> Copyright (c) Microsoft Corp 1988-94. All rights reserved.
> 
> cd spamc
> NMAKE spamc.exe
> 
> Microsoft (R) Program Maintenance Utility Version 1.50
> Copyright (c) Microsoft Corp 1988-94. All rights reserved.
> 
> cl /DWIN32 /W4 spamc.c replace\getopt.c libspamc.c utils.c ws2_32.lib
> 'cl' is not recognized as an internal or external command,

You don't have the C compiler (cl => Microsoft's Visual C++ Toolkit).

[snip]

You have 2 choices: get a pre-built version or install a complete development
environment.

I can tell you that if you have Cygwin, with compiler and perl installed, it is
easy to build SA: just enter cpan shell and use the command "install
Mail::SpamAssassin", that's it.  Another advantage of Cygwin's environment is
that you can really use the spamd server if you want (and spamc needs a server
to do its work).
-- 
René Berber

Reply via email to