最近一直花時間在把舊資料搬到這個網站上以外, 又花了點時間編了amule 2.2.1 試試...
到官網上抓取amule-2.2.1.tar.bz2的檔案, 然後丟至我的BCM4780的Debian系統
接著解開...
tar jxvf amule-2.2.1.tar.bz2
然後設定組態
./configure --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --disable-dependency-tracking --disable-ccache -disable-debug --enable-amule-daemon --enable-amulecmd --enable-ed2k --enable-webserver --enable-amule-gui --enable-cas --enable-wxcas --enable-alc --enable-alcc --disable-embedded-crypto
結果不行...哈哈...果然沒那麼簡單...它說wxGTK要大於2.8才可以, 但是Debian中的套件最多才到2.6.3
所以沒辦法...又要自己編譯wxGTK了...
我是下載目前最新2.8.7版, 下載後組定組態後即開使編譯...
wget http://jaist.dl.sourceforge.net/sourceforge/wxwindows/wxGTK-2.8.7.tar.gz
tar zxvf wxGTK-2.8.7.tar.gz
cd wxGTK-2.8.7
./configure --prefix=/usr --with-flavor --enable-unicode
make ; make install
然後再切換至amule的目錄, 再重新configure 一次結果成功地產生Makefile檔 :D
接下來當然就是make; make install 啦, 等安裝完成後....如果直接執行 amuled時可能會出現這樣的訊息而且amuled並未真的執行...

首先我們要先進行amuled的設定, 執行以下命令進行初使化設定
amuled --ec-config
它會出現一個提示請你設定連定密碼, 例如「1234 」
待設定完成後便可以執行程式了
amuled
接著安裝 amule for windows, 為什麼需要這個呢...因為現在我們打算使用amule的Remote GUI的功能, 而剛剛設定的密碼「1234」就是Remote GUI的連線密碼 :D
...未完
Comments
如果沒記錯的話...
如果沒記錯的話應該是 libgtk2.0-dev
在debian中GTK开发套件包的具体名称是什么? 编译a
在debian中GTK开发套件包的具体名称是什么?
编译amule2.2.3遇到以下问题,怀疑还是wx编译的问题~
make[2]: *** [libmuleappgui_a-BarShader.o] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
倒是有解决的办法:http://www.amule.org/amule/index.php?topic=13523.0;wap2
--disable-monolithic
----------------
再去看看help重新编译~:)
要編譯wxGTK 時需要GTK的開發套件
要編譯wxGTK 時需要GTK的開發套件, 只要安裝就能編譯了 :)
我用wugi兄的选项: ./configure
我用wugi兄的选项:
./configure --prefix=/usr --with-flavor --enable-unicode
编译wxGTK-2.8.9.tar.gz不成功。报:
--------------
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error:
The development files for GTK+ were not found. For GTK+ 2, please
ensure that pkg-config is in the path and that gtk+-2.0.pc is
installed. For GTK+ 1.2 please check that gtk-config is in the path,
and that the version is 1.2.3 or above. Also check that the
libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
--libs' are in the LD_LIBRARY_PATH or equivalent.
--------------
经分析GTK的问题。
安装libgtk1.2-dev后
使用以下选项
./configure --prefix=/usr --disable-gui --with-gtk=1 --with-flavor --enable-unicode --enable-optimise && make
编译成功~:)