Development headers not found "when starting the installer of apache 2 modules for passengers, but they are installed

I am trying to install Passenger on vps with the following:

  • CentOS Version 4.5 (Final)
  • gcc version 3.4.6 20060404 (Red Hat 3.4.6-8)
  • Apache / 2.2.11 (Unix)
  • Ruby Enterprise Edition
  • Ruby 1.8.6
  • Gem 1.3.5

I set the gem

gem install passenger

when I run module-install-apache2-module, I get the following message that I am missing development headers:

  • GNU C ++ compiler ... found in / usr / bin / g ++
  • SSL header specification ... 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 in / opt / ruby ​​-enterprise-1.8.6-20090201 / bin / rake
  • rack ... found
  • Apache 2... /usr/local/apache/bin/httpd
  • Apache 2... /usr/local/bin/apxs
  • fastthread... found
  • 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

, ? , ? , .

+5
1

:

sudo yum install zlib-devel e2fsprogs-devel krb5-devel libidn-devel

. code.google.com, , , , 24 2010 .

β„– 18, . , .

+4

All Articles