gerbil icon indicating copy to clipboard operation
gerbil copied to clipboard

Error while installing gerbil 15.1

Open ahmed1hsn opened this issue 5 years ago • 2 comments

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

ahmed1hsn avatar Aug 16 '19 07:08 ahmed1hsn

As the error message indicates, your system needs the file zlib.h. On Ubuntu, this is provided by the package zlib1g-dev.

svenha avatar Aug 16 '19 08:08 svenha

we should probably add to the installation documentation, if it's not already there.

vyzo avatar Aug 16 '19 09:08 vyzo

gerbil v15 is ancient, all those issues have been resolved by now and the dependencies are prominently documented in the README and the guide.

vyzo avatar Sep 22 '23 12:09 vyzo