【发布时间】:2019-05-20 17:34:47
【问题描述】:
尝试在 Codeanywhere 上的 Ubuntu 16.04 LTS 上安装 ChezScheme-9.5.2.tar.gz。在 sudo make 命令期间,由于缺少 uuid/uuid.h,因此获取错误消息失败。如何在 $ sudo make 可以找到的位置获取 uuid/uuid.h?
【问题讨论】:
标签: ubuntu-16.04 codeanywhere chez-scheme
尝试在 Codeanywhere 上的 Ubuntu 16.04 LTS 上安装 ChezScheme-9.5.2.tar.gz。在 sudo make 命令期间,由于缺少 uuid/uuid.h,因此获取错误消息失败。如何在 $ sudo make 可以找到的位置获取 uuid/uuid.h?
【问题讨论】:
标签: ubuntu-16.04 codeanywhere chez-scheme
原来还有其他丢失的文件,以下情况也是如此:
$ sudo apt install uuid-dev libncurses5-dev libncursesw5-dev libx11-dev
make 仍然失败,但不是因为缺少文件。我认为 512MB 内存太小了。
为了回答您的问题“您的错误信息是什么?”我试图复制发生的事情。认为我已经这样做了,这是错误消息:
compiling cpnanopass.ss with output to cpnanopass.a6le
Mf-base:487: recipe for target 'bootall' failed
make[4]: *** [bootall] Killed
Mf-base:164: recipe for target 'allx' failed
make[3]: *** [allx] Error 2
Mf-base:181: recipe for target 'bootstrap' failed
make[2]: *** [bootstrap] Error 2
Makefile:20: recipe for target 'build' failed
make[1]: *** [build] Error 2
Makefile:19: recipe for target 'build' failed
make: *** [build] Error 2
cabox@Python_Lua:~/workspace/ChezScheme-9.5.2$
首先,必须执行“$ sudo apt-get install uuid-dev”,因为“apt install”与“apt-get install”不同,后者安装了 uuid.h。
【讨论】: