mit-scheme-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MIT-Scheme-users] Installing MIT Scheme on FreeBSD x86_64


From: Dean Menezes
Subject: [MIT-Scheme-users] Installing MIT Scheme on FreeBSD x86_64
Date: Sun, 26 Feb 2012 16:28:25 -0800 (PST)

I downloaded mit-scheme from 
http://ftp.gnu.org/gnu/mit-scheme/stable.pkg/9.1.1/mit-scheme-9.1.1-x86-64.tar.gz
 
and extracted it.  

I ran ./configure and I recieve the following error from "make 
compile-microcode"

gcc -std=gnu99 -DHAVE_CONFIG_H -DMIT_SCHEME 
-DDEFAULT_LIBRARY_PATH=\"/usr/local/lib/mit-scheme-x86-64\" 
-I/usr/local/include -I. -I. -O3 -Wall -Wundef -Wpointer-arith -Winline 
-Wstrict-prototypes -Wnested-externs -Wredundant-decls -Wextra 
-Wno-sign-compare -Wno-unused-parameter -Wold-style-definition -o pruxenv.o -c 
pruxenv.c
In file included from pruxenv.c:33:
uxtrap.h:830: error: expected ')' before '*' token
uxtrap.h:833: error: expected declaration specifiers or '...' before 
'ucontext_t'

I moved in uxtrap.h 

#include <ucontext.h> for FreeBSD and DragonflyBSD 

out of the #ifdef IA32 section so that it would be included on my amd64 system 
and then typed make compile-microcode again and it compiled.

However when I attempt to run scheme it exits with a Segmentation fault error.

Compiling the portable C version works after following the same procedure. 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]