Nicolas Lykke Iversen Nicolas Lykke Iversen - 2 years ago 264
Linux Question

How to install Petite Chez Scheme on Ubuntu?

How to install Petite Chez Scheme on Ubuntu?

I run Ubuntu 15.10 and try to install pcsv8.4-a6le.tar.gz (non-threaded, 64 bit) for Linux.

After having unpacked this tar in
, I enter the commands

sudo ./configure
sudo make install

from within the

However, instead of a clean install, I get the following errors (which I hope someone can help me out with):

nlykkei@nlykkei-Studio-XPS-1640:/usr/local/csv8.4/custom$ sudo make install
if [ yes = no ]; then if [ ! -f ./scheme ]; then /bin/rm -f ./scheme; ln -s ../bin/a6le/scheme ./scheme; fi; fi
if [ ! -f ./petite ]; then /bin/rm -f ./petite; ln -s ./scheme ./petite; fi
/bin/rm -f ./scheme
echo "const char *S_date_stamp = \"`date +%m%d%Y%H%M%S`\";" > datestamp.c
gcc -m64 -rdynamic -o ./scheme datestamp.c ../boot/a6le/kernel.o ../boot/a6le/custom.o -lm -ldl -lncurses -lrt
/usr/bin/ld: cannot find -lncurses
collect2: error: ld returned 1 exit status
Mf-a6le:22: recipe for target 'scheme' failed
make[2]: *** [scheme] Error 1
Makefile:47: recipe for target 'buildpetite' failed
make[1]: *** [buildpetite] Error 2
Mf-install:64: recipe for target 'install' failed
make: *** [install] Error 2

Answer Source

On Ubuntu, install the libncurses5-dev package to get (You can discover this by visiting (sadly, this doesn't seem to work for

You may find other linkage errors if Chez requires other libraries to have development packages installed too. Use the same technique as above.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download