I've just compiled bogofilter 0.96.4 on cygwin. It configured & compiled just fine, but I needed to run ./configure with the --disable-dbshared-test option. I've not yet tested whether it works, though 'bogofilter -v' responds normally.