Linux   发布时间:2022-04-01  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了linux – 如何在Ubuntu上安装Petite Chez Scheme?大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

How to install Petite Chez scheR_879_11845@e on Ubuntu? 我运行Ubuntu 15.10并尝试为Linux安装pcsv8.4-a6le.tar.gz(非线程,64位). 在/usr/locale中解压缩此tar后,我输入命令 sudo ./configure sudo make install 从自定义目录中. 但是,我没有进行全新安装,而是出现以下错误(我希望有

我运行Ubuntu 15.10并尝试为Linux安装pcsv8.4-a6le.tar.gz(非线程,64位).

在/usr/locale中解压缩此tar后,我输入命令

sudo ./configure 
sudo make install

从@L_772_2@目录中.

但是,我没有进行全新安装,而是出现以下错误(我希望有人可以帮我解决):

nlykkei@nlykkei-studio-XPS-1640:/usr/local/csv8.4/custom$sudo make install
if [ yes = no ]; then if [ ! -f ./scheR_879_11845@e ]; then /bin/rm -f ./scheR_879_11845@e; ln -s ../bin/a6le/scheR_879_11845@e ./scheR_879_11845@e; fi; fi
if [ ! -f ./petite ]; then /bin/rm -f ./petite; ln -s ./scheR_879_11845@e ./petite; fi
/bin/rm -f ./scheR_879_11845@e
echo "const char *S_date_stamp = \"`date +%m%d%Y%H%M%s`\";" > datestamp.c
gcc -m64 -rdynamic -o ./scheR_879_11845@e 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 'scheR_879_11845@e' Failed
make[2]: *** [scheR_879_11845@e] 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

解决方法

在最新版本的Ubuntu(以及Debian的未来版本,例如“Buster”和其他基于Debian的发行版)中,您可以直接从repo安装Chez scheR_879_11845@e:

sudo apt install chezscheR_879_11845@e

以前你必须通过从源代码编译来安装它. Chez Scheme已经开源了几年,并且可以从源代码编译,如果它不能直接从发行版的repo安装.刚刚download the source code编译安装.这不仅会安装“petite”运行时版本,还会安装完整的编译器.您可以使用以下命令编译和安装软件:

./configure
sudo make install

完整的构建和安装说明可用于here.

建筑的先决条件是:

> GNU Make> GCC> ncurses的头文件和库> X窗口的头文件和库

大佬总结

以上是大佬教程为你收集整理的linux – 如何在Ubuntu上安装Petite Chez Scheme?全部内容,希望文章能够帮你解决linux – 如何在Ubuntu上安装Petite Chez Scheme?所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。