Skip to content

Install from source error: "zmq-shim.c zmq-shim.c:3:10: fatal error: mit-scheme.h: No such file or directory" #23

Open
@cosmicaug

Description

@cosmicaug

Hi,

I tried following the directions for installing from source.

O/S is:
Linux Mint 20.3 Una base: Ubuntu 20.04 focal

MIT Scheme installed correctly as per the first section from https://ftp.gnu.org/gnu/mit-scheme/stable.pkg/11.2/mit-scheme-11.2-x86-64.tar.gz

For the second section I used https://github.com/zeromq/libzmq/releases/download/v4.3.4/zeromq-4.3.4.tar.gz

The third section got stuck on the make step.

It produced the following output:
echo '(generate-shim "zmq" "#include <zmq.h>")' | /usr/local/bin/mit-scheme --batch-mode ;Including zmq.cdecl... done ;Generating "zmq-shim.c"... ;Warning: Unknown type: zmq_timer_fn ;... done ;Generating "zmq-const.c"... done ;Dumping "zmq-types.bin"... done cc -I/usr/local/lib/mit-scheme-x86-64 -Wall -fPIC pkg-config --cflags libzmq -o zmq-shim.o -c zmq-shim.c zmq-shim.c:3:10: fatal error: mit-scheme.h: No such file or directory 3 | #include <mit-scheme.h> | ^~~~~~~~~~~~~~ compilation terminated. make: *** [makefile:28: zmq-shim.o] Error 1

I have seen similar issues here (and it looks like they were resolved); but I still can't seem to figure out how to make this work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions