Can't Fully Install Passenger Apache2 Module

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

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

You’ll need to install ‘apr’.

Good luck,

-Conrad

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

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