gerbil
gerbil copied to clipboard
Error while installing gerbil 15.1
While installing Gerbil 15.1 using Gambit 4.9.3, on Ubuntu 18.04, I get following error stacktrace. I'm beginner to Scheme.
... compile text/json ... compile foreign text/_zlib ../../../src/std/text/_zlib.c:334:10: fatal error: zlib.h: No such file or directory #include <zlib.h> ^~~~~~~~ compilation terminated. *** ERROR IN ##main -- target compilation or link failed while compiling "/home/ahmed/gerbil/src/std/text/_zlib.scm" *** ERROR IN std/make#gsc-compile, "make.ss"@420.7 -- Compilation error; gsc exited with nonzero status 17920 *** ERROR; build failed
As the error message indicates, your system needs the file zlib.h. On Ubuntu, this is provided by the package zlib1g-dev.
we should probably add to the installation documentation, if it's not already there.
gerbil v15 is ancient, all those issues have been resolved by now and the dependencies are prominently documented in the README and the guide.