[racket-dev] racket 5.1 build failure on debian/kfreebsd

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu Apr 21 21:32:18 EDT 2011

At Thu, 21 Apr 2011 22:22:00 -0300, David Bremner wrote:
> I'm trying to build 5.1 on debian/kfreebsd, and I'm having problems with
> src/racket/src/port.c
> The main problems stem from MZ_FLUSH_* not being defined. This in turn
> seems to be because MZ_FDS is not defined at line 259.  At that point I
> got stuck, I couldn't see what controlled this definition.

Besides some code-organization problems, my guess is that "sconfig.h"
doesn't figure out that you're on a FreeBSD variant. Do you know what
pre-processor definition should be detected, if it's not __FreeBSD__?

(The `configure' script should replace more of "sconfig.h"... one day.)

Posted on the dev mailing list.