今晚打算在Fedora 10下安裝aMule,以便電驢下載。本打算yum安裝,結果發現無法yum安裝,於是只好下載了aMule的原始碼(無Linux下的二進位安裝檔案)。解壓之後,./configure,卻出現了"wxWindows"的錯誤。
在網上搜了半天之後,發現除了系統已經裝好的wxGTK之外,還要安裝wxGTK-devel,於是我便yum install wxGTK-devel,成功。
重新在aMule的目錄下./configure,這次卻又報了更奇怪的錯誤:
"checking for crypto++ version >= 5.1... configure: error:
Could not find cryptopp header file "cryptlib.h".
Please check if the path "/usr" is valid."
在網上找到一個解決辦法:
Download the latest crypto package from "http://www.cryptopp.com/#download " in this case package "Crypto++ 5.5.2". Now open your console terminal and do the following commands to install the crypto package.
A) mkdir crypto
B) mv cryptopp552.zip ./crypto
C) cd crypto
D) unzip cryptopp552.zip
E) make
F) cp libcryptopp.a /usr/lib/
G) mkdir /usr/include/cryptopp
H) cp *.h /usr/include/cryptopp/
I) ldconfig
完成之後繼續./configure,成功。(有一個關於uPnP的warning可以忽略。)然後make,成功,只是時間比較長。然後make install,成功。
aMule終於可以用了。