Forum: Rails deployment Compiling Apache from Source and Phusion Passenger can't find it

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
F3db526ba34de3b31f3bcfca151b187d?d=identicon&s=25 Gabe Gabriel (gabe)
on 2013-02-22 22:36
I compiled my http server (obviously from source)and runs ok under
/usr/local/apache2 but when I do "sudo gem install passenger" it tells
me it cannot find my apache2, the headers and the Environment and it
suggests me to install with apt-get on debian 6.

ruby 1.9.3 also install from source code. rails is also installed
not using RVM.

so appreciate your answers.
F3db526ba34de3b31f3bcfca151b187d?d=identicon&s=25 Gabe Gabriel (gabe)
on 2013-02-23 18:59
I found the solution here:

all I needed was:

export HTTPD="/usr/local/apache2/bin/httpd"
export BINDIR="/usr/local/apache2"
export APXS2="/usr/local/apache2/bin/apxs"
export APR_CONFIG="/usr/local/apr/bin/apr-1-config"
export APU_CONFIG="/usr/local/apr/bin/apu-1-config"

every thing else was self-explanatory after this.
This topic is locked and can not be replied to.