It should work without setting anything.
Do you have a small test app with which I can reproduce the problem?
--
Phusion | The Computer Science Company
Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)
I've confirmed that this problem is already fixed in Phusion Passenger
git master. Please use that instead.
Seems like a bug in the build system.
Do you have the commands apr-config and apu-config (or
apr-1-config/apu-1-config)?
What do you see if you type the following in the Passenger source directory?
irb -Ilib -rphusion_passenger/platform_info
PlatformInfo.apr_config
PlatformInfo.apu_config
What is the output of:
apxs2 -q APR_CONFIG
(type 'apxs' if 'apxs2' doesn't exist)
Can you paste the contents of your config_vars.mk somewhere? You can
find the location of this file with the following command:
grep 'installbuilddir =' /path/to/apxs2
For example, on my machine, I get:
hongli@hoshino ~$ grep 'installbuilddir =' /usr/bin/apxs2
my $installbuilddir = "/usr/share/apache2/build";
My config_vars.mk is therefore /usr/share/apache2/build/config_vars.mk
OK, could you pull from git master and try again?