# Can't Fully Install Passenger Apache2 Module

**URL:** <https://www.ruby-forum.com/t/cant-fully-install-passenger-apache2-module/176467>\
**Category:** Rails\
**Created:** [October 1, 2009, 12:13am UTC](https://www.ruby-forum.com/t/cant-fully-install-passenger-apache2-module/176467 "2009-10-01T00:13:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [October 1, 2009, 12:13am UTC](https://www.ruby-forum.com/t/cant-fully-install-passenger-apache2-module/176467/1 "2009-10-01T00:13:32Z")

</div>

Hello,  
I’ve installed Apache 2 server, and now I’m trying to install  
Passenger Apache 2 module via Cygwin on Windows. However, when I run  
the command: passenger-install-apache2-module in cygwin I get the  
below error message:

apxs:Error: /usr/bin/apr-1-config not found!.  
apxs:Error: /usr/bin/apr-1-config not found!.  
apxs:Error: /usr/bin/apr-1-config not found!.  
apxs:Error: /usr/bin/apr-1-config not found!.

- GNU C++ compiler… found at /usr/bin/g++
- Ruby development headers… found
- OpenSSL support for Ruby… found
- RubyGems… found
- Rake… found at /usr/bin/rake
- Apache 2… found at /usr/sbin/httpd2
- Apache 2 development headers… found at /usr/sbin/apxs2
- Apache Portable Runtime (APR) development headers… not found
- Apache Portable Runtime Utility (APU) development headers… not  
found

Am I missing a cygwin package to install? I did quite bit of research  
to find out how to install Apache Portable Runtime/Utility on Windows,  
but all the documentation I found was for Linux-based using yum  
command and nothing for Windows.

I’m so close to install Passenger and it drives me crazy that I can’t  
figure out how to install the Apache Runtime. Shouldn’t the Apache  
Portable Runtime be embedded in the Apache2 install?

Please help!

Regards,  
SS

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [October 1, 2009, 12:23am UTC](https://www.ruby-forum.com/t/cant-fully-install-passenger-apache2-module/176467/2 "2009-10-01T00:23:28Z")

</div>

On Wed, Sep 30, 2009 at 3:12 PM, SS [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> apxs:Error: /usr/bin/apr-1-config not found!.
> 
> Regards,  
> SS

You’ll need to install ‘apr’.

Good luck,

-Conrad

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [October 1, 2009, 1:13am UTC](https://www.ruby-forum.com/t/cant-fully-install-passenger-apache2-module/176467/3 "2009-10-01T01:13:49Z")

</div>

Conrad, I found and downloaded the ‘apr’, however in the README.dev  
file in the folder where I unzipped the file, it’s asking me to use  
Visual Studio to run nmake.  
I’m using cygwin and I’ve install the ‘make’ package to be able to  
execute ‘nmake’. However I keep getting in cygwin the error message:

bash: nmake: command not found

Do you know program I need to use so that I can run nmake command and  
complete the ‘apr’ installation?  
Any good documentation on APR installation will be of a huge help.

Thanks,  
SS

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [October 1, 2009, 2:09am UTC](https://www.ruby-forum.com/t/cant-fully-install-passenger-apache2-module/176467/4 "2009-10-01T02:09:28Z")

</div>

From what I remember, nmake is a part of Visual Studio set of tools.  
Also,  
you might be able to locate a separate installer for it.

Good luck,

-Conrad
