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

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

[MIT-Scheme-devel] Broken build?


From: Richard Loveland
Subject: [MIT-Scheme-devel] Broken build?
Date: Sat, 27 Apr 2013 22:21:08 -0400

Hi,

I think I have discovered a bug while trying to build against the
latest git sources -- Scheme is weirdly trying to load a FASL file
from a URL:

;    gcc -std=gnu99   -shared -fPIC -o
/home/rml/Dropbox/Code/mit-scheme/src/sf/xform.so
/home/rml/Dropbox/Code/mit-scheme/src/sf/xform.o
;  ... done
;... done
;process time: 2720210 (2541750 RUN + 178460 GC); real time: 10008389
run_cmd in runtime/: ../microcode/scheme --batch-mode --library ../lib
--fasl http://www.gnu.org/software/mit-scheme/lib/runtime/make.so
../microcode/scheme: can't read option file: --fasl
http://www.gnu.org/software/mit-scheme/lib/runtime/make.so

Inconsistency detected.
make: *** [all-native] Error 1

The culprit appears to be this URL hiding in 'get_fasl_file' in
'src/runtime/etc/functions.sh' -- maybe an errant yank?

get_fasl_file ()
{
    if [ -f runtime/make.o ]; then
        FASL=http://www.gnu.org/software/mit-scheme/lib/runtime/make.so <--- ???
        return 0
    elif [ -f runtime/make.com ]; then
        FASL=make.com
        return 0
    else
        echo "Can't find argument for --fasl." >&2
        return 1
    fi
}

For reference, I'm compiling using an existing MIT Scheme 9.1 built
from portable C sources on 32-bit Fedora 17. Although I guess that
doesn't really matter in this case.



reply via email to

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