I've attached a patch to 0.6.7 configure.in which adds a test for the compiler flag
necessary to force scsh to be built as a 32-bit executable,
adding -m32 when necessary. This is specific to gcc; other suitable flags
should be added here for other compilers.
This relates to bug 2890936, and follows advice on the scsh-users list (see
<http://lists.apple.com/archives/Unix-porting/2010/Jan/msg00000.html> and
following thread), it's clear that this arises because OS X 10.6 defaults
to building 64-bit executables.
Patch against 0.6.7 configure.in
Doh: the scsh-users credit URL should be http://article.gmane.org/gmane.lisp.scheme.scsh/7760
On reflection, the test in the patch should be
#if LONG_MAX > 2147483647L
rather than
#if LONG_BIT > 32
since the latter, though listed in the POSIX spec, is noted as an extension to the C standard. LONG_MAX is listed in (ANSI) K&R, and really should be portable.