<?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=219.110.38.92</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=219.110.38.92"/>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/Special:Contributions/219.110.38.92"/>
		<updated>2026-04-06T00:08:47Z</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-05-31T08:05:58Z</updated>
		
		<summary type="html">&lt;p&gt;219.110.38.92: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;center&amp;gt;'''English''' | [[HowTo_Compile_In_Gentoo-es|Español]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Compiling a recent version of [[aMule]] on [http://www.gentoo.org Gentoo] should be a breeze by just typing ''emerge amule''. Unfortunately, it isn't quite that easy right now. So here's a little step by step explanation. Please read the entire document before attempting installation.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' currently Diego &amp;quot;Flameeyes&amp;quot; Pettenò (non-official devel) is trying to make the [[aMule]] emerge easier. Please take a look at [http://bugs.gentoo.org/show_bug.cgi?id=71108 Gentoo Bug #71108] for further information. The new ebuild requires, at minimum, [[wxGTK]] 2.5, but there is another ebuild for [[wxGTK]] 2.5 (also from Diego) which should allow to safely unmask that version.&lt;br /&gt;
&lt;br /&gt;
== Available eBuilds ==&lt;br /&gt;
&lt;br /&gt;
The eBuild for [[aMule]]-2.0.1 can be found here:&lt;br /&gt;
http://bugs.gentoo.org/show_bug.cgi?id=71108&lt;br /&gt;
&lt;br /&gt;
The eBuild for [[aMule CVS]] can be found here: &lt;br /&gt;
http://forum.amule.org/thread.php?sid=&amp;amp;postid=30548&lt;br /&gt;
&lt;br /&gt;
== Stable [[aMule]] from portage ==&lt;br /&gt;
&lt;br /&gt;
If you just ''emerge amule'' you will install the version of [[aMule]] that [http://www.gentoo.org Gentoo] considers stable. This version is amule-1.2.8 which is over 12 months old, lacks several bugfixes and features which could seriously lower your downloads or make it impossible to connect to some servers. So this option is not really a good option.&lt;br /&gt;
&lt;br /&gt;
== Unstable [[aMule]] from portage ==&lt;br /&gt;
&lt;br /&gt;
[http://www.gentoo.org Gentoo] classifies amule-2.0.0-rc releases as unstable because they are Release Candidates. The most current ebuild in Portage is ''net-p2p/amule-2.0.0-rc7.ebuild'' (masked by keyword). &lt;br /&gt;
&lt;br /&gt;
The most current, unofficial ebuild for [http://www.gentoo.org Gentoo] is amule-2.0.1.ebuild. Version 2.0.1 depends on ''&amp;gt;=wxGTK2.5.3'' (masked by keyword) to build the [[aMuled|aMule daemon]]. wxGTK 2.6.0 is suggested.&lt;br /&gt;
&lt;br /&gt;
However, if rc7 is &amp;quot;good enough&amp;quot;, fire up a console window and enter an su environment.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mkdir /etc/portage&amp;lt;br&amp;gt;&lt;br /&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;
Keep in mind that rc7 is getting quite old now, so the best ebuilds to use would be for version 2.0.1 ([http://bugs.gentoo.org/show_bug.cgi?id=71108 Gentoo Bug #71108]) or even the recent CVS ([http://bugs.gentoo.org/show_bug.cgi?id=88243 Gentoo Bug #88243]).&lt;br /&gt;
&lt;br /&gt;
== Recent [[aMule]] manual installation ==&lt;br /&gt;
&lt;br /&gt;
By 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, unpredictable 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;
== [[wxGTK]] 2.5.3 - 2.6.0 ==&lt;br /&gt;
&lt;br /&gt;
If you want to use amuled then you need, at least, ''wxGTK2.5.3''. Currently, the only version not hard masked in Portage is [[wxGTK]] 2.4.2 due to problems when compiling with [http://www.opengl.org OpenGL] support in [[wxGTK]] 2.5.3. 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 (this may give you an error if the directory already exists, just ignore that)&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;
[edit]&amp;lt;br&amp;gt;&lt;br /&gt;
For folks who use wxGTK 2.6.x, following modification on ebuild is required.&amp;lt;br&amp;gt;&lt;br /&gt;
In amule-cvs-2.ebuild:&amp;lt;br&amp;gt;&lt;br /&gt;
    elif use unicode &amp;gt;&amp;amp; /dev/null ; then&lt;br /&gt;
-       export WX_GTK_VER=&amp;quot;2.5&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
+       export WX_GTK_VER=&amp;quot;2.6&amp;quot;&lt;br /&gt;
        need-wxwidgets unicode || die &amp;quot;You need to emerge unicoded wxGTK with USE='gtk2 unicode'&amp;quot;&lt;br /&gt;
    else&lt;br /&gt;
-       export WX_GTK_VER=&amp;quot;2.5&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
+       export WX_GTK_VER=&amp;quot;2.6&amp;quot;&lt;br /&gt;
        need-wxwidgets gtk2 || die &amp;quot;You need to emerge wxGTK with USE='gtk2'&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== [[wxGTK]] 2.4.2 ==&lt;br /&gt;
&lt;br /&gt;
If you don't want to use the [[aMuled|aMule daemon]], ''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 (this may give you an error if the directory already exists, just ignore that)&amp;lt;br&amp;gt;&lt;br /&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;
== Compiling [[aMule]] ==&lt;br /&gt;
&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;
Review &amp;lt;code&amp;gt;./configure --help&amp;lt;/code&amp;gt; (or [[configure|this article]]) 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;
Review 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>219.110.38.92</name></author>	</entry>

	</feed>