【发布时间】:2013-10-27 21:09:14
【问题描述】:
我尝试使用 RVM 命令更新 Ruby:
rvm install ruby-2.0.0-rc2
下载成功,然后编译结束,出现这个错误:
Error running 'make', please read
/Users/Daniel/.rvm/log/ruby-2.0.0-rc2/make.log There has been an error
while running make. Halting the installation.
以下是我在日志中发现的一些错误:
Failed to configure -test-/win32/dln. It will not be installed. Failed
to configure -test-/win32/fd_setsize. It will not be installed. Failed
to configure dl/win32. It will not be installed. Failed to configure
fiddle/win32. It will not be installed. Failed to configure gdbm. It
will not be installed. Failed to configure openssl. It will not be
installed. Failed to configure win32ole. It will not be installed.
还有,
In file included from stubs.c:16:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/tk.h:78:11: fatal error: 'X11/Xlib.h' file not found
# include <X11/Xlib.h>
^
1 error generated.
make[2]: *** [stubs.o] Error 1
make[1]: *** [ext/tk/all] Error 2
make: *** [build-ext] Error 2
我认为这可能是一个问题,因为我刚刚更新到 Mac OS 10.9。我尝试重新安装 X11,但仍然没有成功。
【问题讨论】:
-
这很奇怪。如果您正在运行 OSX,为什么它会包含 X11 的东西并运行一些 win32 测试?!我使用自制软件和 rbenv 并且在 10.8 上没有问题。莫非是小牛的rvm有问题?