<?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=Manchot</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=Manchot"/>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/Special:Contributions/Manchot"/>
		<updated>2026-04-05T14:32:00Z</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>2008-11-01T15:55:51Z</updated>
		
		<summary type="html">&lt;p&gt;Manchot: /* Installation instructions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;center&amp;gt;&lt;br /&gt;
'''English''' | &lt;br /&gt;
[[HowTo_Compile_In_Gentoo-de|Deutsch]] | &lt;br /&gt;
[[HowTo_Compile_In_Gentoo-es|Español]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
English version updated: 23.12.2007 - Newest Gentoo Version are now 2.1.3 as well that 2 CVS versions.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Gentoo is known for choices. Unfortunately, some choices require more labor than others. As such, [[aMule]] comes in a variety of versions and installation methods based on what version of [[WxWidgets|wxGTK]] you decide to use...&lt;br /&gt;
&lt;br /&gt;
Also, if you plan to build a GUI-less core, you might want to take a look at http://bugs.gentoo.org/show_bug.cgi?id=109515, comment #3 contains a patch for wxGTK-2.6 ebuild that removes the dependency on X.&lt;br /&gt;
&lt;br /&gt;
== Methods of Installation ==&lt;br /&gt;
=== amule-2.1.3.ebuild ===&lt;br /&gt;
This ebuild matches the 2.1.3 stable [[aMule]] release, it is available 13.10.2007 in portage.&lt;br /&gt;
&lt;br /&gt;
Dependencies: &amp;gt;=x11-libs/wxGTK-2.6.*; &amp;gt;=sys-libs/zlib-1.2.1; &amp;gt;=media-libs/libpng-1.2.0 for remote support; &amp;gt;=media-libs/gd-2.0.26 for unicode support.&lt;br /&gt;
&lt;br /&gt;
=== amule and wxGTK-2.8* ===&lt;br /&gt;
It is a few ebuilds for compiling amule against wxGTK-2.8* at that time of writing (1-11-2008): amule-2.1.3-r1.ebuild (the same as above, but for wxGTK-2.8*); amule-2.2.0_pre20080304.ebuild (2.2.0 pre-release); amule-2.2.1.ebuild (stable version of amule);  amule-2.2.2.ebuild (last stable amule release).&lt;br /&gt;
&lt;br /&gt;
They can be marked as stable or unstable depending to your arch.&lt;br /&gt;
&lt;br /&gt;
Dependencies for the 2.2.2 version: &amp;gt;=x11-libs/wxGTK-2.8.*; &amp;gt;=sys-libs/zlib-1.2.1; &amp;gt;=media-libs/crypto°°-5.5.2; unicode? stats? &amp;gt;=media-libs/gd-2.0.26; remote? &amp;gt;=media-libs/libpng-1.2.0; geoip? devs-libs/geoip&amp;lt;br&amp;gt;; upnp? net-libs/libupnp.&lt;br /&gt;
&lt;br /&gt;
== Installation instructions ==&lt;br /&gt;
They must be updated to reflect the actual portage state. Some volunteer?&lt;br /&gt;
=== amule-2.1.3.ebuild ===&lt;br /&gt;
1. Emerge package:&lt;br /&gt;
  emerge --sync&lt;br /&gt;
  emerge amule -pv&lt;br /&gt;
  emerge amule&lt;br /&gt;
&lt;br /&gt;
=== amule CVS (portage) ===&lt;br /&gt;
Portage have 2 CVS ebuilds: amule-2.2.0_pre20070422.ebuild with wXgtk-2.6 support and amule-2.2.0_pre20071204.ebuild with wXgtk-2.8 support. Both are marked as '''unstable''' for all architectures.&lt;br /&gt;
&lt;br /&gt;
====To install amule-2.2.0_pre20070422:====&lt;br /&gt;
1. Add to ''package.keywords'':&lt;br /&gt;
  echo &amp;quot;net-p2p/amule ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
&lt;br /&gt;
2. Review installation flags:&lt;br /&gt;
  emerge amule -pv&lt;br /&gt;
&lt;br /&gt;
3. Modify ''/etc/portage/package.use'' to suit your needs :&lt;br /&gt;
  net-p2p/amule -amuled -debug gtk nls -remote -stats unicode&lt;br /&gt;
&lt;br /&gt;
This would install amule without deamon and remote support.&lt;br /&gt;
To activate deamons and remote options, leave out the '-' like this:&lt;br /&gt;
&lt;br /&gt;
  net-p2p/amule amuled -debug gtk nls remote -stats unicode&lt;br /&gt;
&lt;br /&gt;
As aMule needs unicode support or it won't compile, you might also want to add a line to enable unicode in x11-libs/wxGTK&lt;br /&gt;
  x11-libs/wxGTK unicode&lt;br /&gt;
&lt;br /&gt;
Personally, I have the unicode USE flag in /etc/make.conf so that any program that support unicode will be compiled with unicode support. &lt;br /&gt;
&lt;br /&gt;
4. Install [[aMule]]:&lt;br /&gt;
  emerge amule&lt;br /&gt;
&lt;br /&gt;
====To install amule-2.2.0_pre-20071204,====&lt;br /&gt;
we need to unmask wXgtk-2.8. Process like for amule-2.2.0_pre20070422, but with this supplementary step:&lt;br /&gt;
&lt;br /&gt;
1. Unmask amule-2.2.0_pre-20071204 and wXgtk-2.8&lt;br /&gt;
  echo &amp;quot;=net-p2p/amule-2.2.0_pre20071204&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.unmask&lt;br /&gt;
  echo &amp;quot;=x11-libs/wxGTK-2.8.7.1&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.unmask&lt;br /&gt;
&lt;br /&gt;
=== amule CVS (latest one) ===&lt;br /&gt;
It is no ebuild for the current [[aMule CVS]] so we need to add one in portage. For that, we will make use of a personal portage overlay. If you don't already have one, just follow this HOWTO article: [http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds HOWTO Installing 3rd Party Ebuilds]&lt;br /&gt;
&lt;br /&gt;
We will also follow the naming scheme of portage. CVS ebuild from a CVS tarball are not named as '''package_name-cvs''' but as '''package_name-version_date_of_the_tarball'''. That is to distinguish them from real CVS ebuilds (the so called live ebuilds) named as '''package_name-9999''' and using keywords=&amp;quot;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
1. Define ''PORTDIR_OVERLAY''. Open up ''/etc/make.conf'' with your favourite text editor and define the ''PORTDIR_OVERLAY'' variable. We will use:&lt;br /&gt;
  PORTDIR_OVERLAY=&amp;quot;/usr/local/portage&amp;quot;&lt;br /&gt;
&lt;br /&gt;
2. Create overlay for amule-cvs:&lt;br /&gt;
  mkdir -p /usr/local/net-p2p/amule&lt;br /&gt;
&lt;br /&gt;
3. Add to ''package.keywords'':&lt;br /&gt;
  echo &amp;quot;net-p2p/amule ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
&lt;br /&gt;
4. Copy the following ebuild into ''{PORTDIR_OVERLAY}/net-p2p/amule/amule-2.2.0_p20071217.ebuild''&lt;br /&gt;
&lt;br /&gt;
I use here the tarball from 17 December 2007 that was working fine for me, but you can change the date like you want. I use '''p''' in order to distinguish this ebuild from the ones in portage (using '''pre'''). &lt;br /&gt;
&lt;br /&gt;
 # Copyright 1999-2007 Gentoo Foundation&lt;br /&gt;
 # Distributed under the terms of the GNU General Public License v2&lt;br /&gt;
 # $Header: $&lt;br /&gt;
 &lt;br /&gt;
 inherit eutils flag-o-matic wxwidgets&lt;br /&gt;
 &lt;br /&gt;
 MY_PN=${PN/m/M}&lt;br /&gt;
 MY_PV=&amp;quot;${PV/2.2.0_p/}&amp;quot;&lt;br /&gt;
 S=&amp;quot;${WORKDIR}/amule-cvs&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 DESCRIPTION=&amp;quot;aMule, the all-platform eMule p2p client&amp;quot;&lt;br /&gt;
 HOMEPAGE=&amp;quot;http://www.amule.org/&amp;quot;&lt;br /&gt;
 SRC_URI=&amp;quot;http://www.hirnriss.net/files/cvs/${MY_PN}-CVS-${MY_PV}.tar.bz2&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 RESTRICT=&amp;quot;nomirror&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 LICENSE=&amp;quot;GPL-2&amp;quot;&lt;br /&gt;
 SLOT=&amp;quot;0&amp;quot;&lt;br /&gt;
 KEYWORDS=&amp;quot;~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86&amp;quot;&lt;br /&gt;
 IUSE=&amp;quot;amuled debug geoip gtk nls remote stats unicode&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 DEPEND=&amp;quot;=x11-libs/wxGTK-2.8*&lt;br /&gt;
 		&amp;gt;=sys-libs/zlib-1.2.1&lt;br /&gt;
 		stats? ( &amp;gt;=media-libs/gd-2.0.26 )&lt;br /&gt;
 		geoip? ( dev-libs/geoip )&lt;br /&gt;
 		remote? ( &amp;gt;=media-libs/libpng-1.2.0&lt;br /&gt;
 		unicode? ( &amp;gt;=media-libs/gd-2.0.26 ) )&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 pkg_setup() {&lt;br /&gt;
 		if ! use gtk &amp;amp;&amp;amp; ! use remote &amp;amp;&amp;amp; ! use amuled; then&lt;br /&gt;
 				eerror &amp;quot;&amp;quot;&lt;br /&gt;
 				eerror &amp;quot;You have to specify at least one of gtk, remote or amuled&amp;quot;&lt;br /&gt;
 				eerror &amp;quot;USE flag to build amule.&amp;quot;&lt;br /&gt;
 				eerror &amp;quot;&amp;quot;&lt;br /&gt;
 				die &amp;quot;Invalid USE flag set&amp;quot;&lt;br /&gt;
 		fi&lt;br /&gt;
 &lt;br /&gt;
 		if use stats &amp;amp;&amp;amp; ! use gtk; then&lt;br /&gt;
 				einfo &amp;quot;Note: You would need both the gtk and stats USE flags&amp;quot;&lt;br /&gt;
 				einfo &amp;quot;to compile aMule Statistics GUI.&amp;quot;&lt;br /&gt;
 				einfo &amp;quot;I will now compile console versions only.&amp;quot;&lt;br /&gt;
 		fi&lt;br /&gt;
 &lt;br /&gt;
 		if use stats &amp;amp;&amp;amp; ! built_with_use media-libs/gd jpeg; then&lt;br /&gt;
 				die &amp;quot;media-libs/gd should be compiled with the jpeg use flag when you have the stats use   flag set&amp;quot;&lt;br /&gt;
 		fi&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 pkg_preinst() {&lt;br /&gt;
 	if use amuled || use remote; then&lt;br /&gt;
 		enewgroup p2p&lt;br /&gt;
 		enewuser p2p -1 -1 /home/p2p p2p&lt;br /&gt;
 	fi&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 src_compile() {&lt;br /&gt;
 		local myconf&lt;br /&gt;
 &lt;br /&gt;
 		WX_GTK_VER=&amp;quot;2.8&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 		if use gtk; then&lt;br /&gt;
 				einfo &amp;quot;wxGTK with gtk support will be used&amp;quot;&lt;br /&gt;
 				need-wxwidgets unicode&lt;br /&gt;
 		else&lt;br /&gt;
 				einfo &amp;quot;wxGTK without X support will be used&amp;quot;&lt;br /&gt;
 				need-wxwidgets base&lt;br /&gt;
 		fi&lt;br /&gt;
 &lt;br /&gt;
 		if use gtk ; then&lt;br /&gt;
 				use stats &amp;amp;&amp;amp; myconf=&amp;quot;${myconf}&lt;br /&gt;
 					--enable-wxcas&lt;br /&gt;
 					--enable-alc&amp;quot;&lt;br /&gt;
 				use remote &amp;amp;&amp;amp; myconf=&amp;quot;${myconf}&lt;br /&gt;
 					--enable-amule-gui&amp;quot;&lt;br /&gt;
 		else&lt;br /&gt;
 				myconf=&amp;quot;&lt;br /&gt;
 					--disable-monolithic&lt;br /&gt;
 					--disable-amule-gui&lt;br /&gt;
 					--disable-wxcas&lt;br /&gt;
 					--disable-alc&amp;quot;&lt;br /&gt;
 		fi&lt;br /&gt;
 &lt;br /&gt;
 		econf \&lt;br /&gt;
 				--with-wx-config=${WX_CONFIG} \&lt;br /&gt;
 				--with-wxbase-config=${WX_CONFIG} \&lt;br /&gt;
 				--enable-amulecmd \&lt;br /&gt;
 				$(use_enable debug) \&lt;br /&gt;
 				$(use_enable !debug optimize) \&lt;br /&gt;
 				$(use_enable amuled amule-daemon) \&lt;br /&gt;
 				$(use_enable geoip) \&lt;br /&gt;
 				$(use_enable nls) \&lt;br /&gt;
 				$(use_enable remote webserver) \&lt;br /&gt;
 				$(use_enable stats cas) \&lt;br /&gt;
 				$(use_enable stats alcc) \&lt;br /&gt;
 				${myconf} || die&lt;br /&gt;
 &lt;br /&gt;
 		# we filter ssp until bug #74457 is closed to build on hardened&lt;br /&gt;
 		filter-flags -fstack-protector -fstack-protector-all&lt;br /&gt;
 &lt;br /&gt;
 		emake -j1 || die&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 src_install() {&lt;br /&gt;
 		emake DESTDIR=&amp;quot;${D}&amp;quot; install || die&lt;br /&gt;
 &lt;br /&gt;
 		if use amuled; then&lt;br /&gt;
 				newconfd &amp;quot;${FILESDIR}&amp;quot;/amuled.confd amuled&lt;br /&gt;
 				newinitd &amp;quot;${FILESDIR}&amp;quot;/amuled.initd amuled&lt;br /&gt;
 		fi&lt;br /&gt;
 &lt;br /&gt;
 		if use remote; then&lt;br /&gt;
 				newconfd &amp;quot;${FILESDIR}&amp;quot;/amuleweb.confd amuleweb&lt;br /&gt;
 				newinitd &amp;quot;${FILESDIR}&amp;quot;/amuleweb.initd amuleweb&lt;br /&gt;
 		fi&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
5. Change directory:&lt;br /&gt;
  cd /usr/local/portage/net-p2p/amule/&lt;br /&gt;
&lt;br /&gt;
6. Digest the ebuild:&lt;br /&gt;
  ebuild amule-2.2.0_p10071217.ebuild digest&lt;br /&gt;
&lt;br /&gt;
7. Review installation flags:&lt;br /&gt;
  emerge amule -pv&lt;br /&gt;
&lt;br /&gt;
8. Modify ''/etc/portage/package.use'' to suit your needs (please note that ''debug'' is enabled regardless of ''USE'' flag):&lt;br /&gt;
  net-p2p/amule -amuled -debug geoip gtk nls -remote -stats unicode&lt;br /&gt;
&lt;br /&gt;
This would install amule without deamon and remote support.&lt;br /&gt;
To activate deamons and remote options, leave out the '-' like this:&lt;br /&gt;
&lt;br /&gt;
  net-p2p/amule amuled -debug geoip gtk nls remote -stats unicode&lt;br /&gt;
&lt;br /&gt;
As aMule needs unicode support or it won't compile, you might also want to add a line to enable unicode in x11-libs/wxGTK&lt;br /&gt;
  x11-libs/wxGTK unicode&lt;br /&gt;
&lt;br /&gt;
9. Install [[aMule CVS]]:&lt;br /&gt;
  emerge amule&lt;br /&gt;
&lt;br /&gt;
'''PLEASE''' do ''emerge amule -pv'' before installing to determine how you want to compile [[aMule]].&lt;br /&gt;
&lt;br /&gt;
== aMule 2.1.1 Compilation FAQ ==&lt;br /&gt;
When compiling aMule-2.1.1 on a hardened system with gcc-3.4.5(at least), it will fail with something like:&lt;br /&gt;
 WebServer.h: In member function `T* UpdatableItemsContainer&amp;lt;T, G, I&amp;gt;::GetByID(I) [with T = SharedFile, G = CEC_SharedFile_Tag, I = CMD4Hash]':&lt;br /&gt;
 WebServer.h:270: internal compiler error: in sweep_string_variable, at protector.c:1158&lt;br /&gt;
&lt;br /&gt;
The possible problem is the -fPIE CFLAG because using `gcc-config` to select ''i386-pc-linux-gnu-3.4.5-hardenednopiessp'' fixed the problem, and you can even remove from the ebuild:&lt;br /&gt;
 if has_hardened; then&lt;br /&gt;
     filter-flags -fstack-protector -fstack-protector-all&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
You can read more on the subject following the link http://bugs.gentoo.org/show_bug.cgi?id=74457&lt;/div&gt;</summary>
		<author><name>Manchot</name></author>	</entry>

	<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>2008-11-01T15:53:26Z</updated>
		
		<summary type="html">&lt;p&gt;Manchot: /* amule-cvs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;center&amp;gt;&lt;br /&gt;
'''English''' | &lt;br /&gt;
[[HowTo_Compile_In_Gentoo-de|Deutsch]] | &lt;br /&gt;
[[HowTo_Compile_In_Gentoo-es|Español]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
English version updated: 23.12.2007 - Newest Gentoo Version are now 2.1.3 as well that 2 CVS versions.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Gentoo is known for choices. Unfortunately, some choices require more labor than others. As such, [[aMule]] comes in a variety of versions and installation methods based on what version of [[WxWidgets|wxGTK]] you decide to use...&lt;br /&gt;
&lt;br /&gt;
Also, if you plan to build a GUI-less core, you might want to take a look at http://bugs.gentoo.org/show_bug.cgi?id=109515, comment #3 contains a patch for wxGTK-2.6 ebuild that removes the dependency on X.&lt;br /&gt;
&lt;br /&gt;
== Methods of Installation ==&lt;br /&gt;
=== amule-2.1.3.ebuild ===&lt;br /&gt;
This ebuild matches the 2.1.3 stable [[aMule]] release, it is available 13.10.2007 in portage.&lt;br /&gt;
&lt;br /&gt;
Dependencies: &amp;gt;=x11-libs/wxGTK-2.6.*; &amp;gt;=sys-libs/zlib-1.2.1; &amp;gt;=media-libs/libpng-1.2.0 for remote support; &amp;gt;=media-libs/gd-2.0.26 for unicode support.&lt;br /&gt;
&lt;br /&gt;
=== amule and wxGTK-2.8* ===&lt;br /&gt;
It is a few ebuilds for compiling amule against wxGTK-2.8* at that time of writing (1-11-2008): amule-2.1.3-r1.ebuild (the same as above, but for wxGTK-2.8*); amule-2.2.0_pre20080304.ebuild (2.2.0 pre-release); amule-2.2.1.ebuild (stable version of amule);  amule-2.2.2.ebuild (last stable amule release).&lt;br /&gt;
&lt;br /&gt;
They can be marked as stable or unstable depending to your arch.&lt;br /&gt;
&lt;br /&gt;
Dependencies for the 2.2.2 version: &amp;gt;=x11-libs/wxGTK-2.8.*; &amp;gt;=sys-libs/zlib-1.2.1; &amp;gt;=media-libs/crypto°°-5.5.2; unicode? stats? &amp;gt;=media-libs/gd-2.0.26; remote? &amp;gt;=media-libs/libpng-1.2.0; geoip? devs-libs/geoip&amp;lt;br&amp;gt;; upnp? net-libs/libupnp.&lt;br /&gt;
&lt;br /&gt;
== Installation instructions ==&lt;br /&gt;
=== amule-2.1.3.ebuild ===&lt;br /&gt;
1. Emerge package:&lt;br /&gt;
  emerge --sync&lt;br /&gt;
  emerge amule -pv&lt;br /&gt;
  emerge amule&lt;br /&gt;
&lt;br /&gt;
=== amule CVS (portage) ===&lt;br /&gt;
Portage have 2 CVS ebuilds: amule-2.2.0_pre20070422.ebuild with wXgtk-2.6 support and amule-2.2.0_pre20071204.ebuild with wXgtk-2.8 support. Both are marked as '''unstable''' for all architectures.&lt;br /&gt;
&lt;br /&gt;
====To install amule-2.2.0_pre20070422:====&lt;br /&gt;
1. Add to ''package.keywords'':&lt;br /&gt;
  echo &amp;quot;net-p2p/amule ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
&lt;br /&gt;
2. Review installation flags:&lt;br /&gt;
  emerge amule -pv&lt;br /&gt;
&lt;br /&gt;
3. Modify ''/etc/portage/package.use'' to suit your needs :&lt;br /&gt;
  net-p2p/amule -amuled -debug gtk nls -remote -stats unicode&lt;br /&gt;
&lt;br /&gt;
This would install amule without deamon and remote support.&lt;br /&gt;
To activate deamons and remote options, leave out the '-' like this:&lt;br /&gt;
&lt;br /&gt;
  net-p2p/amule amuled -debug gtk nls remote -stats unicode&lt;br /&gt;
&lt;br /&gt;
As aMule needs unicode support or it won't compile, you might also want to add a line to enable unicode in x11-libs/wxGTK&lt;br /&gt;
  x11-libs/wxGTK unicode&lt;br /&gt;
&lt;br /&gt;
Personally, I have the unicode USE flag in /etc/make.conf so that any program that support unicode will be compiled with unicode support. &lt;br /&gt;
&lt;br /&gt;
4. Install [[aMule]]:&lt;br /&gt;
  emerge amule&lt;br /&gt;
&lt;br /&gt;
====To install amule-2.2.0_pre-20071204,====&lt;br /&gt;
we need to unmask wXgtk-2.8. Process like for amule-2.2.0_pre20070422, but with this supplementary step:&lt;br /&gt;
&lt;br /&gt;
1. Unmask amule-2.2.0_pre-20071204 and wXgtk-2.8&lt;br /&gt;
  echo &amp;quot;=net-p2p/amule-2.2.0_pre20071204&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.unmask&lt;br /&gt;
  echo &amp;quot;=x11-libs/wxGTK-2.8.7.1&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.unmask&lt;br /&gt;
&lt;br /&gt;
=== amule CVS (latest one) ===&lt;br /&gt;
It is no ebuild for the current [[aMule CVS]] so we need to add one in portage. For that, we will make use of a personal portage overlay. If you don't already have one, just follow this HOWTO article: [http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds HOWTO Installing 3rd Party Ebuilds]&lt;br /&gt;
&lt;br /&gt;
We will also follow the naming scheme of portage. CVS ebuild from a CVS tarball are not named as '''package_name-cvs''' but as '''package_name-version_date_of_the_tarball'''. That is to distinguish them from real CVS ebuilds (the so called live ebuilds) named as '''package_name-9999''' and using keywords=&amp;quot;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
1. Define ''PORTDIR_OVERLAY''. Open up ''/etc/make.conf'' with your favourite text editor and define the ''PORTDIR_OVERLAY'' variable. We will use:&lt;br /&gt;
  PORTDIR_OVERLAY=&amp;quot;/usr/local/portage&amp;quot;&lt;br /&gt;
&lt;br /&gt;
2. Create overlay for amule-cvs:&lt;br /&gt;
  mkdir -p /usr/local/net-p2p/amule&lt;br /&gt;
&lt;br /&gt;
3. Add to ''package.keywords'':&lt;br /&gt;
  echo &amp;quot;net-p2p/amule ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
&lt;br /&gt;
4. Copy the following ebuild into ''{PORTDIR_OVERLAY}/net-p2p/amule/amule-2.2.0_p20071217.ebuild''&lt;br /&gt;
&lt;br /&gt;
I use here the tarball from 17 December 2007 that was working fine for me, but you can change the date like you want. I use '''p''' in order to distinguish this ebuild from the ones in portage (using '''pre'''). &lt;br /&gt;
&lt;br /&gt;
 # Copyright 1999-2007 Gentoo Foundation&lt;br /&gt;
 # Distributed under the terms of the GNU General Public License v2&lt;br /&gt;
 # $Header: $&lt;br /&gt;
 &lt;br /&gt;
 inherit eutils flag-o-matic wxwidgets&lt;br /&gt;
 &lt;br /&gt;
 MY_PN=${PN/m/M}&lt;br /&gt;
 MY_PV=&amp;quot;${PV/2.2.0_p/}&amp;quot;&lt;br /&gt;
 S=&amp;quot;${WORKDIR}/amule-cvs&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 DESCRIPTION=&amp;quot;aMule, the all-platform eMule p2p client&amp;quot;&lt;br /&gt;
 HOMEPAGE=&amp;quot;http://www.amule.org/&amp;quot;&lt;br /&gt;
 SRC_URI=&amp;quot;http://www.hirnriss.net/files/cvs/${MY_PN}-CVS-${MY_PV}.tar.bz2&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 RESTRICT=&amp;quot;nomirror&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 LICENSE=&amp;quot;GPL-2&amp;quot;&lt;br /&gt;
 SLOT=&amp;quot;0&amp;quot;&lt;br /&gt;
 KEYWORDS=&amp;quot;~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86&amp;quot;&lt;br /&gt;
 IUSE=&amp;quot;amuled debug geoip gtk nls remote stats unicode&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 DEPEND=&amp;quot;=x11-libs/wxGTK-2.8*&lt;br /&gt;
 		&amp;gt;=sys-libs/zlib-1.2.1&lt;br /&gt;
 		stats? ( &amp;gt;=media-libs/gd-2.0.26 )&lt;br /&gt;
 		geoip? ( dev-libs/geoip )&lt;br /&gt;
 		remote? ( &amp;gt;=media-libs/libpng-1.2.0&lt;br /&gt;
 		unicode? ( &amp;gt;=media-libs/gd-2.0.26 ) )&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 pkg_setup() {&lt;br /&gt;
 		if ! use gtk &amp;amp;&amp;amp; ! use remote &amp;amp;&amp;amp; ! use amuled; then&lt;br /&gt;
 				eerror &amp;quot;&amp;quot;&lt;br /&gt;
 				eerror &amp;quot;You have to specify at least one of gtk, remote or amuled&amp;quot;&lt;br /&gt;
 				eerror &amp;quot;USE flag to build amule.&amp;quot;&lt;br /&gt;
 				eerror &amp;quot;&amp;quot;&lt;br /&gt;
 				die &amp;quot;Invalid USE flag set&amp;quot;&lt;br /&gt;
 		fi&lt;br /&gt;
 &lt;br /&gt;
 		if use stats &amp;amp;&amp;amp; ! use gtk; then&lt;br /&gt;
 				einfo &amp;quot;Note: You would need both the gtk and stats USE flags&amp;quot;&lt;br /&gt;
 				einfo &amp;quot;to compile aMule Statistics GUI.&amp;quot;&lt;br /&gt;
 				einfo &amp;quot;I will now compile console versions only.&amp;quot;&lt;br /&gt;
 		fi&lt;br /&gt;
 &lt;br /&gt;
 		if use stats &amp;amp;&amp;amp; ! built_with_use media-libs/gd jpeg; then&lt;br /&gt;
 				die &amp;quot;media-libs/gd should be compiled with the jpeg use flag when you have the stats use   flag set&amp;quot;&lt;br /&gt;
 		fi&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 pkg_preinst() {&lt;br /&gt;
 	if use amuled || use remote; then&lt;br /&gt;
 		enewgroup p2p&lt;br /&gt;
 		enewuser p2p -1 -1 /home/p2p p2p&lt;br /&gt;
 	fi&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 src_compile() {&lt;br /&gt;
 		local myconf&lt;br /&gt;
 &lt;br /&gt;
 		WX_GTK_VER=&amp;quot;2.8&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 		if use gtk; then&lt;br /&gt;
 				einfo &amp;quot;wxGTK with gtk support will be used&amp;quot;&lt;br /&gt;
 				need-wxwidgets unicode&lt;br /&gt;
 		else&lt;br /&gt;
 				einfo &amp;quot;wxGTK without X support will be used&amp;quot;&lt;br /&gt;
 				need-wxwidgets base&lt;br /&gt;
 		fi&lt;br /&gt;
 &lt;br /&gt;
 		if use gtk ; then&lt;br /&gt;
 				use stats &amp;amp;&amp;amp; myconf=&amp;quot;${myconf}&lt;br /&gt;
 					--enable-wxcas&lt;br /&gt;
 					--enable-alc&amp;quot;&lt;br /&gt;
 				use remote &amp;amp;&amp;amp; myconf=&amp;quot;${myconf}&lt;br /&gt;
 					--enable-amule-gui&amp;quot;&lt;br /&gt;
 		else&lt;br /&gt;
 				myconf=&amp;quot;&lt;br /&gt;
 					--disable-monolithic&lt;br /&gt;
 					--disable-amule-gui&lt;br /&gt;
 					--disable-wxcas&lt;br /&gt;
 					--disable-alc&amp;quot;&lt;br /&gt;
 		fi&lt;br /&gt;
 &lt;br /&gt;
 		econf \&lt;br /&gt;
 				--with-wx-config=${WX_CONFIG} \&lt;br /&gt;
 				--with-wxbase-config=${WX_CONFIG} \&lt;br /&gt;
 				--enable-amulecmd \&lt;br /&gt;
 				$(use_enable debug) \&lt;br /&gt;
 				$(use_enable !debug optimize) \&lt;br /&gt;
 				$(use_enable amuled amule-daemon) \&lt;br /&gt;
 				$(use_enable geoip) \&lt;br /&gt;
 				$(use_enable nls) \&lt;br /&gt;
 				$(use_enable remote webserver) \&lt;br /&gt;
 				$(use_enable stats cas) \&lt;br /&gt;
 				$(use_enable stats alcc) \&lt;br /&gt;
 				${myconf} || die&lt;br /&gt;
 &lt;br /&gt;
 		# we filter ssp until bug #74457 is closed to build on hardened&lt;br /&gt;
 		filter-flags -fstack-protector -fstack-protector-all&lt;br /&gt;
 &lt;br /&gt;
 		emake -j1 || die&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 src_install() {&lt;br /&gt;
 		emake DESTDIR=&amp;quot;${D}&amp;quot; install || die&lt;br /&gt;
 &lt;br /&gt;
 		if use amuled; then&lt;br /&gt;
 				newconfd &amp;quot;${FILESDIR}&amp;quot;/amuled.confd amuled&lt;br /&gt;
 				newinitd &amp;quot;${FILESDIR}&amp;quot;/amuled.initd amuled&lt;br /&gt;
 		fi&lt;br /&gt;
 &lt;br /&gt;
 		if use remote; then&lt;br /&gt;
 				newconfd &amp;quot;${FILESDIR}&amp;quot;/amuleweb.confd amuleweb&lt;br /&gt;
 				newinitd &amp;quot;${FILESDIR}&amp;quot;/amuleweb.initd amuleweb&lt;br /&gt;
 		fi&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
5. Change directory:&lt;br /&gt;
  cd /usr/local/portage/net-p2p/amule/&lt;br /&gt;
&lt;br /&gt;
6. Digest the ebuild:&lt;br /&gt;
  ebuild amule-2.2.0_p10071217.ebuild digest&lt;br /&gt;
&lt;br /&gt;
7. Review installation flags:&lt;br /&gt;
  emerge amule -pv&lt;br /&gt;
&lt;br /&gt;
8. Modify ''/etc/portage/package.use'' to suit your needs (please note that ''debug'' is enabled regardless of ''USE'' flag):&lt;br /&gt;
  net-p2p/amule -amuled -debug geoip gtk nls -remote -stats unicode&lt;br /&gt;
&lt;br /&gt;
This would install amule without deamon and remote support.&lt;br /&gt;
To activate deamons and remote options, leave out the '-' like this:&lt;br /&gt;
&lt;br /&gt;
  net-p2p/amule amuled -debug geoip gtk nls remote -stats unicode&lt;br /&gt;
&lt;br /&gt;
As aMule needs unicode support or it won't compile, you might also want to add a line to enable unicode in x11-libs/wxGTK&lt;br /&gt;
  x11-libs/wxGTK unicode&lt;br /&gt;
&lt;br /&gt;
9. Install [[aMule CVS]]:&lt;br /&gt;
  emerge amule&lt;br /&gt;
&lt;br /&gt;
'''PLEASE''' do ''emerge amule -pv'' before installing to determine how you want to compile [[aMule]].&lt;br /&gt;
&lt;br /&gt;
== aMule 2.1.1 Compilation FAQ ==&lt;br /&gt;
When compiling aMule-2.1.1 on a hardened system with gcc-3.4.5(at least), it will fail with something like:&lt;br /&gt;
 WebServer.h: In member function `T* UpdatableItemsContainer&amp;lt;T, G, I&amp;gt;::GetByID(I) [with T = SharedFile, G = CEC_SharedFile_Tag, I = CMD4Hash]':&lt;br /&gt;
 WebServer.h:270: internal compiler error: in sweep_string_variable, at protector.c:1158&lt;br /&gt;
&lt;br /&gt;
The possible problem is the -fPIE CFLAG because using `gcc-config` to select ''i386-pc-linux-gnu-3.4.5-hardenednopiessp'' fixed the problem, and you can even remove from the ebuild:&lt;br /&gt;
 if has_hardened; then&lt;br /&gt;
     filter-flags -fstack-protector -fstack-protector-all&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
You can read more on the subject following the link http://bugs.gentoo.org/show_bug.cgi?id=74457&lt;/div&gt;</summary>
		<author><name>Manchot</name></author>	</entry>

	<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>2008-11-01T15:43:21Z</updated>
		
		<summary type="html">&lt;p&gt;Manchot: /* amule-2.1.3.ebuild */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;center&amp;gt;&lt;br /&gt;
'''English''' | &lt;br /&gt;
[[HowTo_Compile_In_Gentoo-de|Deutsch]] | &lt;br /&gt;
[[HowTo_Compile_In_Gentoo-es|Español]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
English version updated: 23.12.2007 - Newest Gentoo Version are now 2.1.3 as well that 2 CVS versions.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Gentoo is known for choices. Unfortunately, some choices require more labor than others. As such, [[aMule]] comes in a variety of versions and installation methods based on what version of [[WxWidgets|wxGTK]] you decide to use...&lt;br /&gt;
&lt;br /&gt;
Also, if you plan to build a GUI-less core, you might want to take a look at http://bugs.gentoo.org/show_bug.cgi?id=109515, comment #3 contains a patch for wxGTK-2.6 ebuild that removes the dependency on X.&lt;br /&gt;
&lt;br /&gt;
== Methods of Installation ==&lt;br /&gt;
=== amule-2.1.3.ebuild ===&lt;br /&gt;
This ebuild matches the 2.1.3 stable [[aMule]] release, it is available 13.10.2007 in portage.&lt;br /&gt;
&lt;br /&gt;
Dependencies: &amp;gt;=x11-libs/wxGTK-2.6.*; &amp;gt;=sys-libs/zlib-1.2.1; &amp;gt;=media-libs/libpng-1.2.0 for remote support; &amp;gt;=media-libs/gd-2.0.26 for unicode support.&lt;br /&gt;
&lt;br /&gt;
=== amule-cvs ===&lt;br /&gt;
This ebuild is marked as '''unstable''' for all architectures.&lt;br /&gt;
&lt;br /&gt;
Not intended for the general public. If you'd like to test out the daily development snapshot, then this is the version for you.&lt;br /&gt;
&lt;br /&gt;
Dependencies: &amp;gt;=x11-libs/wxGTK-2.6.* or 2.8.*; &amp;gt;=sys-libs/zlib-1.2.1; &amp;gt;=media-libs/gd-2.0.26; &amp;gt;=media-libs/libpng-1.2.0; devs-libs/geoip&amp;lt;br&amp;gt;&lt;br /&gt;
Status: In development; 2 versions in portage; the latest tarball need a personal portage overlay&lt;br /&gt;
&lt;br /&gt;
== Installation instructions ==&lt;br /&gt;
=== amule-2.1.3.ebuild ===&lt;br /&gt;
1. Emerge package:&lt;br /&gt;
  emerge --sync&lt;br /&gt;
  emerge amule -pv&lt;br /&gt;
  emerge amule&lt;br /&gt;
&lt;br /&gt;
=== amule CVS (portage) ===&lt;br /&gt;
Portage have 2 CVS ebuilds: amule-2.2.0_pre20070422.ebuild with wXgtk-2.6 support and amule-2.2.0_pre20071204.ebuild with wXgtk-2.8 support. Both are marked as '''unstable''' for all architectures.&lt;br /&gt;
&lt;br /&gt;
====To install amule-2.2.0_pre20070422:====&lt;br /&gt;
1. Add to ''package.keywords'':&lt;br /&gt;
  echo &amp;quot;net-p2p/amule ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
&lt;br /&gt;
2. Review installation flags:&lt;br /&gt;
  emerge amule -pv&lt;br /&gt;
&lt;br /&gt;
3. Modify ''/etc/portage/package.use'' to suit your needs :&lt;br /&gt;
  net-p2p/amule -amuled -debug gtk nls -remote -stats unicode&lt;br /&gt;
&lt;br /&gt;
This would install amule without deamon and remote support.&lt;br /&gt;
To activate deamons and remote options, leave out the '-' like this:&lt;br /&gt;
&lt;br /&gt;
  net-p2p/amule amuled -debug gtk nls remote -stats unicode&lt;br /&gt;
&lt;br /&gt;
As aMule needs unicode support or it won't compile, you might also want to add a line to enable unicode in x11-libs/wxGTK&lt;br /&gt;
  x11-libs/wxGTK unicode&lt;br /&gt;
&lt;br /&gt;
Personally, I have the unicode USE flag in /etc/make.conf so that any program that support unicode will be compiled with unicode support. &lt;br /&gt;
&lt;br /&gt;
4. Install [[aMule]]:&lt;br /&gt;
  emerge amule&lt;br /&gt;
&lt;br /&gt;
====To install amule-2.2.0_pre-20071204,====&lt;br /&gt;
we need to unmask wXgtk-2.8. Process like for amule-2.2.0_pre20070422, but with this supplementary step:&lt;br /&gt;
&lt;br /&gt;
1. Unmask amule-2.2.0_pre-20071204 and wXgtk-2.8&lt;br /&gt;
  echo &amp;quot;=net-p2p/amule-2.2.0_pre20071204&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.unmask&lt;br /&gt;
  echo &amp;quot;=x11-libs/wxGTK-2.8.7.1&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.unmask&lt;br /&gt;
&lt;br /&gt;
=== amule CVS (latest one) ===&lt;br /&gt;
It is no ebuild for the current [[aMule CVS]] so we need to add one in portage. For that, we will make use of a personal portage overlay. If you don't already have one, just follow this HOWTO article: [http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds HOWTO Installing 3rd Party Ebuilds]&lt;br /&gt;
&lt;br /&gt;
We will also follow the naming scheme of portage. CVS ebuild from a CVS tarball are not named as '''package_name-cvs''' but as '''package_name-version_date_of_the_tarball'''. That is to distinguish them from real CVS ebuilds (the so called live ebuilds) named as '''package_name-9999''' and using keywords=&amp;quot;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
1. Define ''PORTDIR_OVERLAY''. Open up ''/etc/make.conf'' with your favourite text editor and define the ''PORTDIR_OVERLAY'' variable. We will use:&lt;br /&gt;
  PORTDIR_OVERLAY=&amp;quot;/usr/local/portage&amp;quot;&lt;br /&gt;
&lt;br /&gt;
2. Create overlay for amule-cvs:&lt;br /&gt;
  mkdir -p /usr/local/net-p2p/amule&lt;br /&gt;
&lt;br /&gt;
3. Add to ''package.keywords'':&lt;br /&gt;
  echo &amp;quot;net-p2p/amule ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
&lt;br /&gt;
4. Copy the following ebuild into ''{PORTDIR_OVERLAY}/net-p2p/amule/amule-2.2.0_p20071217.ebuild''&lt;br /&gt;
&lt;br /&gt;
I use here the tarball from 17 December 2007 that was working fine for me, but you can change the date like you want. I use '''p''' in order to distinguish this ebuild from the ones in portage (using '''pre'''). &lt;br /&gt;
&lt;br /&gt;
 # Copyright 1999-2007 Gentoo Foundation&lt;br /&gt;
 # Distributed under the terms of the GNU General Public License v2&lt;br /&gt;
 # $Header: $&lt;br /&gt;
 &lt;br /&gt;
 inherit eutils flag-o-matic wxwidgets&lt;br /&gt;
 &lt;br /&gt;
 MY_PN=${PN/m/M}&lt;br /&gt;
 MY_PV=&amp;quot;${PV/2.2.0_p/}&amp;quot;&lt;br /&gt;
 S=&amp;quot;${WORKDIR}/amule-cvs&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 DESCRIPTION=&amp;quot;aMule, the all-platform eMule p2p client&amp;quot;&lt;br /&gt;
 HOMEPAGE=&amp;quot;http://www.amule.org/&amp;quot;&lt;br /&gt;
 SRC_URI=&amp;quot;http://www.hirnriss.net/files/cvs/${MY_PN}-CVS-${MY_PV}.tar.bz2&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 RESTRICT=&amp;quot;nomirror&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 LICENSE=&amp;quot;GPL-2&amp;quot;&lt;br /&gt;
 SLOT=&amp;quot;0&amp;quot;&lt;br /&gt;
 KEYWORDS=&amp;quot;~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86&amp;quot;&lt;br /&gt;
 IUSE=&amp;quot;amuled debug geoip gtk nls remote stats unicode&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 DEPEND=&amp;quot;=x11-libs/wxGTK-2.8*&lt;br /&gt;
 		&amp;gt;=sys-libs/zlib-1.2.1&lt;br /&gt;
 		stats? ( &amp;gt;=media-libs/gd-2.0.26 )&lt;br /&gt;
 		geoip? ( dev-libs/geoip )&lt;br /&gt;
 		remote? ( &amp;gt;=media-libs/libpng-1.2.0&lt;br /&gt;
 		unicode? ( &amp;gt;=media-libs/gd-2.0.26 ) )&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 pkg_setup() {&lt;br /&gt;
 		if ! use gtk &amp;amp;&amp;amp; ! use remote &amp;amp;&amp;amp; ! use amuled; then&lt;br /&gt;
 				eerror &amp;quot;&amp;quot;&lt;br /&gt;
 				eerror &amp;quot;You have to specify at least one of gtk, remote or amuled&amp;quot;&lt;br /&gt;
 				eerror &amp;quot;USE flag to build amule.&amp;quot;&lt;br /&gt;
 				eerror &amp;quot;&amp;quot;&lt;br /&gt;
 				die &amp;quot;Invalid USE flag set&amp;quot;&lt;br /&gt;
 		fi&lt;br /&gt;
 &lt;br /&gt;
 		if use stats &amp;amp;&amp;amp; ! use gtk; then&lt;br /&gt;
 				einfo &amp;quot;Note: You would need both the gtk and stats USE flags&amp;quot;&lt;br /&gt;
 				einfo &amp;quot;to compile aMule Statistics GUI.&amp;quot;&lt;br /&gt;
 				einfo &amp;quot;I will now compile console versions only.&amp;quot;&lt;br /&gt;
 		fi&lt;br /&gt;
 &lt;br /&gt;
 		if use stats &amp;amp;&amp;amp; ! built_with_use media-libs/gd jpeg; then&lt;br /&gt;
 				die &amp;quot;media-libs/gd should be compiled with the jpeg use flag when you have the stats use   flag set&amp;quot;&lt;br /&gt;
 		fi&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 pkg_preinst() {&lt;br /&gt;
 	if use amuled || use remote; then&lt;br /&gt;
 		enewgroup p2p&lt;br /&gt;
 		enewuser p2p -1 -1 /home/p2p p2p&lt;br /&gt;
 	fi&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 src_compile() {&lt;br /&gt;
 		local myconf&lt;br /&gt;
 &lt;br /&gt;
 		WX_GTK_VER=&amp;quot;2.8&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 		if use gtk; then&lt;br /&gt;
 				einfo &amp;quot;wxGTK with gtk support will be used&amp;quot;&lt;br /&gt;
 				need-wxwidgets unicode&lt;br /&gt;
 		else&lt;br /&gt;
 				einfo &amp;quot;wxGTK without X support will be used&amp;quot;&lt;br /&gt;
 				need-wxwidgets base&lt;br /&gt;
 		fi&lt;br /&gt;
 &lt;br /&gt;
 		if use gtk ; then&lt;br /&gt;
 				use stats &amp;amp;&amp;amp; myconf=&amp;quot;${myconf}&lt;br /&gt;
 					--enable-wxcas&lt;br /&gt;
 					--enable-alc&amp;quot;&lt;br /&gt;
 				use remote &amp;amp;&amp;amp; myconf=&amp;quot;${myconf}&lt;br /&gt;
 					--enable-amule-gui&amp;quot;&lt;br /&gt;
 		else&lt;br /&gt;
 				myconf=&amp;quot;&lt;br /&gt;
 					--disable-monolithic&lt;br /&gt;
 					--disable-amule-gui&lt;br /&gt;
 					--disable-wxcas&lt;br /&gt;
 					--disable-alc&amp;quot;&lt;br /&gt;
 		fi&lt;br /&gt;
 &lt;br /&gt;
 		econf \&lt;br /&gt;
 				--with-wx-config=${WX_CONFIG} \&lt;br /&gt;
 				--with-wxbase-config=${WX_CONFIG} \&lt;br /&gt;
 				--enable-amulecmd \&lt;br /&gt;
 				$(use_enable debug) \&lt;br /&gt;
 				$(use_enable !debug optimize) \&lt;br /&gt;
 				$(use_enable amuled amule-daemon) \&lt;br /&gt;
 				$(use_enable geoip) \&lt;br /&gt;
 				$(use_enable nls) \&lt;br /&gt;
 				$(use_enable remote webserver) \&lt;br /&gt;
 				$(use_enable stats cas) \&lt;br /&gt;
 				$(use_enable stats alcc) \&lt;br /&gt;
 				${myconf} || die&lt;br /&gt;
 &lt;br /&gt;
 		# we filter ssp until bug #74457 is closed to build on hardened&lt;br /&gt;
 		filter-flags -fstack-protector -fstack-protector-all&lt;br /&gt;
 &lt;br /&gt;
 		emake -j1 || die&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 src_install() {&lt;br /&gt;
 		emake DESTDIR=&amp;quot;${D}&amp;quot; install || die&lt;br /&gt;
 &lt;br /&gt;
 		if use amuled; then&lt;br /&gt;
 				newconfd &amp;quot;${FILESDIR}&amp;quot;/amuled.confd amuled&lt;br /&gt;
 				newinitd &amp;quot;${FILESDIR}&amp;quot;/amuled.initd amuled&lt;br /&gt;
 		fi&lt;br /&gt;
 &lt;br /&gt;
 		if use remote; then&lt;br /&gt;
 				newconfd &amp;quot;${FILESDIR}&amp;quot;/amuleweb.confd amuleweb&lt;br /&gt;
 				newinitd &amp;quot;${FILESDIR}&amp;quot;/amuleweb.initd amuleweb&lt;br /&gt;
 		fi&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
5. Change directory:&lt;br /&gt;
  cd /usr/local/portage/net-p2p/amule/&lt;br /&gt;
&lt;br /&gt;
6. Digest the ebuild:&lt;br /&gt;
  ebuild amule-2.2.0_p10071217.ebuild digest&lt;br /&gt;
&lt;br /&gt;
7. Review installation flags:&lt;br /&gt;
  emerge amule -pv&lt;br /&gt;
&lt;br /&gt;
8. Modify ''/etc/portage/package.use'' to suit your needs (please note that ''debug'' is enabled regardless of ''USE'' flag):&lt;br /&gt;
  net-p2p/amule -amuled -debug geoip gtk nls -remote -stats unicode&lt;br /&gt;
&lt;br /&gt;
This would install amule without deamon and remote support.&lt;br /&gt;
To activate deamons and remote options, leave out the '-' like this:&lt;br /&gt;
&lt;br /&gt;
  net-p2p/amule amuled -debug geoip gtk nls remote -stats unicode&lt;br /&gt;
&lt;br /&gt;
As aMule needs unicode support or it won't compile, you might also want to add a line to enable unicode in x11-libs/wxGTK&lt;br /&gt;
  x11-libs/wxGTK unicode&lt;br /&gt;
&lt;br /&gt;
9. Install [[aMule CVS]]:&lt;br /&gt;
  emerge amule&lt;br /&gt;
&lt;br /&gt;
'''PLEASE''' do ''emerge amule -pv'' before installing to determine how you want to compile [[aMule]].&lt;br /&gt;
&lt;br /&gt;
== aMule 2.1.1 Compilation FAQ ==&lt;br /&gt;
When compiling aMule-2.1.1 on a hardened system with gcc-3.4.5(at least), it will fail with something like:&lt;br /&gt;
 WebServer.h: In member function `T* UpdatableItemsContainer&amp;lt;T, G, I&amp;gt;::GetByID(I) [with T = SharedFile, G = CEC_SharedFile_Tag, I = CMD4Hash]':&lt;br /&gt;
 WebServer.h:270: internal compiler error: in sweep_string_variable, at protector.c:1158&lt;br /&gt;
&lt;br /&gt;
The possible problem is the -fPIE CFLAG because using `gcc-config` to select ''i386-pc-linux-gnu-3.4.5-hardenednopiessp'' fixed the problem, and you can even remove from the ebuild:&lt;br /&gt;
 if has_hardened; then&lt;br /&gt;
     filter-flags -fstack-protector -fstack-protector-all&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
You can read more on the subject following the link http://bugs.gentoo.org/show_bug.cgi?id=74457&lt;/div&gt;</summary>
		<author><name>Manchot</name></author>	</entry>

	<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>2008-11-01T15:41:59Z</updated>
		
		<summary type="html">&lt;p&gt;Manchot: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;center&amp;gt;&lt;br /&gt;
'''English''' | &lt;br /&gt;
[[HowTo_Compile_In_Gentoo-de|Deutsch]] | &lt;br /&gt;
[[HowTo_Compile_In_Gentoo-es|Español]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
English version updated: 23.12.2007 - Newest Gentoo Version are now 2.1.3 as well that 2 CVS versions.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Gentoo is known for choices. Unfortunately, some choices require more labor than others. As such, [[aMule]] comes in a variety of versions and installation methods based on what version of [[WxWidgets|wxGTK]] you decide to use...&lt;br /&gt;
&lt;br /&gt;
Also, if you plan to build a GUI-less core, you might want to take a look at http://bugs.gentoo.org/show_bug.cgi?id=109515, comment #3 contains a patch for wxGTK-2.6 ebuild that removes the dependency on X.&lt;br /&gt;
&lt;br /&gt;
== Methods of Installation ==&lt;br /&gt;
=== amule-2.1.3.ebuild ===&lt;br /&gt;
This ebuild matches the most current, stable [[aMule]] release, it is available 13.10.2007 in portage.&lt;br /&gt;
&lt;br /&gt;
Dependencies: &amp;gt;=x11-libs/wxGTK-2.6.*; &amp;gt;=sys-libs/zlib-1.2.1; &amp;gt;=media-libs/libpng-1.2.0 for remote support; &amp;gt;=media-libs/gd-2.0.26 for unicode support.&lt;br /&gt;
&lt;br /&gt;
=== amule-cvs ===&lt;br /&gt;
This ebuild is marked as '''unstable''' for all architectures.&lt;br /&gt;
&lt;br /&gt;
Not intended for the general public. If you'd like to test out the daily development snapshot, then this is the version for you.&lt;br /&gt;
&lt;br /&gt;
Dependencies: &amp;gt;=x11-libs/wxGTK-2.6.* or 2.8.*; &amp;gt;=sys-libs/zlib-1.2.1; &amp;gt;=media-libs/gd-2.0.26; &amp;gt;=media-libs/libpng-1.2.0; devs-libs/geoip&amp;lt;br&amp;gt;&lt;br /&gt;
Status: In development; 2 versions in portage; the latest tarball need a personal portage overlay&lt;br /&gt;
&lt;br /&gt;
== Installation instructions ==&lt;br /&gt;
=== amule-2.1.3.ebuild ===&lt;br /&gt;
1. Emerge package:&lt;br /&gt;
  emerge --sync&lt;br /&gt;
  emerge amule -pv&lt;br /&gt;
  emerge amule&lt;br /&gt;
&lt;br /&gt;
=== amule CVS (portage) ===&lt;br /&gt;
Portage have 2 CVS ebuilds: amule-2.2.0_pre20070422.ebuild with wXgtk-2.6 support and amule-2.2.0_pre20071204.ebuild with wXgtk-2.8 support. Both are marked as '''unstable''' for all architectures.&lt;br /&gt;
&lt;br /&gt;
====To install amule-2.2.0_pre20070422:====&lt;br /&gt;
1. Add to ''package.keywords'':&lt;br /&gt;
  echo &amp;quot;net-p2p/amule ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
&lt;br /&gt;
2. Review installation flags:&lt;br /&gt;
  emerge amule -pv&lt;br /&gt;
&lt;br /&gt;
3. Modify ''/etc/portage/package.use'' to suit your needs :&lt;br /&gt;
  net-p2p/amule -amuled -debug gtk nls -remote -stats unicode&lt;br /&gt;
&lt;br /&gt;
This would install amule without deamon and remote support.&lt;br /&gt;
To activate deamons and remote options, leave out the '-' like this:&lt;br /&gt;
&lt;br /&gt;
  net-p2p/amule amuled -debug gtk nls remote -stats unicode&lt;br /&gt;
&lt;br /&gt;
As aMule needs unicode support or it won't compile, you might also want to add a line to enable unicode in x11-libs/wxGTK&lt;br /&gt;
  x11-libs/wxGTK unicode&lt;br /&gt;
&lt;br /&gt;
Personally, I have the unicode USE flag in /etc/make.conf so that any program that support unicode will be compiled with unicode support. &lt;br /&gt;
&lt;br /&gt;
4. Install [[aMule]]:&lt;br /&gt;
  emerge amule&lt;br /&gt;
&lt;br /&gt;
====To install amule-2.2.0_pre-20071204,====&lt;br /&gt;
we need to unmask wXgtk-2.8. Process like for amule-2.2.0_pre20070422, but with this supplementary step:&lt;br /&gt;
&lt;br /&gt;
1. Unmask amule-2.2.0_pre-20071204 and wXgtk-2.8&lt;br /&gt;
  echo &amp;quot;=net-p2p/amule-2.2.0_pre20071204&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.unmask&lt;br /&gt;
  echo &amp;quot;=x11-libs/wxGTK-2.8.7.1&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.unmask&lt;br /&gt;
&lt;br /&gt;
=== amule CVS (latest one) ===&lt;br /&gt;
It is no ebuild for the current [[aMule CVS]] so we need to add one in portage. For that, we will make use of a personal portage overlay. If you don't already have one, just follow this HOWTO article: [http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds HOWTO Installing 3rd Party Ebuilds]&lt;br /&gt;
&lt;br /&gt;
We will also follow the naming scheme of portage. CVS ebuild from a CVS tarball are not named as '''package_name-cvs''' but as '''package_name-version_date_of_the_tarball'''. That is to distinguish them from real CVS ebuilds (the so called live ebuilds) named as '''package_name-9999''' and using keywords=&amp;quot;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
1. Define ''PORTDIR_OVERLAY''. Open up ''/etc/make.conf'' with your favourite text editor and define the ''PORTDIR_OVERLAY'' variable. We will use:&lt;br /&gt;
  PORTDIR_OVERLAY=&amp;quot;/usr/local/portage&amp;quot;&lt;br /&gt;
&lt;br /&gt;
2. Create overlay for amule-cvs:&lt;br /&gt;
  mkdir -p /usr/local/net-p2p/amule&lt;br /&gt;
&lt;br /&gt;
3. Add to ''package.keywords'':&lt;br /&gt;
  echo &amp;quot;net-p2p/amule ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
&lt;br /&gt;
4. Copy the following ebuild into ''{PORTDIR_OVERLAY}/net-p2p/amule/amule-2.2.0_p20071217.ebuild''&lt;br /&gt;
&lt;br /&gt;
I use here the tarball from 17 December 2007 that was working fine for me, but you can change the date like you want. I use '''p''' in order to distinguish this ebuild from the ones in portage (using '''pre'''). &lt;br /&gt;
&lt;br /&gt;
 # Copyright 1999-2007 Gentoo Foundation&lt;br /&gt;
 # Distributed under the terms of the GNU General Public License v2&lt;br /&gt;
 # $Header: $&lt;br /&gt;
 &lt;br /&gt;
 inherit eutils flag-o-matic wxwidgets&lt;br /&gt;
 &lt;br /&gt;
 MY_PN=${PN/m/M}&lt;br /&gt;
 MY_PV=&amp;quot;${PV/2.2.0_p/}&amp;quot;&lt;br /&gt;
 S=&amp;quot;${WORKDIR}/amule-cvs&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 DESCRIPTION=&amp;quot;aMule, the all-platform eMule p2p client&amp;quot;&lt;br /&gt;
 HOMEPAGE=&amp;quot;http://www.amule.org/&amp;quot;&lt;br /&gt;
 SRC_URI=&amp;quot;http://www.hirnriss.net/files/cvs/${MY_PN}-CVS-${MY_PV}.tar.bz2&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 RESTRICT=&amp;quot;nomirror&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 LICENSE=&amp;quot;GPL-2&amp;quot;&lt;br /&gt;
 SLOT=&amp;quot;0&amp;quot;&lt;br /&gt;
 KEYWORDS=&amp;quot;~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86&amp;quot;&lt;br /&gt;
 IUSE=&amp;quot;amuled debug geoip gtk nls remote stats unicode&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 DEPEND=&amp;quot;=x11-libs/wxGTK-2.8*&lt;br /&gt;
 		&amp;gt;=sys-libs/zlib-1.2.1&lt;br /&gt;
 		stats? ( &amp;gt;=media-libs/gd-2.0.26 )&lt;br /&gt;
 		geoip? ( dev-libs/geoip )&lt;br /&gt;
 		remote? ( &amp;gt;=media-libs/libpng-1.2.0&lt;br /&gt;
 		unicode? ( &amp;gt;=media-libs/gd-2.0.26 ) )&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 pkg_setup() {&lt;br /&gt;
 		if ! use gtk &amp;amp;&amp;amp; ! use remote &amp;amp;&amp;amp; ! use amuled; then&lt;br /&gt;
 				eerror &amp;quot;&amp;quot;&lt;br /&gt;
 				eerror &amp;quot;You have to specify at least one of gtk, remote or amuled&amp;quot;&lt;br /&gt;
 				eerror &amp;quot;USE flag to build amule.&amp;quot;&lt;br /&gt;
 				eerror &amp;quot;&amp;quot;&lt;br /&gt;
 				die &amp;quot;Invalid USE flag set&amp;quot;&lt;br /&gt;
 		fi&lt;br /&gt;
 &lt;br /&gt;
 		if use stats &amp;amp;&amp;amp; ! use gtk; then&lt;br /&gt;
 				einfo &amp;quot;Note: You would need both the gtk and stats USE flags&amp;quot;&lt;br /&gt;
 				einfo &amp;quot;to compile aMule Statistics GUI.&amp;quot;&lt;br /&gt;
 				einfo &amp;quot;I will now compile console versions only.&amp;quot;&lt;br /&gt;
 		fi&lt;br /&gt;
 &lt;br /&gt;
 		if use stats &amp;amp;&amp;amp; ! built_with_use media-libs/gd jpeg; then&lt;br /&gt;
 				die &amp;quot;media-libs/gd should be compiled with the jpeg use flag when you have the stats use   flag set&amp;quot;&lt;br /&gt;
 		fi&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 pkg_preinst() {&lt;br /&gt;
 	if use amuled || use remote; then&lt;br /&gt;
 		enewgroup p2p&lt;br /&gt;
 		enewuser p2p -1 -1 /home/p2p p2p&lt;br /&gt;
 	fi&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 src_compile() {&lt;br /&gt;
 		local myconf&lt;br /&gt;
 &lt;br /&gt;
 		WX_GTK_VER=&amp;quot;2.8&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 		if use gtk; then&lt;br /&gt;
 				einfo &amp;quot;wxGTK with gtk support will be used&amp;quot;&lt;br /&gt;
 				need-wxwidgets unicode&lt;br /&gt;
 		else&lt;br /&gt;
 				einfo &amp;quot;wxGTK without X support will be used&amp;quot;&lt;br /&gt;
 				need-wxwidgets base&lt;br /&gt;
 		fi&lt;br /&gt;
 &lt;br /&gt;
 		if use gtk ; then&lt;br /&gt;
 				use stats &amp;amp;&amp;amp; myconf=&amp;quot;${myconf}&lt;br /&gt;
 					--enable-wxcas&lt;br /&gt;
 					--enable-alc&amp;quot;&lt;br /&gt;
 				use remote &amp;amp;&amp;amp; myconf=&amp;quot;${myconf}&lt;br /&gt;
 					--enable-amule-gui&amp;quot;&lt;br /&gt;
 		else&lt;br /&gt;
 				myconf=&amp;quot;&lt;br /&gt;
 					--disable-monolithic&lt;br /&gt;
 					--disable-amule-gui&lt;br /&gt;
 					--disable-wxcas&lt;br /&gt;
 					--disable-alc&amp;quot;&lt;br /&gt;
 		fi&lt;br /&gt;
 &lt;br /&gt;
 		econf \&lt;br /&gt;
 				--with-wx-config=${WX_CONFIG} \&lt;br /&gt;
 				--with-wxbase-config=${WX_CONFIG} \&lt;br /&gt;
 				--enable-amulecmd \&lt;br /&gt;
 				$(use_enable debug) \&lt;br /&gt;
 				$(use_enable !debug optimize) \&lt;br /&gt;
 				$(use_enable amuled amule-daemon) \&lt;br /&gt;
 				$(use_enable geoip) \&lt;br /&gt;
 				$(use_enable nls) \&lt;br /&gt;
 				$(use_enable remote webserver) \&lt;br /&gt;
 				$(use_enable stats cas) \&lt;br /&gt;
 				$(use_enable stats alcc) \&lt;br /&gt;
 				${myconf} || die&lt;br /&gt;
 &lt;br /&gt;
 		# we filter ssp until bug #74457 is closed to build on hardened&lt;br /&gt;
 		filter-flags -fstack-protector -fstack-protector-all&lt;br /&gt;
 &lt;br /&gt;
 		emake -j1 || die&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 src_install() {&lt;br /&gt;
 		emake DESTDIR=&amp;quot;${D}&amp;quot; install || die&lt;br /&gt;
 &lt;br /&gt;
 		if use amuled; then&lt;br /&gt;
 				newconfd &amp;quot;${FILESDIR}&amp;quot;/amuled.confd amuled&lt;br /&gt;
 				newinitd &amp;quot;${FILESDIR}&amp;quot;/amuled.initd amuled&lt;br /&gt;
 		fi&lt;br /&gt;
 &lt;br /&gt;
 		if use remote; then&lt;br /&gt;
 				newconfd &amp;quot;${FILESDIR}&amp;quot;/amuleweb.confd amuleweb&lt;br /&gt;
 				newinitd &amp;quot;${FILESDIR}&amp;quot;/amuleweb.initd amuleweb&lt;br /&gt;
 		fi&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
5. Change directory:&lt;br /&gt;
  cd /usr/local/portage/net-p2p/amule/&lt;br /&gt;
&lt;br /&gt;
6. Digest the ebuild:&lt;br /&gt;
  ebuild amule-2.2.0_p10071217.ebuild digest&lt;br /&gt;
&lt;br /&gt;
7. Review installation flags:&lt;br /&gt;
  emerge amule -pv&lt;br /&gt;
&lt;br /&gt;
8. Modify ''/etc/portage/package.use'' to suit your needs (please note that ''debug'' is enabled regardless of ''USE'' flag):&lt;br /&gt;
  net-p2p/amule -amuled -debug geoip gtk nls -remote -stats unicode&lt;br /&gt;
&lt;br /&gt;
This would install amule without deamon and remote support.&lt;br /&gt;
To activate deamons and remote options, leave out the '-' like this:&lt;br /&gt;
&lt;br /&gt;
  net-p2p/amule amuled -debug geoip gtk nls remote -stats unicode&lt;br /&gt;
&lt;br /&gt;
As aMule needs unicode support or it won't compile, you might also want to add a line to enable unicode in x11-libs/wxGTK&lt;br /&gt;
  x11-libs/wxGTK unicode&lt;br /&gt;
&lt;br /&gt;
9. Install [[aMule CVS]]:&lt;br /&gt;
  emerge amule&lt;br /&gt;
&lt;br /&gt;
'''PLEASE''' do ''emerge amule -pv'' before installing to determine how you want to compile [[aMule]].&lt;br /&gt;
&lt;br /&gt;
== aMule 2.1.1 Compilation FAQ ==&lt;br /&gt;
When compiling aMule-2.1.1 on a hardened system with gcc-3.4.5(at least), it will fail with something like:&lt;br /&gt;
 WebServer.h: In member function `T* UpdatableItemsContainer&amp;lt;T, G, I&amp;gt;::GetByID(I) [with T = SharedFile, G = CEC_SharedFile_Tag, I = CMD4Hash]':&lt;br /&gt;
 WebServer.h:270: internal compiler error: in sweep_string_variable, at protector.c:1158&lt;br /&gt;
&lt;br /&gt;
The possible problem is the -fPIE CFLAG because using `gcc-config` to select ''i386-pc-linux-gnu-3.4.5-hardenednopiessp'' fixed the problem, and you can even remove from the ebuild:&lt;br /&gt;
 if has_hardened; then&lt;br /&gt;
     filter-flags -fstack-protector -fstack-protector-all&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
You can read more on the subject following the link http://bugs.gentoo.org/show_bug.cgi?id=74457&lt;/div&gt;</summary>
		<author><name>Manchot</name></author>	</entry>

	</feed>