ubuntu, ror, jQuery, css, website memo
太嫩, 沒啥心得, 用來紀錄每天學的
2009年2月24日 星期二
install passenger, mod_rails
在機車的環境裝遇到問題啦, 明明apache 裝了 可是它卻找不到, 又是path 問題
請參考這篇
How To Install Phusion Passenger / mod_rails / mod_passenger
The “default” apxs being run is /usr/sbin/apxs, but this is a hold-over from the Apache 1.3 installation. The Apache 2.2 version is in /usr/local/apache/bin/apxs, so to force that one to be used:
export APXS2=/usr/local/apache/bin/apxs
Another error that can occur is:
/usr/local/apache/include/apr_file_info.h:192: error: `apr_ino_t’ does not name a type
This occurs because the wrong apr-config is being run. To fix that, you need to export yet another environment variable:
export APR_CONFIG=/usr/local/apache/bin/apr-1-config
我的目錄是apache2 也是export 這兩個就行了
export APXS2=/usr/local/apache2/bin/apxs
export APR_CONFIG=/usr/local/apache2/bin/apr-1-config
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言