Saturday, January 2, 2010

To Compile aMule 2.2.6 on Debian 3.1 Sarge

aMule is a peer-to-peer file-sharing application. Although ed2k networks that aMule connects to have been shrinking in popularity, I prefer aMule over Bittorrent clients for its ability to create serverless P2P network (Kademlia). The aMule backported package for Debian 3.1 Sarge is outdated, so I compiled the latest version 2.2.6 of aMule on Debian Sarge. I installed the following packages first.



  • binutils-dev
  • bison
  • flex
  • g77
  • g++
  • gettext
  • make
  • libcrypto++-dev
  • libgd2-noxpm-dev (or libgd2-xpm-dev)
  • libgeoip-dev
  • libgtk2.0-dev
  • libjpeg62-dev
  • libpng12-dev
  • libreadline5-dev
  • libsm-dev
  • libtiff4-dev
  • libxpm-dev


aMule depends on wxGTK library, but wxGTK library in Debian Sarge is also outdated. So I downloaded the latest wxGTK source (wxGTK-2.8.10.tar.gz) from wxwidgets.org. I compiled wxGTK in the following way. The --disable-shared option causes a static library to be built. This allows me to install aMule on another system without having to install a separate wxGTK library.



tar xzvf wxGTK-2.8.10.tar.gz

cd wxGTK-2.8.10/

mkdir buildgtk

cd buildgtk

../configure --prefix=/usr --sysconfdir=/etc --build=i586-pc-linux-gnu --enable-monolithic --enable-optimise --enable-intl --enable-unicode --enable-threads --enable-mousewheel --with-gtk=2 --with-libpng --with-libjpeg --with-libtiff --with-libxpm --with-regex --with-zlib --with-expat --disable-shared --disable-abi-incompatible-features --disable-no_rtti --disable-no_exceptions --disable-joystick --disable-compat24

make

make install


aMule can use libupnp if available. I downloaded libupnp-1.6.6.tar.bz2 from pupnp.sf.net and compiled it statically like this:


tar xjvf libupnp-1.6.6.tar.bz2

cd libupnp-1.6.6/

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i586-pc-linux-gnu --disable-shared

make

make install


Then, I built aMule in the following way.


tar xjvf aMule-2.2.6.tar.bz2

cd aMule-2.2.6/

./configure --prefix=/usr --mandir=/usr/share/man --build=i586-pc-linux-gnu --enable-amule-daemon --enable-amulecmd --enable-webserver --enable-cas --enable-wxcas --enable-alc --enable-alcc --enable-geoip --disable-debug --enable-optimize

make

make install


The following files are installed on the system:


/usr/bin/alc
/usr/bin/alcc
/usr/bin/amule
/usr/bin/amulecmd
/usr/bin/amuled
/usr/bin/amuleweb
/usr/bin/autostart-xas
/usr/bin/cas
/usr/bin/ed2k
/usr/bin/wxcas
/usr/lib/xchat/plugins/xas.pl
/usr/share/amule/skins/gnome.zip
/usr/share/amule/skins/kde4.zip
/usr/share/amule/skins/tango.zip
/usr/share/amule/skins/xfce.zip
/usr/share/amule/webserver/chicane/aMule.tmpl
/usr/share/amule/webserver/chicane/add_server.gif
/usr/share/amule/webserver/chicane/arrow_down.gif
/usr/share/amule/webserver/chicane/arrow_down_logout.gif
/usr/share/amule/webserver/chicane/arrow_right.gif
/usr/share/amule/webserver/chicane/arrow_up.gif
/usr/share/amule/webserver/chicane/back.gif
/usr/share/amule/webserver/chicane/black.gif
/usr/share/amule/webserver/chicane/blank1x1.gif
/usr/share/amule/webserver/chicane/blue1.gif
/usr/share/amule/webserver/chicane/blue2.gif
/usr/share/amule/webserver/chicane/blue3.gif
/usr/share/amule/webserver/chicane/blue4.gif
/usr/share/amule/webserver/chicane/blue5.gif
/usr/share/amule/webserver/chicane/blue6.gif
/usr/share/amule/webserver/chicane/cp_download.gif
/usr/share/amule/webserver/chicane/cp_kad.gif
/usr/share/amule/webserver/chicane/cp_search.gif
/usr/share/amule/webserver/chicane/cp_servers.gif
/usr/share/amule/webserver/chicane/cp_settings.gif
/usr/share/amule/webserver/chicane/cp_shared.gif
/usr/share/amule/webserver/chicane/cp_stats.gif
/usr/share/amule/webserver/chicane/downloads.php
/usr/share/amule/webserver/chicane/emule.gif
/usr/share/amule/webserver/chicane/favicon.ico
/usr/share/amule/webserver/chicane/green.gif
/usr/share/amule/webserver/chicane/greenpercent.gif
/usr/share/amule/webserver/chicane/index.php
/usr/share/amule/webserver/chicane/l_cancel.gif
/usr/share/amule/webserver/chicane/l_connect.gif
/usr/share/amule/webserver/chicane/l_down.gif
/usr/share/amule/webserver/chicane/l_ed2klink.gif
/usr/share/amule/webserver/chicane/l_info.gif
/usr/share/amule/webserver/chicane/l_pause.gif
/usr/share/amule/webserver/chicane/l_resume.gif
/usr/share/amule/webserver/chicane/l_up.gif
/usr/share/amule/webserver/chicane/log.gif
/usr/share/amule/webserver/chicane/login.php
/usr/share/amule/webserver/chicane/login_bottom.gif
/usr/share/amule/webserver/chicane/login_downmain.gif
/usr/share/amule/webserver/chicane/login_lefttop.gif
/usr/share/amule/webserver/chicane/login_righttop.gif
/usr/share/amule/webserver/chicane/login_top.gif
/usr/share/amule/webserver/chicane/login_topdown.gif
/usr/share/amule/webserver/chicane/login_topseperator.gif
/usr/share/amule/webserver/chicane/logo.jpg
/usr/share/amule/webserver/chicane/main_bg.gif
/usr/share/amule/webserver/chicane/main_top_bg.gif
/usr/share/amule/webserver/chicane/main_topbar.gif
/usr/share/amule/webserver/chicane/main_topbardarker.gif
/usr/share/amule/webserver/chicane/main_topbarseperator.gif
/usr/share/amule/webserver/chicane/phpamule.png
/usr/share/amule/webserver/chicane/preferences.php
/usr/share/amule/webserver/chicane/red.gif
/usr/share/amule/webserver/chicane/search.php
/usr/share/amule/webserver/chicane/servers.php
/usr/share/amule/webserver/chicane/shared.php
/usr/share/amule/webserver/chicane/stat_graphs.php
/usr/share/amule/webserver/chicane/stat_tree.php
/usr/share/amule/webserver/chicane/transparent.gif
/usr/share/amule/webserver/chicane/tree-closed.gif
/usr/share/amule/webserver/chicane/tree-leaf.gif
/usr/share/amule/webserver/chicane/tree-open.gif
/usr/share/amule/webserver/chicane/yellow.gif
/usr/share/amule/webserver/default/aMule.tmpl
/usr/share/amule/webserver/default/add_server.gif
/usr/share/amule/webserver/default/arrow_down.gif
/usr/share/amule/webserver/default/arrow_right.gif
/usr/share/amule/webserver/default/arrow_up.gif
/usr/share/amule/webserver/default/back.gif
/usr/share/amule/webserver/default/black.gif
/usr/share/amule/webserver/default/blue1.gif
/usr/share/amule/webserver/default/blue2.gif
/usr/share/amule/webserver/default/blue3.gif
/usr/share/amule/webserver/default/blue4.gif
/usr/share/amule/webserver/default/blue5.gif
/usr/share/amule/webserver/default/blue6.gif
/usr/share/amule/webserver/default/cp_download.gif
/usr/share/amule/webserver/default/cp_kad.gif
/usr/share/amule/webserver/default/cp_search.gif
/usr/share/amule/webserver/default/cp_servers.gif
/usr/share/amule/webserver/default/cp_settings.gif
/usr/share/amule/webserver/default/cp_shared.gif
/usr/share/amule/webserver/default/cp_stats.gif
/usr/share/amule/webserver/default/downloads.php
/usr/share/amule/webserver/default/emule.gif
/usr/share/amule/webserver/default/favicon.ico
/usr/share/amule/webserver/default/green.gif
/usr/share/amule/webserver/default/greenpercent.gif
/usr/share/amule/webserver/default/index.php
/usr/share/amule/webserver/default/l_cancel.gif
/usr/share/amule/webserver/default/l_connect.gif
/usr/share/amule/webserver/default/l_down.gif
/usr/share/amule/webserver/default/l_ed2klink.gif
/usr/share/amule/webserver/default/l_info.gif
/usr/share/amule/webserver/default/l_pause.gif
/usr/share/amule/webserver/default/l_resume.gif
/usr/share/amule/webserver/default/l_up.gif
/usr/share/amule/webserver/default/log.gif
/usr/share/amule/webserver/default/login.php
/usr/share/amule/webserver/default/logo.jpg
/usr/share/amule/webserver/default/phpamule.png
/usr/share/amule/webserver/default/preferences.php
/usr/share/amule/webserver/default/red.gif
/usr/share/amule/webserver/default/search.php
/usr/share/amule/webserver/default/servers.php
/usr/share/amule/webserver/default/shared.php
/usr/share/amule/webserver/default/stat_graphs.php
/usr/share/amule/webserver/default/stat_tree.php
/usr/share/amule/webserver/default/transparent.gif
/usr/share/amule/webserver/default/tree-closed.gif
/usr/share/amule/webserver/default/tree-leaf.gif
/usr/share/amule/webserver/default/tree-open.gif
/usr/share/amule/webserver/default/yellow.gif
/usr/share/amule/webserver/litoral/amuleweb-main-dload.php
/usr/share/amule/webserver/litoral/amuleweb-main-kad.php
/usr/share/amule/webserver/litoral/amuleweb-main-log.php
/usr/share/amule/webserver/litoral/amuleweb-main-prefs.php
/usr/share/amule/webserver/litoral/amuleweb-main-search.php
/usr/share/amule/webserver/litoral/amuleweb-main-servers.php
/usr/share/amule/webserver/litoral/amuleweb-main-shared.php
/usr/share/amule/webserver/litoral/amuleweb-main-stats.php
/usr/share/amule/webserver/litoral/black.gif
/usr/share/amule/webserver/litoral/blank1x1.gif
/usr/share/amule/webserver/litoral/blue1.gif
/usr/share/amule/webserver/litoral/blue2.gif
/usr/share/amule/webserver/litoral/blue3.gif
/usr/share/amule/webserver/litoral/blue4.gif
/usr/share/amule/webserver/litoral/blue5.gif
/usr/share/amule/webserver/litoral/blue6.gif
/usr/share/amule/webserver/litoral/cancel.gif
/usr/share/amule/webserver/litoral/close.png
/usr/share/amule/webserver/litoral/col.png
/usr/share/amule/webserver/litoral/connect.gif
/usr/share/amule/webserver/litoral/down.png
/usr/share/amule/webserver/litoral/edkserv_0.png
/usr/share/amule/webserver/litoral/edkserv_1.png
/usr/share/amule/webserver/litoral/favicon.ico
/usr/share/amule/webserver/litoral/filter.png
/usr/share/amule/webserver/litoral/fond.gif
/usr/share/amule/webserver/litoral/fond_haut.png
/usr/share/amule/webserver/litoral/footer.php
/usr/share/amule/webserver/litoral/index.html
/usr/share/amule/webserver/litoral/kitty.gif
/usr/share/amule/webserver/litoral/log.php
/usr/share/amule/webserver/litoral/login.php
/usr/share/amule/webserver/litoral/loginfond.gif
/usr/share/amule/webserver/litoral/loginfond_haut.png
/usr/share/amule/webserver/litoral/loginlogo.jpg
/usr/share/amule/webserver/litoral/loginlogo.png
/usr/share/amule/webserver/litoral/logo.png
/usr/share/amule/webserver/litoral/maquette.dwt
/usr/share/amule/webserver/litoral/ok.png
/usr/share/amule/webserver/litoral/pause.png
/usr/share/amule/webserver/litoral/play.png
/usr/share/amule/webserver/litoral/red.gif
/usr/share/amule/webserver/litoral/refresh.png
/usr/share/amule/webserver/litoral/search_0.png
/usr/share/amule/webserver/litoral/search_1.png
/usr/share/amule/webserver/litoral/shared_0.png
/usr/share/amule/webserver/litoral/shared_1.png
/usr/share/amule/webserver/litoral/sheserv_0.png
/usr/share/amule/webserver/litoral/sheserv_1.png
/usr/share/amule/webserver/litoral/stats.php
/usr/share/amule/webserver/litoral/stats_0.png
/usr/share/amule/webserver/litoral/stats_1.png
/usr/share/amule/webserver/litoral/stats_tree.php
/usr/share/amule/webserver/litoral/style.css
/usr/share/amule/webserver/litoral/tab_bottom.png
/usr/share/amule/webserver/litoral/tab_bottom_left.png
/usr/share/amule/webserver/litoral/tab_bottom_right.png
/usr/share/amule/webserver/litoral/tab_left.png
/usr/share/amule/webserver/litoral/tab_right.png
/usr/share/amule/webserver/litoral/tab_top.png
/usr/share/amule/webserver/litoral/tab_top_left.png
/usr/share/amule/webserver/litoral/tab_top_right.png
/usr/share/amule/webserver/litoral/transf_0.png
/usr/share/amule/webserver/litoral/transf_1.png
/usr/share/amule/webserver/litoral/tree-closed.gif
/usr/share/amule/webserver/litoral/tree-leaf.gif
/usr/share/amule/webserver/litoral/tree-open.gif
/usr/share/amule/webserver/litoral/up.png
/usr/share/amule/webserver/litoral/yellow.gif
/usr/share/amule/webserver/php-default/amuleweb-main-dload.php
/usr/share/amule/webserver/php-default/amuleweb-main-kad.php
/usr/share/amule/webserver/php-default/amuleweb-main-prefs.php
/usr/share/amule/webserver/php-default/amuleweb-main-search.php
/usr/share/amule/webserver/php-default/amuleweb-main-servers.php
/usr/share/amule/webserver/php-default/amuleweb-main-shared.php
/usr/share/amule/webserver/php-default/amuleweb-main-stats.php
/usr/share/amule/webserver/php-default/apply.jpeg
/usr/share/amule/webserver/php-default/arrow-r.png
/usr/share/amule/webserver/php-default/cancel.gif
/usr/share/amule/webserver/php-default/connect.gif
/usr/share/amule/webserver/php-default/delete.jpeg
/usr/share/amule/webserver/php-default/down.jpeg
/usr/share/amule/webserver/php-default/favicon.ico
/usr/share/amule/webserver/php-default/footer.php
/usr/share/amule/webserver/php-default/index.html
/usr/share/amule/webserver/php-default/login.php
/usr/share/amule/webserver/php-default/pause.jpeg
/usr/share/amule/webserver/php-default/phpamule.png
/usr/share/amule/webserver/php-default/resume.jpeg
/usr/share/amule/webserver/php-default/stats.php
/usr/share/amule/webserver/php-default/stats_tree.php
/usr/share/amule/webserver/php-default/toolbutton-connect.jpeg
/usr/share/amule/webserver/php-default/toolbutton-download-pressed.jpeg
/usr/share/amule/webserver/php-default/toolbutton-download.jpeg
/usr/share/amule/webserver/php-default/toolbutton-filter.jpeg
/usr/share/amule/webserver/php-default/toolbutton-kad-pressed.jpeg
/usr/share/amule/webserver/php-default/toolbutton-kad.jpeg
/usr/share/amule/webserver/php-default/toolbutton-logout-pressed.jpeg
/usr/share/amule/webserver/php-default/toolbutton-logout.jpeg
/usr/share/amule/webserver/php-default/toolbutton-reload.jpeg
/usr/share/amule/webserver/php-default/toolbutton-search-pressed.jpeg
/usr/share/amule/webserver/php-default/toolbutton-search.jpeg
/usr/share/amule/webserver/php-default/toolbutton-servers-pressed.jpeg
/usr/share/amule/webserver/php-default/toolbutton-servers.jpeg
/usr/share/amule/webserver/php-default/toolbutton-settings-pressed.jpeg
/usr/share/amule/webserver/php-default/toolbutton-settings.jpeg
/usr/share/amule/webserver/php-default/toolbutton-shared-pressed.jpeg
/usr/share/amule/webserver/php-default/toolbutton-shared.jpeg
/usr/share/amule/webserver/php-default/toolbutton-stats-pressed.jpeg
/usr/share/amule/webserver/php-default/toolbutton-stats.jpeg
/usr/share/amule/webserver/php-default/top.html
/usr/share/amule/webserver/php-default/tree-closed.gif
/usr/share/amule/webserver/php-default/tree-leaf.gif
/usr/share/amule/webserver/php-default/tree-open.gif
/usr/share/amule/webserver/php-default/up.jpeg
/usr/share/applications/alc.desktop
/usr/share/applications/amule.desktop
/usr/share/applications/wxcas.desktop
/usr/share/cas/stat.png
/usr/share/cas/tmp.html
/usr/share/doc/aMule-2.2.6/ABOUT-NLS
/usr/share/doc/aMule-2.2.6/Changelog
/usr/share/doc/aMule-2.2.6/EC_Protocol.txt
/usr/share/doc/aMule-2.2.6/ED2K-Links.HOWTO
/usr/share/doc/aMule-2.2.6/INSTALL
/usr/share/doc/aMule-2.2.6/README
/usr/share/doc/aMule-2.2.6/TODO
/usr/share/doc/aMule-2.2.6/amule-win32.HOWTO.txt
/usr/share/doc/aMule-2.2.6/amulesig.txt
/usr/share/doc/aMule-2.2.6/license.txt
/usr/share/doc/aMule-2.2.6/socks4.protocol
/usr/share/locale/ar/LC_MESSAGES/amule.mo
/usr/share/locale/ast/LC_MESSAGES/amule.mo
/usr/share/locale/bg/LC_MESSAGES/amule.mo
/usr/share/locale/ca/LC_MESSAGES/amule.mo
/usr/share/locale/cs/LC_MESSAGES/amule.mo
/usr/share/locale/da/LC_MESSAGES/amule.mo
/usr/share/locale/de/LC_MESSAGES/amule.mo
/usr/share/locale/el/LC_MESSAGES/amule.mo
/usr/share/locale/en_GB/LC_MESSAGES/amule.mo
/usr/share/locale/es/LC_MESSAGES/amule.mo
/usr/share/locale/et_EE/LC_MESSAGES/amule.mo
/usr/share/locale/eu/LC_MESSAGES/amule.mo
/usr/share/locale/fi/LC_MESSAGES/amule.mo
/usr/share/locale/fr/LC_MESSAGES/amule.mo
/usr/share/locale/gl/LC_MESSAGES/amule.mo
/usr/share/locale/he/LC_MESSAGES/amule.mo
/usr/share/locale/hr/LC_MESSAGES/amule.mo
/usr/share/locale/hu/LC_MESSAGES/amule.mo
/usr/share/locale/it/LC_MESSAGES/amule.mo
/usr/share/locale/it_CH/LC_MESSAGES/amule.mo
/usr/share/locale/ja/LC_MESSAGES/amule.mo
/usr/share/locale/ko_KR/LC_MESSAGES/amule.mo
/usr/share/locale/lt/LC_MESSAGES/amule.mo
/usr/share/locale/nl/LC_MESSAGES/amule.mo
/usr/share/locale/nn/LC_MESSAGES/amule.mo
/usr/share/locale/pl/LC_MESSAGES/amule.mo
/usr/share/locale/pt_BR/LC_MESSAGES/amule.mo
/usr/share/locale/pt_PT/LC_MESSAGES/amule.mo
/usr/share/locale/ru/LC_MESSAGES/amule.mo
/usr/share/locale/sl/LC_MESSAGES/amule.mo
/usr/share/locale/sq/LC_MESSAGES/amule.mo
/usr/share/locale/sv/LC_MESSAGES/amule.mo
/usr/share/locale/tr/LC_MESSAGES/amule.mo
/usr/share/locale/uk/LC_MESSAGES/amule.mo
/usr/share/locale/zh_CN/LC_MESSAGES/amule.mo
/usr/share/locale/zh_TW/LC_MESSAGES/amule.mo
/usr/share/man/de/man1/alc.1
/usr/share/man/de/man1/alcc.1
/usr/share/man/de/man1/amule.1
/usr/share/man/de/man1/amulecmd.1
/usr/share/man/de/man1/amuled.1
/usr/share/man/de/man1/amuleweb.1
/usr/share/man/de/man1/cas.1
/usr/share/man/de/man1/ed2k.1
/usr/share/man/de/man1/wxcas.1
/usr/share/man/de/man1/xas.1
/usr/share/man/es/man1/alc.1
/usr/share/man/es/man1/alcc.1
/usr/share/man/es/man1/amule.1
/usr/share/man/es/man1/amulecmd.1
/usr/share/man/es/man1/amuled.1
/usr/share/man/es/man1/amuleweb.1
/usr/share/man/es/man1/cas.1
/usr/share/man/es/man1/ed2k.1
/usr/share/man/es/man1/wxcas.1
/usr/share/man/es/man1/xas.1
/usr/share/man/eu/man1/alc.1
/usr/share/man/eu/man1/alcc.1
/usr/share/man/eu/man1/amule.1
/usr/share/man/eu/man1/amulecmd.1
/usr/share/man/eu/man1/amuled.1
/usr/share/man/eu/man1/amuleweb.1
/usr/share/man/eu/man1/cas.1
/usr/share/man/eu/man1/ed2k.1
/usr/share/man/eu/man1/wxcas.1
/usr/share/man/eu/man1/xas.1
/usr/share/man/fr/man1/alcc.1
/usr/share/man/fr/man1/amule.1
/usr/share/man/fr/man1/amulecmd.1
/usr/share/man/fr/man1/amuled.1
/usr/share/man/fr/man1/amuleweb.1
/usr/share/man/fr/man1/ed2k.1
/usr/share/man/hu/man1/alc.1
/usr/share/man/hu/man1/alcc.1
/usr/share/man/hu/man1/amule.1
/usr/share/man/hu/man1/amulecmd.1
/usr/share/man/hu/man1/amuled.1
/usr/share/man/hu/man1/amuleweb.1
/usr/share/man/hu/man1/cas.1
/usr/share/man/hu/man1/ed2k.1
/usr/share/man/hu/man1/wxcas.1
/usr/share/man/hu/man1/xas.1
/usr/share/man/it/man1/amule.1
/usr/share/man/it/man1/amulecmd.1
/usr/share/man/it/man1/amuled.1
/usr/share/man/it/man1/amuleweb.1
/usr/share/man/it/man1/ed2k.1
/usr/share/man/man1/alc.1
/usr/share/man/man1/alcc.1
/usr/share/man/man1/amule.1
/usr/share/man/man1/amulecmd.1
/usr/share/man/man1/amuled.1
/usr/share/man/man1/amuleweb.1
/usr/share/man/man1/cas.1
/usr/share/man/man1/ed2k.1
/usr/share/man/man1/wxcas.1
/usr/share/man/man1/xas.1
/usr/share/pixmaps/alc.xpm
/usr/share/pixmaps/amule.xpm
/usr/share/pixmaps/wxcas.xpm

No comments:

Post a Comment

About This Blog

KBlog logo This blog is about current events and issues concerning general population. Thanks for visiting the blog and posting your comments.

© Contents by KBlog

© Blogger template by Emporium Digital 2008

Followers

Total Pageviews

icon
Powered By Blogger