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

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

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'.


我不了解如何执行关于环境变量的要求。

最佳答案

该脚本需要现有的MIT / GNU Scheme安装才能运行


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

关于linux - Ubuntu中的Mit方案安装错误(环境变量设置),我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/37583368/

10-12 23:01