On Sunday 04 January 2004 21:58 CET Sidney Markowitz wrote:
> Net::DNS is nice to have if you are building Spamassassin under Win32,
> even if all you want to get out of it is the spamc.exe executable,
> because then it is possible to get a clean 'nmake test'. 

Then the tests should be fixed/ignored under Windows. I actually wonder why 
they break because Net::DNS is also optional under Unix.

> Now that I think about it, it might be worth documenting how to build
> spamc without needing perl... In addition to the compiler environment
> requirements that are already documented, it just requires renaming
> either the win32.config file to config.h, and then using nmake -f on
> either win32ssl.mak or win32nossl.mak. But the tests still require perl.
>
> > And a question about the Makefile(s): Doesn't configure work under
> > cygwin? If not, what doesn't work?
>
> Yes, configure works under cygwin. I don't think I had to change
> anything in spamc for Cygwin, only for Win32. The only problems I had
> with Cygwin were getting spamd to work because of Net::DNS bugs.

I wondered about your win32.config -- normally that file is generated by 
configure and I don't really like the idea of shipping this file. Configure 
would also build the appropriate Makefile, so the renaming wouldn't be 
necessary. That makes the Makefile.PL pretty complex, something I'd like to 
avoid like the devil the holy water; it took me ages to get that file into 
a workable and readable state.

Why exactly did you supply the win32.config? I see one exception for _WIN32 
in there (and some Win32 related stuff in the .hs which should also be 
handled by autoconf). If you tell me what exactly you wanted to achieve, I 
could fix up the configure script instead :)

Cheers,
Malte

-- 
[SGT] Simon G. Tatham: "How to Report Bugs Effectively"
      <http://www.chiark.greenend.org.uk/~sgtatham/bugs.html>
[ESR] Eric S. Raymond: "How To Ask Questions The Smart Way"
      <http://www.catb.org/~esr/faqs/smart-questions.html>

Reply via email to