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

	<entry>
		<id>http://test.amule.szerverem.hu/wiki/HowTo_Compile_In_Gentoo</id>
		<title>HowTo Compile In Gentoo</title>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/HowTo_Compile_In_Gentoo"/>
				<updated>2005-03-12T22:26:44Z</updated>
		
		<summary type="html">&lt;p&gt;151.44.23.189: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Compiling a recent version of [[aMule]] on [http://www.gentoo.org Gentoo] should be a breeze by just typing &lt;br /&gt;
''emerge -av amule''&lt;br /&gt;
but due to several facts it isn't quite that easy right now. So here's a little Step-by-Step explanation. Please read the whole document before doing anything as there are several ways you can use and each of them will have a different outcome.&lt;br /&gt;
&lt;br /&gt;
Note: currently Diego &amp;quot;Flameeyes&amp;quot; Pettenò (non-official devel) is trying to make aMule merging simpler.&lt;br /&gt;
Please take a look at [http://bugs.gentoo.org/show_bug.cgi?id=71108 Bug #71108] for further information. The new ebuild requires wxGTK 2.5, but there is another ebuild for wxGTK 2.5 (always from Diego) which should allow to safely unmask that version.&lt;br /&gt;
&lt;br /&gt;
== Stable aMule from portage ==&lt;br /&gt;
&lt;br /&gt;
If you just ''emerge amule'' you will most likely get the latest package that is marked as stable in portage. This is amule-1.2.8 which is more than 12 months old, lacks several bugfixes and features which could seriously lower your download or make it impossible to connect to some servers. So that is not really an option.&lt;br /&gt;
&lt;br /&gt;
== Unstable aMule from portage ==&lt;br /&gt;
&lt;br /&gt;
[http://www.gentoo.org Gentoo] classifies amule2.0.0rc ebuilds as unstable because they are ReleaseCandidates. The latest one available is ''amule2.0.0rc7''. There is an (inofficial) ebuild for rc8, but as rc8 depends on ''wxGTK2.5.3'' to build the [[aMuled|aMule daemon]] and ''wxGTK2.5.3'' is hardmasked in portage.&lt;br /&gt;
&lt;br /&gt;
However, if rc7 is &amp;quot;new enough&amp;quot; for you enter the following things as root into a console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mkdir /etc/portage&amp;lt;/code&amp;gt; (this could give an error message if the directory already exists, just ignore that)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;echo 'net-p2p/amule ~x86' &amp;gt;&amp;gt; /etc/portage/package.keywords&amp;lt;br&amp;gt;&lt;br /&gt;
emerge -av amule&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
However rc7 is getting quite old now, so it is the best thing to use either rc8 or even a recent cvs tarball and compile amule manually.&lt;br /&gt;
&lt;br /&gt;
== Recent aMule manual installation ==&lt;br /&gt;
&lt;br /&gt;
Per default [http://www.gentoo.org Gentoo] uses ''gtk2'' in all recent profiles. When it comes to [[wxGTK]] (which is needed by [[aMule]]) this can be some trouble. The recent stable [[wxGTK]] in portage is ''wxGTK2.4.2'' which should never be linked against ''GTK2''. It causes random crashes, freezes, inpredictable behaviour and may even harm your pet dog! &lt;br /&gt;
&lt;br /&gt;
So there are two possible ways to go: choose ''wxGTK2.4.2'' linked against ''GTK1.2'' (which should be fine for everybody who doesn't want to use [[aMuled]], the [[aMuled|aMule daemon]]) or choose ''wxGTK2.5.3'' linked either against ''GTK1.2'' or ''GTK2'' (for those who want to try [[aMuled]] as [[aMuled]] doesn't work with [[wxGTK]] prior to 2.5.3).&lt;br /&gt;
&lt;br /&gt;
Another thing is unicode support: You can't enable unicode support when using ''GTK1.2'' and enabling unicode with ''GTK2'' causes huge memleaks (100MB and more in 24h). So I will just disable it in these examples.&lt;br /&gt;
&lt;br /&gt;
== wxGTK2.4.2 ==&lt;br /&gt;
&lt;br /&gt;
If you don't want to use [[aMuled]] then ''wxGTK2.4.2'' is just fine for. You only need to tell it that it should link against ''GTK1.2''. To do this grab a console and enter (as root):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mkdir /etc/portage&amp;lt;/code&amp;gt; (this may give you an error if the directory already exists, just ignore that)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt; echo 'x11-libs/wxGTK -gtk2 -unicode' &amp;gt;&amp;gt; /etc/portage/package-use&amp;lt;br&amp;gt;&lt;br /&gt;
emerge -av wxGTK&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should (re-)emerge ''wxGTK2.4.2'' linked against ''GTK1.2''. Now you can go on to [[HowTo_Compile_In_Gentoo#compiling_amule|compiling aMule]].&lt;br /&gt;
&lt;br /&gt;
== wxGTK2.5.3 ==&lt;br /&gt;
&lt;br /&gt;
If you want to use amuled then you need at least ''wxGTK2.5.3''. This is currently hardmasked in portage due to problems when compiling with [http://www.opengl.org OpenGL] support. But as [[aMule]] is no 3D egoshooter we can safely disable [http://www.opengl.org OpenGL] support and use it anyway. To do so enter the following into a console as root:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mkdir /etc/portage&amp;lt;/code&amp;gt; (this may give you an error if the directory already exists, just ignore that)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;echo '=x11-libs/wxGTK-2.5*' &amp;gt;&amp;gt; /etc/portage/package.unmask&amp;lt;br&amp;gt;&lt;br /&gt;
echo 'x11-libs/wxGTK ~x86' &amp;gt;&amp;gt; /etc/portage/package.keywords&amp;lt;br&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to use ''GTK1.2'' (recommended):&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;echo 'x11-libs/wxGTK -gtk2 -unicode -opengl' &amp;gt;&amp;gt; /etc/portage/package.use&amp;lt;br&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to use ''GTK2'' (not thoroughly tested yet):&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;echo 'x11-libs/wxGTK -unicode -opengl' &amp;gt;&amp;gt; /etc/portage/package.use&amp;lt;br&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;emerge -av wxGTK&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Compiling [[aMule]] ==&lt;br /&gt;
Grab either ''amule2.0.0rc8'' from http://www.aMule.org or (specially if you want to use [[aMuled]]) a recent [[aMule CVS|CVS tarball]] from http://amule.hirnriss.net. Untar it by entering &amp;lt;code&amp;gt;tar -xvjf aMule-foo.tar.bz2&amp;lt;/code&amp;gt; and go into the newly created directory.&lt;br /&gt;
&lt;br /&gt;
Check &amp;lt;code&amp;gt;./configure --help&amp;lt;/code&amp;gt; for a summary of all configure options. Pick the ones you want and run (as an example building the monolithic client and [[aMuleCMD]])&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;./configure --enable-amulecmd&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check the configure output for errors and if everything seems fine type &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;. Once [[aMule]] is done compiling change to a root account and type &amp;lt;code&amp;gt;make install&amp;lt;/code&amp;gt; to install [[aMule]]. Now you're done and can start enjoying your [[aMule]] experience.&lt;/div&gt;</summary>
		<author><name>151.44.23.189</name></author>	</entry>

	</feed>