【发布时间】:2018-12-16 11:22:23
【问题描述】:
我正在尝试在 Solaris 10 机器上从源代码构建 ruby 2.4.5。当我运行 ./configure 命令时,它给出了以下错误:
checking for off_t... yes
checking char bit... 8
checking size of int... 0
checking size of short... 0
checking size of long... 0
checking size of long long... configure: error: in `/test/ruby-2.4.5/objdir':
configure: error: cannot compute sizeof (long long)
See `config.log' for more details
在检查 config.log 时,我看到以下错误:
configure:12038: result: 0
configure:12133: checking size of long long
configure:12138: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=gnu99 -fstack-protector conftest.c -lsocket -ldl -lcrypt -lm >&5
configure:12138: $? = 0
configure:12138: ./conftest
ld.so.1: conftest: fatal: libssp.so.0: open failed: No such file or directory
../configure: line 2064: 9111 Killed ./conftest$ac_exeext
configure:12138: $? = 137
configure: program exited with status 137
configure: failed program was:
| /* confdefs.h */
从 config.log 中,我了解到缺少 libssp.so.0,但我无法在我的 Solaris 10 机器上找到它,也找不到有关此问题的任何具体帮助。有人可以帮我解决这个问题吗?
【问题讨论】:
标签: ruby installation solaris-10