如何在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