Installing passenger on Apache that bundled with MAMP

694 views
Skip to first unread message

Prem Sichanugrist

unread,
Apr 14, 2008, 11:31:44 AM4/14/08
to phusion-...@googlegroups.com
Hi all, I was having the bug during compile mod_rails for apache which it couldn't find the file config_vars.mk from my MAMP installation. I filed the issue report about it, and got the problem fixed, but that wasn't the end. (Issue about MAMP and config_vars >> http://code.google.com/p/phusion-passenger/issues/detail?id=12) After the config_vars problem fixedm, somehow there was no header files bundled with MAMP, which means there's no way you can compile the module. However, after I proceed these steps, everything is working fine now. 1. Run command '/Applications/MAMP/Library/bin/httpd -v' to figure out your Apache version 2. Browse to http://archive.apache.org/dist/httpd/ and download the source file that is the same as your version (for me, i downloaded httpd-2.0.59.tar.bz2) 3. Extract the file using 'tar xvf httpd-2.0.59.tar.bz2' (or the file name that you downloaded) 4. cd into that folder 5. Run './configure' so that apache will make some header files ready for you 6. Now, copy the whole 'include' folder from the Apache source to /Applications/MAMP/Library/ (so the files should be in /Applications/MAMP/Library/include/) 7. Copy os/unix/os.h from Apache source to /Applications/MAMP/Library/include/ 8. Now you can run 'sudo passenger-install-apache2-module' and proceed with the installation :D Hope this helps anyone who got stuck with MAMP.

Sikachu!/sikandsak

Hongli Lai

unread,
Apr 14, 2008, 3:49:27 PM4/14/08
to phusion-...@googlegroups.com

Thanks for this info.

We're currently swamped with work though. We'd really appreciate it if
you could submit a patch for the Users guide.

With kind regards,
Hongli Lai
--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)

Reply all
Reply to author
Forward
0 new messages