I have been trying to install Passenger on a vps with the following:
- CentOS release 4.5 (Final)
- gcc version 3.4.6 20060404 (Red Hat 3.4.6-8) box
- Apache/2.2.11 (Unix)
- Ruby Enterprise Edition
- Ruby 1.8.6
- Gem 1.3.5
I installed the gem
gem install passenger
when i run passenger-install-apache2-module I get the following message indicating I am missing development headers:
- GNU C++ compiler... found at /usr/bin/g++
- Curl development headers with SSL support... not found
- OpenSSL development headers... not found
- Zlib development headers... not found
- Ruby development headers... found
- OpenSSL support for Ruby... found
- RubyGems... found
- Rake... found at /opt/ruby-enterprise-1.8.6-20090201/bin/rake
- rack... found
- Apache 2... found at /usr/local/apache/bin/httpd
- Apache 2 development headers... found at /usr/local/bin/apxs
- fastthread... found
- Apache Portable Runtime (APR) development headers... found at /usr/local/apache/bin/apr-1-config
- Apache Portable Runtime Utility (APU) development headers... found at /usr/local/apache/bin/apu-1-config
I then following the provided instructions on how to install each:
# 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
Does this indicate that they are already installed? Do I have to tell passenger where to find these? My site is currently down, so any help would be greatly appreciated.