make[1]: Entering directory `/tmp/ruby-enterprise-1.8.7-2011.03/source/
ext/gdbm'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/ruby-enterprise-1.8.7-2011.03/source/
ext/gdbm'
compiling iconv
make[1]: Entering directory `/tmp/ruby-enterprise-1.8.7-2011.03/source/
ext/iconv'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/ruby-enterprise-1.8.7-2011.03/source/
ext/iconv'
compiling io/wait
make[1]: Entering directory `/tmp/ruby-enterprise-1.8.7-2011.03/source/
ext/io/wait'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/ruby-enterprise-1.8.7-2011.03/source/
ext/io/wait'
compiling nkf
make[1]: Entering directory `/tmp/ruby-enterprise-1.8.7-2011.03/source/
ext/nkf'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/ruby-enterprise-1.8.7-2011.03/source/
ext/nkf'
compiling openssl
make[1]: Entering directory `/tmp/ruby-enterprise-1.8.7-2011.03/source/
ext/openssl'
gcc -I/opt/local/include -I. -I/opt/local/include -I../.. -I../../. -
I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -g -O2
-c ossl_x509cert.c
In file included from ossl.h:205,
from ossl_x509cert.c:11:
openssl_missing.h:71: error: conflicting types for 'HMAC_CTX_copy'
/usr/local/include/openssl/hmac.h:102: error: previous declaration of
'HMAC_CTX_copy' was here
openssl_missing.h:95: error: conflicting types for
'EVP_CIPHER_CTX_copy'
/usr/local/include/openssl/evp.h:459: error: previous declaration of
'EVP_CIPHER_CTX_copy' was here
ossl_x509cert.c: In function 'ossl_x509_inspect':
ossl_x509cert.c:693: warning: initialization discards qualifiers from
pointer target type
make[1]: *** [ossl_x509cert.o] Error 1
make[1]: Leaving directory `/tmp/ruby-enterprise-1.8.7-2011.03/source/
ext/openssl'
make: *** [all] Error 1
经多方折腾,结果是
因为我手工升级了 openssl 到 1.0 , Ruby 源码安装时用到 openssl 并且必须时 0.9.8X
解决方案
501 apt-get source openssl
502 ls
503 cd openssl-0.9.8g/
504 ls
505 ./config --prefix=/opt/openssl-0.9.8g --openssldir=/opt/openssl-0.9.8g/openssl
506 make
507 make install
508 cd ..
509 tar xzvf ruby-enterprise-1.8.7-2011.03.tar.gz
510 cp -r /opt/openssl-0.9.8g/include/openssl/ ./ruby-enterprise-1.8.7-2011.03/source/
511 ls ./ruby-enterprise-1.8.7-2011.03/source/
512 rm -rf /opt/ruby-enterprise-1.8.7-2011.03/
513 cd ruby-enterprise-1.8.7-2011.03/
514 ./installer
分享到:
相关推荐
Metaprogramming Ruby 2nd Edition ruby元编程
Programming Ruby 2nd Edition
ruby-build - 编译和安装Ruby
重构 ruby版 英文原版 Refactoring Ruby Edition 高清
Ruby Cookbook, 2nd Edition
Programming Ruby - The Pragmatic Programmer's Guide, 2nd Edition (2005) [annotated]
ruby-enterprise-1.8.6-20090201.tar for linux
Enterprise Integration with Ruby
这是一个部署ruby运行环境所需的软件包,安装这个包之前需要安装ruby
Programming Ruby 1.9 3rd edition.Cover ruby 1.9.2, downloaded from pragmatic bool shelf, please enjoy.
Programming Ruby 1.9 (3rd edition)和源码
Ruby.on.Rails.Enterprise.Application.Development
netbean安装程序 ruby5netbean安装程序 ruby5netbean安装程序 ruby5netbean安装程序 ruby5netbean安装程序 ruby5
镜像比较难下载,老是失败。
Ruby 简介及安装 视频教程: Ruby 简介及安装 ruby-1-intro.mp4 ruby-2-install.mp4 ruby-3-overview.mp4
在安装redis集群的时候,我们按照网站上的部署文档需要安装rvm,然后再安装ruby2.4.4会导致ctrl+c功能失效,解决起来也比较恶心。现在这里的rvm的tar包,解压后在rvm/rubies/,就已经有了ruby2.4.4配置一下环境变量...