我一直在尝试使用以下内容在vps上安装Passenger:
CentOS 4.5版(最终版)
gcc版本3.4.6 20060404(Red Hat 3.4.6-8)框
Apache/2.2.11(Unix)
Ruby企业版
Ruby 1.8.6
宝石1.3.5
我安装了宝石
gem install passenger
当我运行passenger-install-apache2-module时,我收到以下消息,表明我缺少开发头:
GNU C++编译器...在/ usr/bin/g ++中找到
具有SSL支持的卷曲开发标头...未找到
找不到OpenSSL开发头文件
Zlib开发头文件...未找到
发现了Ruby开发头文件
OpenSSL支持Ruby ...找到了
RubyGems ......找到了
耙...发现于/opt/ruby-enterprise-1.8.6-20090201/bin/rake
机架......发现
Apache 2 ...在/ usr/local/apache/bin/httpd找到
Apache 2开发头文件...位于/ usr/local/bin/apxs
fastthread ...发现
Apache Portable Runtime(APR)开发头文件...在/ usr/local/apache/bin/apr-1-config中找到
Apache Portable Runtime Utility(APU)开发头文件...位于/ usr/local/apache/bin/apu-1-config
然后我按照提供的说明如何安装每个:
# yum install curl-devel Setting up Install Process Setting up repositories update 100% |=========================| 951 B 00:00 base 100% |=========================| 1.1 kB 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files Parsing package install arguments Nothing to do # yum install openssl-devel Setting up Install Process Setting up repositories update 100% |=========================| 951 B 00:00 base 100% |=========================| 1.1 kB 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files Parsing package install arguments Nothing to do # yum install zlib-devel Setting up Install Process Setting up repositories update 100% |=========================| 951 B 00:00 base 100% |=========================| 1.1 kB 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files Parsing package install arguments Nothing to do
这表明它们已经安装好了吗?我是否必须告诉乘客在哪里找到这些?我的网站目前正在关闭,所以任何帮助将不胜感激.