<?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=Lonnie</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=Lonnie"/>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/Special:Contributions/Lonnie"/>
		<updated>2026-04-05T18:04:49Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>http://test.amule.szerverem.hu/wiki/HowTo_Compile_In_Ubuntu</id>
		<title>HowTo Compile In Ubuntu</title>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/HowTo_Compile_In_Ubuntu"/>
				<updated>2010-07-10T19:15:00Z</updated>
		
		<summary type="html">&lt;p&gt;Lonnie: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page describes how to compile aMule and its required libraries CryptoPP and wxWidgets on Ubuntu 9.04. We will install everything in our home directory in this example. Make a directory where you want to build and install aMule (we will use &amp;lt;code&amp;gt;/home/me/amule&amp;lt;/code&amp;gt; and I'll call it &amp;lt;code&amp;gt;&amp;quot;amule&amp;quot;&amp;lt;/code&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
= Install packages =&lt;br /&gt;
Use [http://en.wikipedia.org/wiki/Synaptic_Package_Manager Synaptic Package Manager] (if you use [http://en.wikipedia.org/wiki/GNOME GNOME]) or [http://en.wikipedia.org/wiki/KPackageKit KPackageKit]/[http://en.wikipedia.org/wiki/Adept_Manager Adept] (if you use [http://en.wikipedia.org/wiki/KDE KDE]) to install the following packages:&lt;br /&gt;
&lt;br /&gt;
* g++&lt;br /&gt;
* binutils-dev&lt;br /&gt;
* libcrypto++-dev&lt;br /&gt;
* libgtk2.0-dev&lt;br /&gt;
* libgd2-xpm-dev&lt;br /&gt;
* libgeoip-dev&lt;br /&gt;
* libupnp3-dev&lt;br /&gt;
* zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
= Build CryptoPP =&lt;br /&gt;
You shouldn't try to build CryptoPP on Ubuntu from source. The original CryptoPP headers are broken and cause a zillion warnings later building aMule. The Ubuntu developers provide fixed headers so you should use the lib that comes with it. However you should also install the cryptest tool and verify if CryptoPP really runs on your machine:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo apt-get install libcrypto++-utils&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd /usr/share/crypto++&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cryptest v&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you still want to build it, download [http://www.cryptopp.com/cryptopp560.zip CryptoPP 5.6.0]. Unzip it to &amp;lt;code&amp;gt;/home/me/amule/cryptopp&amp;lt;/code&amp;gt; . Run &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;. Then run &amp;lt;code&amp;gt;./cryptest.exe v&amp;lt;/code&amp;gt; to validate it (it must print &amp;lt;code&amp;gt;All tests passed!&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
= Build wxWidgets =&lt;br /&gt;
Make directory &amp;lt;code&amp;gt;amule/wx&amp;lt;/code&amp;gt;. Download [http://www.wxwidgets.org/downloads/ latest stable wxGTK] (2.8.10 writing this). Wx 2.9 is still experimental, if you feel adventurous you can try it (but only with aMule 2.3). &lt;br /&gt;
&lt;br /&gt;
Extract it with &amp;lt;code&amp;gt;tar xzf wxGTK-2.8.10.tar.gz&amp;lt;/code&amp;gt;. Make and cd to wx/build and run&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;../wxGTK-2.8.10/configure --prefix=/home/me/amule/wx --with-gtk --enable-unicode --enable-optimise --disable-shared&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;make install&amp;lt;/code&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
Note: wxGTK 2.8.10 needs a patch for Ubuntu Karmic, see [http://trac.wxwidgets.org/changeset/61009 here].&lt;br /&gt;
&lt;br /&gt;
You can also simply install libwxgtk2.8-dev .&lt;br /&gt;
&lt;br /&gt;
= Build aMule =&lt;br /&gt;
Make dir and download and unpack aMule's source ([http://www.amule.org/files/ Release] or [[AMule_SVN|current SVN]]), then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;./configure --prefix=/home/me/amule/bin --enable-debug --enable-optimize --with-denoise-level=3 --enable-upnp --enable-geoip --enable-nls --enable-amule-gui --enable-amule-daemon --enable-amulecmd --enable-webserver --enable-alcc --enable-alc --enable-cas --enable-wxcas --enable-mmap --with-wx-config=/home/me/amule/wx/bin/wx-config --with-crypto-prefix=/home/me/amule/cryptopp&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Leave out the --with-crypto-prefix when using the Ubuntu CryptoPP. Also leave out the --enable-upnp if you don't need UPnP (that is if you are able to set up port forwarding in your router).&lt;br /&gt;
&lt;br /&gt;
Now just run make and that's it! You can start aMule with command &amp;quot;/home/me/amule/bin/amule&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= Build from repository export =&lt;br /&gt;
If your aMule source doesn't come with a configure script you have a direct export from the development repository. To set up configure you need to run ./autogen.sh first. You need additional packages:&lt;br /&gt;
&lt;br /&gt;
*autoconf&lt;br /&gt;
*cvs&lt;/div&gt;</summary>
		<author><name>Lonnie</name></author>	</entry>

	</feed>