2016-04-05 48 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的任何内容混合。 –