I'm having a very similar problem.
ubuntu 6.06 LTS
apache 2.2.6 prefork source build
Same results with both the 1.05 gem and development releases.
sudo passenger-install-apache2-module .....
Checking for required software...
* GNU C++ compiler... found at /usr/bin/g++
* Ruby development headers... found
* OpenSSL support for Ruby... found
* RubyGems... found
* Rake... found at /usr/local/bin/rake
* Apache 2... not found
* Apache 2 development headers... not found
* Apache Portable Runtime (APR) development headers... found
* fastthread... found
okies...
export APXS2=/usr/local/apache2/bin/apxs
try again... seems to find all the requirements this time
sudo passenger-install-apache2-module ....
Checking for required software...
* GNU C++ compiler... found at /usr/bin/g++
* Ruby development headers... found
* OpenSSL support for Ruby... found
* RubyGems... found
* Rake... found at /usr/local/bin/rake
* Apache 2... found at /usr/local/apache2/bin/httpd
* Apache 2 development headers... found at /usr/local/apache2/bin/
apxs
* Apache Portable Runtime (APR) development headers... found
* fastthread... found
--------------------------------------------
--------------------------------------------
Compiling and installing Apache 2 module...
cd /home/tim/FooBarWidget-
passenger-9dafc631270b045975f817966558f25f41483110
rake clean apache2
(in /home/tim/FooBarWidget-
passenger-9dafc631270b045975f817966558f25f41483110)
rake aborted!
Could not find Apache Portable Runtime (APR).
/home/tim/FooBarWidget-
passenger-9dafc631270b045975f817966558f25f41483110/Rakefile:37
(See full trace by running task with --trace)
--------------------------------------------
It looks like something went wrong
found this thread, even though I only have one apache install I tried
this:
export PATH=/usr/local/apache2/bin:"${PATH}"
try again ... same result as above.
thoughts/ideas greatly appreciated!
THX
Tim
On Apr 16, 3:48 pm, Johnpg <
joh...@gmail.com> wrote:
> Fantastic! The trick was to make sure that the bin directory of my
> custom Apacheinstallwas in my path before any other Apache installs.