首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Ubuntu (环境变量设置)中的Mit方案安装错误

Ubuntu (环境变量设置)中的Mit方案安装错误
EN

Stack Overflow用户
提问于 2016-06-02 05:29:22
回答 2查看 977关注 0票数 0

我试图在Windows 10上安装Ubuntu中的MIT-Scheme,我从Mit-Scheme网站下载了tar文件。

我运行命令tar -xzf mit-scheme-9.2.tar.gz。然后是cd mit-scheme-9.2/。然后是cd src。然后是./configure。但是,我得到了下面的错误日志。谢谢你的建议。谢谢。

代码语言:javascript
复制
mingerz@DESKTOP-BMERQIM:~/mit-scheme-9.2/src$ ./configure
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for native-code support... yes, for x86-64
checking for an existing MIT/GNU Scheme installation... configure: error:
This script needs an existing MIT/GNU Scheme installation to function,
but the following programs do not run it:

   mit-scheme-x86-64
   mit-scheme

If you have installed MIT/GNU Scheme in an unusual location, set the
environment variable MIT_SCHEME_EXE to the name or pathname of the
MIT/GNU Scheme executable, which is usually `mit-scheme' or
`/usr/local/bin/mit-scheme', and set the environment variable
MITSCHEME_LIBRARY_PATH to the pathname of the MIT/GNU Scheme library
directory, which is usually `/usr/local/lib/mit-scheme-x86-64'.

我不明白如何实现它所要求的关于环境变量的建议。

EN

回答 2

Stack Overflow用户

发布于 2016-06-02 10:42:37

此脚本需要现有的MIT/GNU计划安装才能运行。

$ sudo apt-get install mit-schemehttp://packages.ubuntu.com/search?keywords=mit-scheme&searchon=names

票数 0
EN

Stack Overflow用户

发布于 2017-01-03 18:07:34

面对同样的问题。在我的例子中,安装软件包帮助了我,而不是从源头构建。

A.安装二进制文件:

  1. 从MIT站点http://www.gnu.org/software/mit-scheme/获取Ubunto的MIT方案(包)
  2. 安装它
  3. 别名mit_scheme在~/..bash_profile -->

别名mit- alias =“计算机上的MIT_scheme路径”

例如:别名mit-scheme="/Applications/MIT-Scheme.app/Contents/Resources/mit-scheme“,以便您可以从bash访问它。

如果从源头上构建,这个链接可能会有帮助。https://groups.csail.mit.edu/mac/users/gjs/6.945/dont-panic/

他们说--不要惊慌失措

票数 -1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/37583368

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档