Thanks to your help we managed to make a working container. If you have
Docker, trying it out is as simple as:
$ docker run -it weinholt/bigloo
That command goes right into a Bigloo REPL. It's also possible to get a
bash shell to explore the container's Linux file system by typing:
$ docker run -it weinholt/bigloo bash
The Docker Hub page is <https://hub.docker.com/r/weinholt/bigloo>.
The Git repo with the Dockerfiles is
<https://github.com/weinholt/scheme-docker>. We have containers for lots
of Scheme implementations and Bigloo is now part of that family. We'll
discuss moving the infrastructure under
<https://github.com/scheme-containers> and under a "schemers" account on
Docker Hub ("scheme" is already taken).
WORKDIR /bigloo
But this leads to a wrong path in bigloo's Makefile. The following "if"
leads to a bootstrap step (because /bigloo exists in your docker build)
and this bootstrap step cannot succeed
if [ -x $(BGLBUILBINDIR)/bigloo ]
This line contains a typo. It should be
if [ -x $(BGLBUILDBINDIR)/bigloo ]
Well spotted. I believe this is what caused our problem. By coincidence,
we chose /bigloo as the build directory. Since directories normally have
execute permission, [ -x /bigloo ] evaluated to true.
You can add a fixing sed command to your script.
I solved the problem by using /build/bigloo instead of /bigloo as the
build directory :)
Manuel,
can you please fix this in github?
What is the official Bigloo repo by the way - is it
<https://github.com/manuel-serrano/bigloo>? We could add that
information to <https://github.com/manuel-serrano/bigloo>.