<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://test.amule.szerverem.hu/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://test.amule.szerverem.hu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=87.11.235.157</id>
		<title>AMule Project FAQ - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://test.amule.szerverem.hu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=87.11.235.157"/>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/Special:Contributions/87.11.235.157"/>
		<updated>2026-04-05T18:17:00Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>http://test.amule.szerverem.hu/wiki/HowTo_Compile_In_Debian/Ubuntu</id>
		<title>HowTo Compile In Debian/Ubuntu</title>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/HowTo_Compile_In_Debian/Ubuntu"/>
				<updated>2007-10-06T10:54:56Z</updated>
		
		<summary type="html">&lt;p&gt;87.11.235.157: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;center&amp;gt;'''English''' | [[HowTo_Compile_In_Debian-de|Deutsch]] | [[HowTo_Compile_In_Debian-es|Español]] | [[Compilare_aMule_In_Debian-it|Italiano]] &amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' This howto will also work for [http://www.ubuntulinux.com Ubuntu Linux].&lt;br /&gt;
&lt;br /&gt;
See also general [[Compilation Installation]]&lt;br /&gt;
&lt;br /&gt;
== Are you sure you want to compile? ==&lt;br /&gt;
&lt;br /&gt;
If not, (which is pretty common) decide if you want the [[aMule]] stable release or the [[aMule CVS]] release.&lt;br /&gt;
&lt;br /&gt;
=== [[aMule]] stable release ===&lt;br /&gt;
&lt;br /&gt;
'''These packages are for Debian 3.1 Sarge only!'''&lt;br /&gt;
&lt;br /&gt;
You can just install latest stable [[aMule]] version through [http://packages.debian.org deb]s adding the following lines into your ''/etc/apt/sources.list'' file:&lt;br /&gt;
&lt;br /&gt;
 deb http://amule-debian.dyndns.org/ debian/&lt;br /&gt;
&lt;br /&gt;
Now run &amp;lt;code&amp;gt;apt-get update &amp;amp;&amp;amp; apt-get install amule&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Packages in this repository:&lt;br /&gt;
*amule&lt;br /&gt;
*amule-daemon&lt;br /&gt;
*amule-remote-gui&lt;br /&gt;
*amule-gui-utils (alc, wxcas)&lt;br /&gt;
*amule-console-utils (amuleweb, alcc, cas)&lt;br /&gt;
*amule-utils (metapackage for amule-gui-utils and amule-console-utils)&lt;br /&gt;
&lt;br /&gt;
'''NOTES:''' &lt;br /&gt;
* If [[aMule]] exits with error message complaining about being unable to open libbfd-2.15.so this usually means you are NOT running Debian Sarge. Don't start making symlinks or doing other workarounds, they can quite easily bork your whole system.&lt;br /&gt;
&lt;br /&gt;
* http://dude.gemil.de is deprecated. http://amule-debian.dyndns.org is (for now) just a redirect, but this might change in the future (if the repository has to move due to traffic limitations).&lt;br /&gt;
&lt;br /&gt;
=== [[aMule CVS]] release ===&lt;br /&gt;
&lt;br /&gt;
You can also get the latest [[aMule CVS]] through debs adding the following line into your ''/etc/apt/sources.list'' file:&lt;br /&gt;
&lt;br /&gt;
 For Debian Testing (aka Lenny). In most cases this works for sid/unstable, too&lt;br /&gt;
 &lt;br /&gt;
 deb http://www.vollstreckernet.de/debian/ testing amule&lt;br /&gt;
&lt;br /&gt;
 For Debian Stable (aka Etch)&lt;br /&gt;
 &lt;br /&gt;
 deb http://www.vollstreckernet.de/debian/ stable amule&lt;br /&gt;
&lt;br /&gt;
If you need a recent Version of wx (2.8 atm), just append '''&amp;quot; wx&amp;quot;''' to the lines above.&lt;br /&gt;
Be carefull, between amule and wx is a space needed.&lt;br /&gt;
If you only want wx binaries installed, replace amule with wx.&lt;br /&gt;
&lt;br /&gt;
packages are GPG sighned, so follow this steps:&lt;br /&gt;
 ''gpg --keyserver wwwkeys.eu.pgp.net --recv 50D0AE60''&lt;br /&gt;
 ''gpg -a --export 50D0AE60 &amp;gt; /tmp/key''&lt;br /&gt;
 ''apt-key add /tmp/key'' (requires superuser privileges)&lt;br /&gt;
&lt;br /&gt;
Now run ''apt-get update &amp;amp;&amp;amp; apt-get install amule''&lt;br /&gt;
&lt;br /&gt;
You might also want to take a look at the other available [[aMule]] utilities:&lt;br /&gt;
&lt;br /&gt;
'''[[aMule CVS]]'''&lt;br /&gt;
&lt;br /&gt;
* amule&lt;br /&gt;
* amule-alc&lt;br /&gt;
* amule-alcc&lt;br /&gt;
* amule-alcc-dbg&lt;br /&gt;
* amule-alc-dbg&lt;br /&gt;
* amule-cas&lt;br /&gt;
* amule-cas-dbg&lt;br /&gt;
* amule-cmd&lt;br /&gt;
* amule-cmd-dbg&lt;br /&gt;
* amule-common&lt;br /&gt;
* amule-daemon&lt;br /&gt;
* amule-daemon-dbg&lt;br /&gt;
* amule-dbg&lt;br /&gt;
* amule-ed2k&lt;br /&gt;
* amule-ed2k-dbg&lt;br /&gt;
* amule-i18n-ar&lt;br /&gt;
* amule-i18n-bg&lt;br /&gt;
* amule-i18n-ca&lt;br /&gt;
* amule-i18n-da&lt;br /&gt;
* amule-i18n-de&lt;br /&gt;
* amule-i18n-en-gb&lt;br /&gt;
* amule-i18n-en-us&lt;br /&gt;
* amule-i18n-es&lt;br /&gt;
* amule-i18n-es-mx&lt;br /&gt;
* amule-i18n-et-ee&lt;br /&gt;
* amule-i18n-eu&lt;br /&gt;
* amule-i18n-fi&lt;br /&gt;
* amule-i18n-fr&lt;br /&gt;
* amule-i18n-gl&lt;br /&gt;
* amule-i18n-hr&lt;br /&gt;
* amule-i18n-hu&lt;br /&gt;
* amule-i18n-it&lt;br /&gt;
* amule-i18n-it-ch&lt;br /&gt;
* amule-i18n-ko-kr&lt;br /&gt;
* amule-i18n-nl&lt;br /&gt;
* amule-i18n-pl&lt;br /&gt;
* amule-i18n-pt-br&lt;br /&gt;
* amule-i18n-pt-pt&lt;br /&gt;
* amule-i18n-ru&lt;br /&gt;
* amule-i18n-sl&lt;br /&gt;
* amule-i18n-sv&lt;br /&gt;
* amule-i18n-tr&lt;br /&gt;
* amule-i18n-zh-cn&lt;br /&gt;
* amule-i18n-zh-tw&lt;br /&gt;
* amule-remote-gui&lt;br /&gt;
* amule-remote-gui-dbg&lt;br /&gt;
* amule-skin-gnome&lt;br /&gt;
* amule-skin-kde4&lt;br /&gt;
* amule-skin-tango&lt;br /&gt;
* amule-skin-xfce&lt;br /&gt;
* amule-theme-chicane&lt;br /&gt;
* amule-theme-default&lt;br /&gt;
* amule-theme-php-default&lt;br /&gt;
* amule-utils&lt;br /&gt;
* amule-utils-gui&lt;br /&gt;
* amuleweb&lt;br /&gt;
* amuleweb-dbg&lt;br /&gt;
* amule-wxcas&lt;br /&gt;
* amule-wxcas-dbg&lt;br /&gt;
* amule-xas&lt;br /&gt;
&lt;br /&gt;
For example, if you think [[aMule]]'s [[Webserver|Web interface]] rocks and you want to have it too, enter this line after the one above:&lt;br /&gt;
&lt;br /&gt;
For [[aMule CVS]]: ''apt-get install amuleweb''&lt;br /&gt;
&lt;br /&gt;
For [[aMule]] stable: ''apt-get install amule-console-utils''&lt;br /&gt;
&lt;br /&gt;
If you still want to compile [[aMule]] instead of just installing a binary, keep reading...&lt;br /&gt;
&lt;br /&gt;
==Info: What aMule release needs what wxwidgets release?==&lt;br /&gt;
* Debian Etch includes aMule 2.1.3 and wxwidgets 2.6.3&lt;br /&gt;
&lt;br /&gt;
* aMule 2.1 needs wxwidgets 2.6. You cannot compile it with newer versions of wxwidgets.&lt;br /&gt;
* aMule 2.2 needs wxwidgets 2.8. You cannot compile it with older versions of wxwidgets.&lt;br /&gt;
&lt;br /&gt;
==What developement packages do I need for compiling?==&lt;br /&gt;
&lt;br /&gt;
For compiling [[aMule-CVS]] and [[aMule 2.2.0]] you need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
* libglib2.0-dev&lt;br /&gt;
* libgtk2.0-dev&lt;br /&gt;
* zlib1g-dev&lt;br /&gt;
* libwxgtk2.8-dev (if you compile wx by hand, this isn't needed. This package is atm only aviable for debian from Vollstreckers repository)&lt;br /&gt;
* libgd2-xpm-dev&lt;br /&gt;
* bison&lt;br /&gt;
* flex&lt;br /&gt;
* libreadline5-dev&lt;br /&gt;
* libgeoip-dev&lt;br /&gt;
* libupnp-dev&lt;br /&gt;
&lt;br /&gt;
If you want to use the external crypto-librarie you need in addition:&lt;br /&gt;
&lt;br /&gt;
* libcrypto++-dev&lt;br /&gt;
&lt;br /&gt;
==Preparing: Compiling and installing wxwidgets==&lt;br /&gt;
This algorithm works for all Debian flavours.&lt;br /&gt;
&lt;br /&gt;
To compile aMule, You need to have a current version of [[wxWidgets]] installed. To achieve that:&lt;br /&gt;
Uninstall every possibly previously installed wxwidgets stuff (see [[How to uninstall wxWidgets]]&lt;br /&gt;
and [[Check if wx is installed twice]])&lt;br /&gt;
You need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
* flex&lt;br /&gt;
* bison&lt;br /&gt;
* gettext&lt;br /&gt;
* libgtk2.0-dev&lt;br /&gt;
* python-dev (&amp;gt;= 2.4.3)&lt;br /&gt;
* python-dbg&lt;br /&gt;
* zlib1g-dev&lt;br /&gt;
* libjpeg62-dev&lt;br /&gt;
* libpng12-dev&lt;br /&gt;
* libtiff4-dev&lt;br /&gt;
* libgl1-mesa-dev '''or''' libgl-dev&lt;br /&gt;
* libglu1-mesa-dev '''or''' libglu-dev&lt;br /&gt;
* libesd0-dev&lt;br /&gt;
* libgnomeprintui2.2-dev&lt;br /&gt;
* libgconf2-dev&lt;br /&gt;
* libgstreamer0.10-dev&lt;br /&gt;
* libgstreamer-plugins-base0.10-dev&lt;br /&gt;
* python-central&lt;br /&gt;
* bc&lt;br /&gt;
&lt;br /&gt;
# Download current wxwidgets wxGTK stable release source code tar ball from &amp;lt;tt&amp;gt;http://www.wxwidgets.org/downloads/&amp;lt;/tt&amp;gt;&lt;br /&gt;
# &amp;lt;tt&amp;gt;$ tar xvzf wxgtk-''version''.tar.gz&amp;lt;/tt&amp;gt;&lt;br /&gt;
# &amp;lt;tt&amp;gt;$ cd wxGTK-''version''&amp;lt;/tt&amp;gt;&lt;br /&gt;
# &amp;lt;tt&amp;gt;$ ./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise&amp;lt;/tt&amp;gt;&lt;br /&gt;
# &amp;lt;tt&amp;gt;$ make&amp;lt;/tt&amp;gt;&lt;br /&gt;
# &amp;lt;tt&amp;gt;# make install&amp;lt;/tt&amp;gt;&lt;br /&gt;
# &amp;lt;tt&amp;gt;# ldconfig&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
$ = command executed with normal user account&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt; = command executed with root account&lt;br /&gt;
&lt;br /&gt;
==Compiling and installing aMule==&lt;br /&gt;
Now that You have installed current wxGTK, go on to compile aMule:&lt;br /&gt;
# Install the needed packages mentioned in '''&amp;quot;What developement packages do I need for compiling?&amp;quot;'''&lt;br /&gt;
# Download aMule source code tar ball from &amp;lt;tt&amp;gt;http://www.amule.org&amp;lt;/tt&amp;gt; (note: For compiling aMule 2.1.3 you'll need a patch aviable [http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/aMule-wx.patch?rev=1.2 HERE]&lt;br /&gt;
# &amp;lt;tt&amp;gt;$ tar xvjf aMule-''version''.tar.bz2&amp;lt;/tt&amp;gt;&lt;br /&gt;
# &amp;lt;tt&amp;gt;$ cd aMule-''version''&amp;lt;/tt&amp;gt;&lt;br /&gt;
# To have a look what features of aMule You can enable or disable: &amp;lt;tt&amp;gt;$ ./configure --help&amp;lt;/tt&amp;gt;&lt;br /&gt;
# You should be right with &amp;lt;tt&amp;gt;$ ./configure --disable-debug --enable-optimize&amp;lt;/tt&amp;gt;&lt;br /&gt;
# &amp;lt;tt&amp;gt;$ make&amp;lt;/tt&amp;gt;&lt;br /&gt;
# &amp;lt;tt&amp;gt;# make install&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
$ = command executed with normal user account&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt; = command executed with root account&lt;br /&gt;
&lt;br /&gt;
That's it! Now You can start aMule with command &amp;quot;amule&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Building your own debian packages ==&lt;br /&gt;
&lt;br /&gt;
First you have to get a source tarball. Note, that only aMule-CVS and Releases of aMule 2.2.0 or later are able to build debain-packages directly.&lt;br /&gt;
&lt;br /&gt;
First install all needed tools:&lt;br /&gt;
&lt;br /&gt;
* build-essential&lt;br /&gt;
* debhelper&lt;br /&gt;
* libglib2.0-dev&lt;br /&gt;
* libgtk2.0-dev&lt;br /&gt;
* zlib1g-dev&lt;br /&gt;
* libwxgtk2.8-dev&lt;br /&gt;
* libgd2-xpm-dev&lt;br /&gt;
* bison&lt;br /&gt;
* flex&lt;br /&gt;
* libcrypto++-dev&lt;br /&gt;
* libreadline5-dev&lt;br /&gt;
* libgeoip-dev&lt;br /&gt;
* libupnp-dev&lt;br /&gt;
* devscripts&lt;br /&gt;
&lt;br /&gt;
'''All commands after here are entered in the top-dir of the extracted aMule-source-tarball (usually .../amule-cvs or .../aMule-&amp;lt;version&amp;gt;)'''&lt;br /&gt;
&lt;br /&gt;
Create a new changelog Entry with (the version in the changelog indicates the version your packages will get): &lt;br /&gt;
 dch -v `date +%Y%m%d` New Upstream CVS Release&lt;br /&gt;
Now start the packages creation with:&lt;br /&gt;
 dpkg-buildpackage -uc -b -rfakeroot&lt;br /&gt;
Now you have all created debian-packages in the parent dir of you source-dir and can install them with:&lt;br /&gt;
 dpkg -i &amp;lt;package&amp;gt;&lt;br /&gt;
or build your own repository.&lt;br /&gt;
&lt;br /&gt;
If you want to build just a few packages instead of all, you can obtain information about how this works with:&lt;br /&gt;
 debian/rules help&lt;br /&gt;
&lt;br /&gt;
== You're done... ==&lt;br /&gt;
&lt;br /&gt;
That's it! Your own compiled [[aMule]] is installed on your system and ready to go.&lt;br /&gt;
&lt;br /&gt;
To run [[aMule]], just type &amp;lt;code&amp;gt;&amp;quot;amule&amp;quot;&amp;lt;/code&amp;gt;. You can check if everything worked by typing &amp;lt;code&amp;gt;&amp;quot;amule -v&amp;quot;&amp;lt;/code&amp;gt; and check if the displayed version corresponds with the one you were compiling/installing.&lt;br /&gt;
&lt;br /&gt;
If this HowTo didn't help, you have a rare problem on your system ;-) Take a look at http://www.amule.org ([http://www.amule.org/amule aMule Forums] at http://forum.amule.org ) or visit us in #amule on irc.freenode.net and (don't doubt) we'll try to do our best to help you.&lt;br /&gt;
&lt;br /&gt;
== Final notes ==&lt;br /&gt;
&lt;br /&gt;
If you are in one of those rare cases when you wish to compile [[aMule]] statically, install also ''libtiff4-dev'' (through ''apt-get install libtiff4-dev''). Anyway, this is '''NOT''' recommended and, in fact, will probably not do any better or even, not work at all.&lt;/div&gt;</summary>
		<author><name>87.11.235.157</name></author>	</entry>

	</feed>