amule中文安装指南
你可以从以下方式安装amule。
1.下载并编译源码安装。
2.使用已编译好的rpm软件包安装(快速方便的方法)。
注意:这是如何使用wxWidgets 2.4.2和Crypto++ 5.1的说明,amule编译时要用到wxWidgets 2.5.x和 Crpto++ 5.1以后的版本。从amule 2.0.0-rc6开始,你不再需要Crypto++.
ps:关于wxWidgets 2.4.2需要的话以后会试着翻译他,在现在看来他对我好像太难了些。:p
用源代码编译安装
警告: 请确认你的系统中没有安装wxWidgets。如果你已经安装了wxWidgets,请先卸载掉,如何卸载就参见How to uninstall wxWidgets 。 如果你在卸载之后仍然有问题,请参见 if wx is installed twice , 以前这是一个大多数人都会在编译和运行碰到的问题。
ps:上面提到的两个文档,会争取在以后的工作中翻译。
注意: 在 wxWidgets>= 2.5.1, wxBase是没有被包含的,而是单独的一包。所以如果你打算用wxGTK2.5.x进行编译,请跳过第二步(wxBase的编译)。
Step 1: wxGTK
* download wxGTK ->
o wxGTK-2.4.2.tar.gz
* compile wxGTK ->
o tar -zxvf wxGTK-2.4.2.tar.gz
+ cd wxGTK-2.4.2
+ ./configure --prefix=/usr --disable-gtk2 --with-gtk && make
* as root:
o make install
o ldconfig
Step 2: wxBase
* download wxBase ->
o wxBase-2.4.2.tar.gz
* compile wxBase ->
o tar -zxvf wxBase-2.4.2.tar.gz
o cd wxBase-2.4.2
o ./configure --prefix=/usr && make
* as root:
o make install
o ln -sf /usr/bin/wxgtk-2.4-config /usr/bin/wx-config
o ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config
o ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config
* ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config
# ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config
* ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config
o ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config
+ ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config
# ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config
# ldconfig
Step 3: Crypto++
Note: Only needed from version 2.0.0-rc1 to 2.0.0-rc5 (included)
+ download libcrypto++ ->
# crypto-5.2.1.tar.bz2
+ compile libcrypto++ ->
# tar xvjf crypto-5.2.1.tar.bz2
# cd crypto-5.2.1
# make
If you have problems compiling with older gcc versions, it can be due to stray DOS newlines in some files. Invoke file * | grep CRLF | while read file rest; do dos2unix ${file%:}; done to convert them to UNIX newlines (bash syntax).
+ as root:
On earlier libcrypto++ versions, running make install would be enough. Since libcrypto++ 5.2 this is no longer available. So do the following:
+ cp libcryptopp.a /usr/lib/
+ mkdir /usr/include/cryptopp
+ cp *.h /usr/include/cryptopp/
+ ldconfig
Step 4: aMule
+ download latest aMule version ->
# latest aMule
+ compile aMule ->
# tar -zxvf aMule-X.X.X.tar.gz (replace X with the right version number..)
# cd aMule-X.X.X
# ./configure --disable-debug --enable-optimise && make
+ as root:
# make install
+ run aMule as user from your console by typing -> amule
Installing using RPMs
Step 1: wxGTK
+ download wxGTK and wxGTK-devel ->
# wxGTK-2.4.2-1.i386.rpm wxGTK-devel-2.4.2-1.i386.rpm
+ install wxGTK ->
# as root:
* rpm -Uvh wxGTK-2.4.2-1.i386.rpm wxGTK-devel-2.4.2-1.i386.rpm
* ldconfig
Step 2: wxBase
+ download wxBase ->
# wxBase-2.4.2-1.i586.rpm
+ install wxBase ->
# as root:
* rpm -Uvh wxBase-2.4.2-1.i586.rpm
* ln -sf /usr/bin/wxgtk-2.4-config /usr/bin/wx-config
* ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config
* ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config
# ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config
+ ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config
o ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config
* ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config
# ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config
+ ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config
+ ldconfig
Step 3. Crypto++
Note: Only needed from version 2.0.0-rc1 to 2.0.0-rc5 (included)
+ download libcrypto++ ->
# RedHat & SuSE: libcryptopp-5.2.1-1.i586-RH-SuSE.rpm and libcryptopp-devel-5.2.1-1.i586-RH-SuSE.rpm
# FC: libcryptopp-5.2.1-1.i586-FC.rpm and
libcryptopp-devel-5.2.1-1.i586-FC.rpm
# MDK: libcryptopp5-5.1-2mdk.i586.rpm and
libcryptopp5-devel-5.1-2mdk.i586.rpm
+ as root:
# rpm -Uvh the-above-downloaded-package.rpm
Step 4: aMule
+ download latest aMule version ->
# latest aMule
+ install aMule ->
# as root:
* rpm -Uvh aMule-X.X.X-1.iX86-X.rpm (replace X with the right version number..)
+ run aMule as user from your console by typing -> amule
本文档为【amule中文安装指南】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑,
图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。