2014-07-21 171 views
0

我試圖設置一個使用charbdyis和atheme的IRC服務器。 Charbdyis安裝得很好,但我在嘗試在atheme上運行$ make install時遇到了錯誤。它運行和我得到的錯誤:在安裝atheme時遇到問題

CompileModule: http.so Install: http.so /usr/bin/install: ‘http.so’ and ‘/home/nick/atheme/modules/api/http.so’ are the same file make[2]: *** [install] Error 1 make[1]: *** [install] Error 2 make: *** [install] Error 2

我試着用搜索引擎對於這個問題,但似乎我的谷歌福不夠強。任何幫助或建議將不勝感激。

回答

0

您需要爲構建位置設置不同的安裝目標。

運行configure時,可以指定--prefix,它指定安裝位置,以便在運行「make install」時放置到目標位置。

對於大多數使用自動工具創建的程序也是如此。

還建議您將前綴設置爲主目錄中的某個位置,並以非特權用戶身份運行atheme,因爲這是一種更安全的配置,並且irc服務不需要root權限。

關於./configure --prefix的更多信息在以下回答問題中提供:Linux configure/make, --prefix?