Join GitHub today
passenger-install-apache2-module unable to find MAMP apache installation #113
From sikandsak on April 12, 2008 16:25:16
What steps will reproduce the problem?
What is the expected output? What do you see instead?
I expected that the apache in /Application/MAMP/bin/apache2 got detected. However, it said
Also, at the first line of installation program it said that:
What version of the product are you using? On what operating system?
Passenger 1.0.1 / Mac OS X Leopard 10.5.2
Please provide any additional information below.
I've tried to export the variable APXS and APXS2 to Applications/MAMP/bin/apache2/bin/apxs,
Original issue: http://code.google.com/p/phusion-passenger/issues/detail?id=12
From sikandsak on April 13, 2008 22:41:57
After I follow the instruction in issue #3 , here's the result
$ruby -rubygems -e 'gem "passenger"; require "passenger/platform_info"; puts PlatformInfo::APXS2'
$ export APXS2=/Applications/MAMP/bin/apache2/bin/apxs
$ ruby -rubygems -e 'gem "passenger"; require "passenger/platform_info"; puts PlatformInfo::APXS2'
Try to run those ruby script:
From honglilai on April 14, 2008 05:09:43
"cannot open /Applications/MAMP/Library/build/config_vars.mk: No such file or
It seems that either your MAMP installation is broken, or MAMP itself is broken.
From sikandsak on April 14, 2008 06:35:26
Ah .. you really guided me to the right way.
I have found the config_vars.mk here: http://forum.mamp.info/viewtopic.php?t=1866 Then I copied that, to a new file, save as config_vars.mk in /Applications/MAMP/Library/build/
Thanks guy! I have attached the file in case anybody has the same problem.
From honglilai on April 14, 2008 12:50:08
It seems that wasn't the end. Here's a follow-up with more information: http://groups.google.com/group/phusion-passenger/t/e6dac9d5ea0de9c1