views:

352

answers:

2

i want to install phusion passenger together with ruby enterprise edition on x86_64 SMP ubuntu 10.04. the recommended option seems to be

apache2-mpm-worker

but when i run passenger-install-apache2-module

the installation routine of phusion passenger complains

To install Apache 2 development headers: Please run apt-get install apache2-prefork-dev as root.

why do we need prefork-dev here, if we clearly want to run passenger with mpm-worker apache2? any suggestions? is there a worker-dev package?

+1  A: 

The worker dev package on Debian & Ubuntu is "apache2-threaded-dev".

Apt-file shows that this installs /usr/bin/apxs2 among other things, so I think this is what you're looking for. By the way, I found this package by using "apt-cache search apache mpm dev".

Awgy
thanks for your comment - i also read this thread you pointed to, but this is not my problem. i need to know how to install phusion passenger with mpm-worker, or more specific: will phusion passenger be installed with the optimum worker support if i install with the requested apache2-prefork-dev? also i did not find a worker-dev package on ubuntu...
z3cko
I updated the answer with some more information. Let me know if you need any more help.
Awgy