新手问题 rhel6.5 x64 源码安装 ruby-2.1.2 报错

string2020 · 2014年07月27日 · 最后由 xds2000 回复于 2014年07月28日 · 2950 次阅读

操作系统: Red Hat Enterprise Linux Server release 6.5 (Santiago) x64

ruby 版本:ruby-2.1.2.tar.gz hadoop 用户安装 ./configure --prefix=/home/hadoop/software/ruby make 这两步都没有报错 make installl 报错了 错误日志如下:

making srcs under enc
make[1]: Entering directory `/home/hadoop/soft/ruby-2.1.2'
make[1]: Nothing to be done for `srcs'.
make[1]: Leaving directory `/home/hadoop/soft/ruby-2.1.2'
generating transdb.h
transdb.h unchanged
making trans
make[1]: Entering directory `/home/hadoop/soft/ruby-2.1.2'
make[1]: Nothing to be done for `./enc/trans'.
make[1]: Leaving directory `/home/hadoop/soft/ruby-2.1.2'
making encs
make[1]: Entering directory `/home/hadoop/soft/ruby-2.1.2'
make[1]: Leaving directory `/home/hadoop/soft/ruby-2.1.2'
generating makefile exts.mk
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 fiddle. It will not be installed.
Failed to configure gdbm. It will not be installed.
configuring socket
Failed to configure tk. It will not be installed.
Failed to configure tk/tkutil. It will not be installed.
Failed to configure win32. It will not be installed.
Failed to configure win32ole. It will not be installed.
make[1]: Entering directory `/home/hadoop/soft/ruby-2.1.2'
make[2]: Entering directory `/home/hadoop/soft/ruby-2.1.2/ext/-test-/array/resize'
installing default resize libraries
make[2]: Leaving directory `/home/hadoop/soft/ruby-2.1.2/ext/-test-/array/resize'
make[2]: Entering directory `/home/hadoop/soft/ruby-2.1.2/ext/-test-/bignum'
installing default bignum libraries
make[2]: Leaving directory `/home/hadoop/soft/ruby-2.1.2/ext/-test-/bignum'

这一步 有很多:Failed to configure

请问,有影响吗?

怎么解决

貌似没有影响吧,win32、win32ole 是在 windows 下用的

下错源代码了吧?

哈哈,RHEL 的盗版用户,购买订阅后直接打电话给技术支持,很快就解决了

#1 楼 @ywjno Failed to configure fiddle. It will not be installed. Failed to configure gdbm. It will not be installed. Failed to configure tk. It will not be installed. Failed to configure tk/tkutil. It will not be installed. 这些呢?

#4 楼 @string2020 fiddle gdbm 用不到吧,很少用到。tk 就更少用到了。

#6 楼 @sevk 这么说,上面的错误基本上可以忽略掉

#7 楼 @string2020 是的。我在 windows 下面自己编译,也是少了很多库的。而编译 golang 一个不少。

#2 楼 @huacnlee .tar.gz 的文件,应该没有下载错

这样用不算盗版。尽情的用。但你没有注册,升级的软件包就没了。你用一下 centos 的 repo 源就可以了。

需要 登录 后方可回复, 如果你还没有账号请 注册新账号