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

	<entry>
		<id>http://test.amule.szerverem.hu/wiki/Install-amule-freebsd</id>
		<title>Install-amule-freebsd</title>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/Install-amule-freebsd"/>
				<updated>2005-08-12T14:48:17Z</updated>
		
		<summary type="html">&lt;p&gt;212.202.198.240: Typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==  Installing official [[aMule]] ports  ==&lt;br /&gt;
&lt;br /&gt;
The official port is ''/usr/ports/net/amule''&lt;br /&gt;
&lt;br /&gt;
The stable [[aMule]] is version 1.2.6.&lt;br /&gt;
&lt;br /&gt;
We wanna stay current? Help test? Help debug? Continue with this article to learn how to install/compile aMule on your system.&lt;br /&gt;
&lt;br /&gt;
== Install [[aMule CVS]] on [http://www.freebsd.org FreeBSD] 5.3 ==&lt;br /&gt;
&lt;br /&gt;
Make sure you have installed:&lt;br /&gt;
&lt;br /&gt;
''/usr/ports/x11-toolkits/wxgtk2''&lt;br /&gt;
&lt;br /&gt;
* Ignore the &amp;quot;problems&amp;quot; about [[wxGTK]]2 on [http://www.freebsd.org FreeBSD]. It works perfectly!&lt;br /&gt;
&lt;br /&gt;
Download the latest [[aMule CVS]] snapshot&lt;br /&gt;
[http://www.amule.org/files/download.php?file=5 here].&lt;br /&gt;
&lt;br /&gt;
(This article is tested with http://amule.hirnriss.net/cvs/aMule-cvs-20041215.tar.bz2)&lt;br /&gt;
&lt;br /&gt;
''tar -zxvf aMule-cvs-20041215.tar.bz2''&lt;br /&gt;
&lt;br /&gt;
''cd amule-cvs/''&lt;br /&gt;
&lt;br /&gt;
''./configure --prefix=/home/'''user'''/amule-cvs/&lt;br /&gt;
--with-wx-config=/usr/X11R6/bin/wx-config&lt;br /&gt;
--with-wxbase-config=/usr/X11R6/bin/wx-config&lt;br /&gt;
--disable-debug --with-curl-config=/usr/local/bin/curl-config&lt;br /&gt;
--enable-optimize --x-libraries=/usr/X11R6/lib&lt;br /&gt;
--x-includes=/usr/X11R6/include --localstatedir=/usr/X11R6/share/gnome&lt;br /&gt;
--datadir=/usr/X11R6/share/gnome --with-html-dir=/usr/X11R6/share/doc&lt;br /&gt;
--with-crypto-prefix=/usr/local --with-included-gettext --disable-cas''&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' Check [[configure]]. Also, change '''user''' for your user name.&lt;br /&gt;
&lt;br /&gt;
''gmake''&lt;br /&gt;
&lt;br /&gt;
''cd ~/amule-cvs/src/amule''&lt;br /&gt;
&lt;br /&gt;
If you would like to compile/install [[aMule]] 2.0.0-rc7, you can follow the same instructions.&lt;br /&gt;
&lt;br /&gt;
Greetz,&lt;br /&gt;
Martin&lt;br /&gt;
&lt;br /&gt;
[mailto://amule@air-maxx.net amule@air-maxx.net]&lt;br /&gt;
&lt;br /&gt;
== Manual compilation ==&lt;br /&gt;
&lt;br /&gt;
Follow this guide to compile [[aMule]] on your [http://www.freebsd.org FreeBSD] system.&lt;br /&gt;
&lt;br /&gt;
===  Requirements ===&lt;br /&gt;
&lt;br /&gt;
Install this ports if you don't already have them installed (see ''pkg_info''), since they are needed to compile [[aMule]]:&lt;br /&gt;
&lt;br /&gt;
''x11-toolkits/wxgtk''&lt;br /&gt;
&lt;br /&gt;
If you are installing any [[aMule]] version between 2.0.0-rc1 and 2.0.0-rc5 (inclusive), you will also need ''security/cryptopp''&lt;br /&gt;
&lt;br /&gt;
Also (but you will have these already ;-)) ''devel/gettext'' and ''devel/gmake''&lt;br /&gt;
&lt;br /&gt;
You know how to install ports as a [http://www.bsd.org BSD] user, so I don't have to tell you, I hope. It's just too easy you know. In case you're very new to [http://www.freebsd.org FreeBSD], consult the great [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook handbook] at [http://www.freebsd.org http://www.freebsd.org].&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' If you think you have [[wxWidgets|wxGTK]] installed because you see [[wxWidgets|wxGTK2]], you should know, [[wxWidgets|wxGTK]] is linked against [http://www.gtk.org GTK1] and [[wxWidgets|wxGTK2]] is linked against [http://www.gtk.org GTK2]. Using [[wxWidgets|wxGTK2]] with [[aMule]] might become [[aMule]] unstable! You should use [[wxWidgets|wxGTK]], not [[wxWidgets|wxGTK2]].&lt;br /&gt;
&lt;br /&gt;
===  Configure  ===&lt;br /&gt;
&lt;br /&gt;
(Tested with  [http://www.freebsd.org FreeBSD] 5.2-CURRENT 03-May-2004)&lt;br /&gt;
&lt;br /&gt;
The ''./configure'' does not work 100% automagically, we must help it out a bit (check [[configure]]).&lt;br /&gt;
&lt;br /&gt;
Edit the '''&amp;lt;your home&amp;gt;''' tag, of course, or install it elsewhere.&lt;br /&gt;
&lt;br /&gt;
''./configure --prefix=/home/'''&amp;lt;your home&amp;gt;'''/amule --with-wx-config=/usr/X11R6/bin/wxgtk-2.4-config --with-wxbase-config=/usr/X11R6/bin/wxgtk-2.4-config''&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' This is one single line, not 3 lines or whatever [http://wiki.org/wiki.cgi?WhatIsWiki wiki]/HTML/your browser wraps this line into.&lt;br /&gt;
&lt;br /&gt;
You will see configure doesn't find ''gdlib-config'', even if you installed ''gdlib''. Don't care, it's just not there and it's no &amp;quot;must have&amp;quot;. Just skip it.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' If you get the following warning:&lt;br /&gt;
&lt;br /&gt;
''WARNING!! Your wxWidgets copy has been linked against GTK2 and this will make aMule be unstable, use so much cpu and ram. You have been advised, don't report bugs so.''&lt;br /&gt;
&lt;br /&gt;
at the end of ''configure'' you are probably linking against [[wxWidgets|wxGTK2]] instead of [[wxWidgets|wxGTK]]. [[aMule]] will memleak and eat your CPU. It will probably crash as well. Use [[wxWidgets|wxGTK]] as mentioned above!&lt;br /&gt;
&lt;br /&gt;
===  Make  ===&lt;br /&gt;
&lt;br /&gt;
''make'' will fail, use ''gmake''&lt;br /&gt;
&lt;br /&gt;
''make'' is [http://www.bsd.org BSD] [http://www.gnu.org/software/make make], ''gmake'' is [http://www.gnu.org GNU] [http://www.gnu.org/software/make make]. They are '''not''' compatible.&lt;br /&gt;
&lt;br /&gt;
Now do:&lt;br /&gt;
&lt;br /&gt;
''gmake''&lt;br /&gt;
&lt;br /&gt;
Get yourself a hot green tea (I prefer some sort of sencha) while it is compiling.&lt;br /&gt;
&lt;br /&gt;
Then do:&lt;br /&gt;
&lt;br /&gt;
''gmake install''&lt;br /&gt;
&lt;br /&gt;
===  Use it  ===&lt;br /&gt;
&lt;br /&gt;
Just start it with ''/home/&amp;lt;your home&amp;gt;/amule/bin/amule''&lt;br /&gt;
or wherever you installed it to...&lt;br /&gt;
&lt;br /&gt;
Have phun&lt;br /&gt;
&lt;br /&gt;
Eugene&lt;br /&gt;
&lt;br /&gt;
== The [[aMule]] 2.0.0 port ==&lt;br /&gt;
&lt;br /&gt;
Hi :)&lt;br /&gt;
&lt;br /&gt;
I've just released the 2.0.0 port !!! As ususal, available here :&lt;br /&gt;
http://contribs.martymac.com and soon on http://dl.amule.org !!!!&lt;br /&gt;
&lt;br /&gt;
A few modifications : it is now linked against [[wxGTK]]2-unicode-devel ; it will be linked back against [[wxGTK]]2-unicode (stable) when [[wxWidgets|2.6]] is out. The small [[ed2k_command]] binary is also now named ''ed2k'', it is no more renamed to ''amule-ed2k''. Finally, the port will only build on [http://www.freebsd.org 5.x], no more on [http://www.freebsd.org 4.x], sorry... For [http://www.freebsd.org 4.x] compatibility, see this old good port ''net/amule'' (which should be soon renamed to ''net/amule1'') in the official source tree.&lt;br /&gt;
&lt;br /&gt;
The port builds fine on [http://www.x86-64.org amd64], and should on [http://www.intel.com/design/support/faq/embed_proces/x86faq.htm x86] :P&lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;br /&gt;
&lt;br /&gt;
Ganael LAPLANCHE&lt;br /&gt;
&lt;br /&gt;
http://contribs.martymac.com&lt;br /&gt;
&lt;br /&gt;
[mailto://ganael.laplanche@martymac.com ganael.laplanche@martymac.com]&lt;br /&gt;
&lt;br /&gt;
== The [[aMule]] 2.0.0-rc7 port ==&lt;br /&gt;
&lt;br /&gt;
Hi all, the rc7 port is now available on my website: &lt;br /&gt;
http://contribs.martymac.com&lt;br /&gt;
&lt;br /&gt;
I've also added binaries for those who don't want to spend time to compile. The port works on [http://www.freebsd.org FreeBSD] 4.10 and 5.2.1. Any feedback welcome. I've changed some options to the Makefile: amule-ed2k-handler is now amule-ed2k, and cmd+GUI options are now joined in global ones. Do a &amp;quot;make config&amp;quot; prior to the &amp;quot;make install&amp;quot; to update your config file.&lt;br /&gt;
&lt;br /&gt;
Enjoy :)&lt;br /&gt;
&lt;br /&gt;
Ganael LAPLANCHE&lt;br /&gt;
&lt;br /&gt;
http://contribs.martymac.com&lt;br /&gt;
&lt;br /&gt;
[mailto://ganael.laplanche@martymac.com ganael.laplanche@martymac.com]&lt;br /&gt;
&lt;br /&gt;
== The [[aMule]] 2.0.0-rc6 port ==&lt;br /&gt;
&lt;br /&gt;
Visit http://www.amule-project.net/amule/thread.php?threadid=3758 and do as it says ;-)&lt;br /&gt;
&lt;br /&gt;
== The [[aMule]] 2.0.0-rc4a ports ==	 &lt;br /&gt;
	 &lt;br /&gt;
Hi all, new update to this wiki: 2.0.0rc4a ports are available. No, you ain't dreaming, you've just seen an 's' appended, because there are two ports.	 &lt;br /&gt;
&lt;br /&gt;
Unfortunately, [http://www.freebsd.org FreeBSD] 4.x (and [http://gcc.gnu.org GCC] 2.95) doesn't provide some required libs (see the patches inside the archive) to build this brand-new [[aMule]] version, so I released two ports :	 &lt;br /&gt;
&lt;br /&gt;
*One for the 4.x branch, which won't compile under 5.x:	 &lt;br /&gt;
Includes many patches, sometimes tricky, to make it work. This could lead to unstability and require further testing. Any feedback is welcome :)	 &lt;br /&gt;
&lt;br /&gt;
*Another one for the 5.x branch, wich won't compile under 4.x:	 &lt;br /&gt;
This one doesn't include any patch.	 &lt;br /&gt;
&lt;br /&gt;
To download the ports: http://www.amule.org/amule/download.php or http://contribs.martymac.com	 &lt;br /&gt;
&lt;br /&gt;
Enjoy!	 &lt;br /&gt;
&lt;br /&gt;
Ganael LAPLANCHE	 &lt;br /&gt;
&lt;br /&gt;
http://contribs.martymac.com	 &lt;br /&gt;
&lt;br /&gt;
[mailto://ganael.laplanche@martymac.com ganael.laplanche@martymac.com]&lt;br /&gt;
&lt;br /&gt;
== The [[aMule]] 2.0.0-rc3 port ==&lt;br /&gt;
&lt;br /&gt;
I've just released the 2.0.0rc3 port.&lt;br /&gt;
&lt;br /&gt;
See http://www.amule.org/amule/download.php (and http://contribs.martymac.com ) to download it.&lt;br /&gt;
&lt;br /&gt;
== Installing non-official ports ==&lt;br /&gt;
&lt;br /&gt;
If you download a port which is not officially available, you'll have to uncompress it (''tar xvzf file.tgz'') into the ''/usr/ports/net'' directory and then do a standard ''make install''.&lt;br /&gt;
&lt;br /&gt;
Any feedback welcome, many thanks to Eugene for this great wiki :)&lt;br /&gt;
&lt;br /&gt;
Ganael Laplanche.&lt;br /&gt;
&lt;br /&gt;
== Compilation problems ==&lt;br /&gt;
&lt;br /&gt;
If you still can't compile [[aMule]] see if the following patches work.&lt;br /&gt;
&lt;br /&gt;
=== Patch 1 ===&lt;br /&gt;
&lt;br /&gt;
The problem would be:	 &lt;br /&gt;
&lt;br /&gt;
''&amp;lt;pre&amp;gt;[...]	 &lt;br /&gt;
/usr/bin/ld: cannot find -lcryptopp	 &lt;br /&gt;
gmake[2]: *** [cas] Error 1	 &lt;br /&gt;
gmake[2]: Leaving directory `/home/eugene/aMule-2.0.0rc3/src'	 &lt;br /&gt;
gmake[1]: *** [all-recursive] Error 1	 &lt;br /&gt;
gmake[1]: Leaving directory `/home/eugene/aMule-2.0.0rc3'	 &lt;br /&gt;
gmake: *** [all] Error 2&amp;lt;/pre&amp;gt;''	 &lt;br /&gt;
&lt;br /&gt;
So we patch it now:	 &lt;br /&gt;
&lt;br /&gt;
''edit src/Makefile''	 &lt;br /&gt;
&lt;br /&gt;
Search for the line containing	 &lt;br /&gt;
&lt;br /&gt;
''cryptopp''	 &lt;br /&gt;
&lt;br /&gt;
This line will read as:	 &lt;br /&gt;
&lt;br /&gt;
''LIBS = -lcryptopp''	 &lt;br /&gt;
&lt;br /&gt;
Add ''-L/usr/local/lib'' to that line	 &lt;br /&gt;
&lt;br /&gt;
Now the line will read as:	 &lt;br /&gt;
&lt;br /&gt;
''LIBS = -L/usr/local/lib -lcryptopp''	 &lt;br /&gt;
&lt;br /&gt;
=== Patch 2 ===	 &lt;br /&gt;
&lt;br /&gt;
The problem would be:	 &lt;br /&gt;
&lt;br /&gt;
''&amp;lt;pre&amp;gt;[...]	 &lt;br /&gt;
amule.cpp:39:30: execinfo.h: No such file or directory	 &lt;br /&gt;
amule.cpp:40:28: mntent.h: No such file or directory	 &lt;br /&gt;
In file included from /usr/local/include/cryptopp/pkcspad.h:4,	 &lt;br /&gt;
from /usr/local/include/cryptopp/rsa.h:9,	 &lt;br /&gt;
from ClientCredits.h:32,	 &lt;br /&gt;
from amule.cpp:86:	 &lt;br /&gt;
/usr/local/include/cryptopp/cryptlib.h:1358:9: warning: &amp;quot;/*&amp;quot; within comment	 &lt;br /&gt;
amule.cpp: In member function `virtual bool CamuleApp: nInit()':	 &lt;br /&gt;
amule.cpp:423: error: `setmntent' undeclared (first use this function)	 &lt;br /&gt;
amule.cpp:423: error: (Each undeclared identifier is reported only once for	 &lt;br /&gt;
each function it appears in.)	 &lt;br /&gt;
amule.cpp:429: error: `getmntent' undeclared (first use this function)	 &lt;br /&gt;
amule.cpp:431: error: invalid use of undefined type `struct mntent'	 &lt;br /&gt;
amule.cpp:427: error: forward declaration of `struct mntent'	 &lt;br /&gt;
amule.cpp:432: error: invalid use of undefined type `struct mntent'	 &lt;br /&gt;
amule.cpp:427: error: forward declaration of `struct mntent'	 &lt;br /&gt;
amule.cpp:437: error: invalid use of undefined type `struct mntent'	 &lt;br /&gt;
amule.cpp:427: error: forward declaration of `struct mntent'	 &lt;br /&gt;
amule.cpp: In member function `virtual void CamuleApp: nFatalException()':	 &lt;br /&gt;
amule.cpp:982: error: `backtrace' undeclared (first use this function)	 &lt;br /&gt;
amule.cpp:987: error: `backtrace_symbols' undeclared (first use this function)	 &lt;br /&gt;
gmake[2]: *** [amule-amule.o] Error 1	 &lt;br /&gt;
gmake[2]: Leaving directory `/home/eugene/aMule-2.0.0rc3/src'	 &lt;br /&gt;
gmake[1]: *** [all-recursive] Error 1	 &lt;br /&gt;
gmake[1]: Leaving directory `/home/eugene/aMule-2.0.0rc3'	 &lt;br /&gt;
gmake: *** [all] Error 2&amp;lt;/pre&amp;gt;''	 &lt;br /&gt;
&lt;br /&gt;
So we patch it now:	 &lt;br /&gt;
&lt;br /&gt;
As there is no official [http://www.freebsd.org FreeBSD] support in [[aMule]] yet we will patch it to work... Well there is [http://www.openbsd.org OpenBSD] support and this support will work for us too :-)	 &lt;br /&gt;
&lt;br /&gt;
Edit ''src/amule.cpp''&lt;br /&gt;
&lt;br /&gt;
and insert&lt;br /&gt;
&lt;br /&gt;
''#define __OPENBSD__''	 &lt;br /&gt;
&lt;br /&gt;
at the top of this file. I placed it right before the first ''#include'' line...	 &lt;br /&gt;
&lt;br /&gt;
&amp;quot;What a workaround!&amp;quot; you may scream. Hey, we don't fiddle too much around with the code, just hack it to work and get ready to share ;-)&lt;/div&gt;</summary>
		<author><name>212.202.198.240</name></author>	</entry>

	</feed>