passenger インストール
で、順序が逆ですが passenger をインストールしてみました。apache をソースから入れていたため一部はまりましたが、id:mingos:20080413:1208093544 のおかげで解決 :)。
ちょっと長いですがどなたかの参考になるかもしれないので、そのまま載せておきます。
# gem install passenger Building native extensions. This could take a while... Successfully installed rack-0.3.0 Successfully installed passenger-2.0.2 2 gems installed Installing ri documentation for rack-0.3.0... Installing ri documentation for passenger-2.0.2... Installing RDoc documentation for rack-0.3.0... Installing RDoc documentation for passenger-2.0.2... ./doc/template/horo.rb:17: warning: already initialized constant FONTS ./doc/template/horo.rb:19: warning: already initialized constant STYLE ./doc/template/horo.rb:213: warning: already initialized constant XHTML_PREAMBLE ./doc/template/horo.rb:221: warning: already initialized constant HEADER ./doc/template/horo.rb:272: warning: already initialized constant FILE_PAGE ./doc/template/horo.rb:300: warning: already initialized constant CLASS_PAGE ./doc/template/horo.rb:338: warning: already initialized constant METHOD_LIST ./doc/template/horo.rb:486: warning: already initialized constant FOOTER ./doc/template/horo.rb:491: warning: already initialized constant BODY ./doc/template/horo.rb:503: warning: already initialized constant SRC_PAGE ./doc/template/horo.rb:531: warning: already initialized constant FR_INDEX_BODY ./doc/template/horo.rb:535: warning: already initialized constant FILE_INDEX ./doc/template/horo.rb:583: warning: already initialized constant CLASS_INDEX ./doc/template/horo.rb:584: warning: already initialized constant METHOD_INDEX ./doc/template/horo.rb:586: warning: already initialized constant INDEX # passenger-install-apache2-module Welcome to the Phusion Passenger Apache 2 module installer, v2.0.2. This installer will guide you through the entire installation process. It shouldn't take more than 3 minutes in total. Here's what you can expect from the installation process: 1. The Apache 2 module will be installed for you. 2. You'll learn how to configure Apache. 3. You'll learn how to deploy a Ruby on Rails application. Don't worry if anything goes wrong. This installer will advise you on how to solve any problems. Press Enter to continue, or Ctrl-C to abort. 1 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 * rack... found Some required software is not installed. But don't worry, this installer will tell you how to install them. Press Enter to continue, or Ctrl-C to abort.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
で、環境変数を設定してから再チャレンジ。
# export APXS2=/usr/local/apache2/bin/apxs# export PATH=/usr/local/apache2/bin:$PATH # passenger-install-apache2-module Welcome to the Phusion Passenger Apache 2 module installer, v2.0.2. This installer will guide you through the entire installation process. It shouldn't take more than 3 minutes in total. Here's what you can expect from the installation process: 1. The Apache 2 module will be installed for you. 2. You'll learn how to configure Apache. 3. You'll learn how to deploy a Ruby on Rails application. Don't worry if anything goes wrong. This installer will advise you on how to solve any problems. Press Enter to continue, or Ctrl-C to abort. 1 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 at /usr/local/apache2/bin/apr-1-config * fastthread... found * rack... found
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
上手くいきました :)。