Apache Portable Runtime Utility (APU) development headers... not found

426 views
Skip to first unread message

Shanison Lin

unread,
Jul 26, 2011, 4:54:22 AM7/26/11
to phusion-...@googlegroups.com
when i try to run sudo passenger-install-apache2-module 
* GNU C++ compiler... found at /usr/bin/g++
 * Curl development headers with SSL support... found
 * OpenSSL development headers... found
 * Zlib development headers... found
 * Ruby development headers... found
 * OpenSSL support for Ruby... found
 * RubyGems... found
 * Rake... found at /usr/local/bin/rake
 * rack... found
 * Apache 2... found at /usr/sbin/httpd
 * Apache 2 development headers... found at /usr/sbin/apxs
 * Apache Portable Runtime (APR) development headers... found at /usr/bin/apr-1-config
 * Apache Portable Runtime Utility (APU) development headers... not found

I have APU installed at /usr/bin/apu-1-config. Previously the APR is also not found, so i install passenger by 
sudo passenger-install-apache2-module --apr-config-path /usr/bin/apr-1-config

But there is no option for apu. I have even do this export APU_CONFIG="/usr/bin/apu-1-config". But still it can't find the APU. Any help is greatly appreciated. Additional information:

ruby 1.8.7 (2009-3-1 mbari 8B/0x8770 on patchlevel 72) [i686-linux]
Rails 2.2.2

Hongli Lai

unread,
Aug 2, 2011, 9:53:25 AM8/2/11
to phusion-...@googlegroups.com
'sudo' nukes all environment variables. You need to run 'sudo bash',
*then* set environment variables, *then* run the installer.

> --
> You received this message because you are subscribed to the Google Groups
> "Phusion Passenger Discussions" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/phusion-passenger/-/4cnVWROKz84J.
> To post to this group, send email to phusion-...@googlegroups.com.
> To unsubscribe from this group, send email to
> phusion-passen...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/phusion-passenger?hl=en.
>

--
Phusion | Ruby & Rails deployment, scaling and tuning solutions

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