Tom
Tom

Reputation: 71

Development headers 'not found' when running passenger apache 2 module installer, but they are installed

I have been trying to install Passenger on a vps with the following:

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:

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.

Upvotes: 5

Views: 5335

Answers (1)

Adrian Carr
Adrian Carr

Reputation: 3133

I had this same problem and solved it by doing this:

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

That took care of it. I found this solution on the code.google.com site mentioned above, but noticed that there had been some new activity since this question was posted on Nov 24, 2010.

I followed the instructions in comment #18, and it worked for me. Hope it helps.

Upvotes: 4

Related Questions