2016-04-05 244 views
3

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

回答

2

Chez Scheme現在是開源的,可以從源代碼編譯。只需download the source code編譯和安裝。這不僅會安裝「嬌小」的運行時版本,還會安裝完整的編譯器。你可以編譯和安裝軟件:

./configure 
sudo make install 

完整的構建和安裝說明可here

先決條件的建築有:

  • GNU讓
  • GCC
  • 頭文件和庫ncurses的
  • 的X Windows的頭文件和庫
+0

實際上它目前沒有工作:''./installsh:64:[:0:'sudo make install'中的意外操作符]。 – Zelphir

+0

@ Zelphir它似乎工作,儘管這些錯誤。 – kristianp

0

下載RPM包來代替,而外國人從終端產生的deb文件:

fakeroot alien PetiteChezScheme-8.4-1.x86_64.rpm 

您可能需要安裝fakerootalien這個工作:

apt-get install fakeroot alien 

然後你將有一個deb文件。如果你在桌面上,你可以雙擊文件,它會打開軟件中心,你可以點擊install,它會解決你的依賴問題。

1

直接從他們的Github建設。

ChezScheme

然後就去做

的./configure

須藤使安裝根據Building

先決條件是:

  • GNU讓
  • GCC
  • 頭文件和庫ncurses的
  • 頭文件和庫X窗口

而且是萬一在Ubuntu上,安裝好libncurses5-dev的克里斯說。只是這樣,沒有錯誤顯示在乾淨的安裝。

+1

我還建議指定--installprefix =/u sr/local/chezscheme以避免將它與可能已經安裝到/ usr/local的任何內容混合。 –