如何在Ubuntu上安装Petite Chez Scheme?如何在Ubuntu上安装Petite Chez Scheme?
我运行Ubuntu 15.10并尝试为Linux安装pcsv8.4-a6le.tar.gz(非线程,64位)。
在/usr/locale
已经解开这个焦油后,我从custom
目录中输入命令
sudo ./configure
sudo make install
。
然而,而不是一个干净的安装,我得到以下错误(我希望有人能帮助我):
[email protected]:/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
实际上它目前没有工作:''./installsh:64:[:0:'sudo make install'中的意外操作符]。 – Zelphir
@ Zelphir它似乎工作,尽管这些错误。 – kristianp