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

	<entry>
		<id>http://test.amule.szerverem.hu/wiki/HowTo_compile_on_Mac</id>
		<title>HowTo compile on Mac</title>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/HowTo_compile_on_Mac"/>
				<updated>2007-09-01T12:06:51Z</updated>
		
		<summary type="html">&lt;p&gt;151.70.87.245: /* Compile wxMac */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;center&amp;gt;'''English''' | [[HowTo_compile_on_Mac-de|Deutsch]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
How to get and install [[aMule]] on [http://www.apple.com/macosx/ Apple Mac OS X].&lt;br /&gt;
&lt;br /&gt;
# You can simply download the finished application ('binary release') or &lt;br /&gt;
# You compile it from a [[aMule CVS|CVS source snapshot]].&lt;br /&gt;
&lt;br /&gt;
''The preceding version of this page covering [[aMule]] 2.0.0rc8 and earlier is archived [[HowTo_compile_on_Mac_v200rc8|here]].''&lt;br /&gt;
&lt;br /&gt;
== Binary releases ==&lt;br /&gt;
&lt;br /&gt;
If you don't want to bother with installing and compiling all those tools and sources, then get one of the pre-compiled [[aMule]] applications. The official release is considered 'stable', but every now and then applications are built from the current source to allow more people to test new features or the like. &lt;br /&gt;
&lt;br /&gt;
# Latest official binary release: [http://www.amule.org/files/files.php?cat=30 aMule-2.1.3-Mac]&lt;br /&gt;
# Periodically compiled binary from cvs: [http://forum.amule.org/index.php?topic=5051.0 amule forum]&lt;br /&gt;
&lt;br /&gt;
Now, to install the downloaded binary, just drag the aMule application to a folder of your choice (e.g., ''/Applications'').&lt;br /&gt;
&lt;br /&gt;
To start aMule, double-click the application icon.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' You might want to take a look at the [[Mac specific usage]] article.&lt;br /&gt;
&lt;br /&gt;
== Compiling from source ==&lt;br /&gt;
&lt;br /&gt;
Compiling from source allows most current bug reports, because you can compile and test the [[aMule CVS|CVS snapshot]] of the very day.&lt;br /&gt;
&lt;br /&gt;
To compile [[aMule]] from source you need some development tools, the [[wxWidgets]] library and the [http://dl.amule.org aMule source].&lt;br /&gt;
&lt;br /&gt;
=== Get the sources and development tools ===&lt;br /&gt;
&lt;br /&gt;
==== [http://developer.apple.com/tools/xcode Xcode] ====&lt;br /&gt;
&lt;br /&gt;
[http://developer.apple.com/tools/xcode Xcode] is [http://www.apple.com Apple]'s development environment. We need it for the [http://gcc.gnu.org GCC] compiler. &lt;br /&gt;
&lt;br /&gt;
You will need at least version 2.1 of Xcode, a more recent version is preferable though. [http://developer.apple.com/tools/xcode Xcode] is included on the OS X 10.4 DVD, but early versions of 10.4 were shipped with Xcode 2.0, so you will need to check that the version on your DVD is at least 2.1.&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can download the most recent version of Xcode from Apple, but you will need to sign up for a free-of-charge developer account first.&lt;br /&gt;
&lt;br /&gt;
# Get Xcode from http://developer.apple.com/tools/download&lt;br /&gt;
# &amp;quot;Member Site&amp;quot;-&amp;gt;&amp;quot;Log In&amp;quot;-&amp;gt;&amp;quot;Download Software&amp;quot;-&amp;gt;&amp;quot;Developer Tools&amp;quot;-&amp;gt;&amp;quot;Download Xcode Tools last release&amp;quot;&amp;gt;&amp;quot;Install&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==== [http://www.macports.org MacPorts] (formerly known as DarwinPorts) ====&lt;br /&gt;
&lt;br /&gt;
[http://www.macports.org MacPorts] is an open source installer for lots of open source tools ported to [http://macos.apple.com Mac OS X]. aMule needs a few of these tools to compile properly. Alternatively, you can also use [http://fink.sourceforge.net Fink] to install these tools or you can install them manually.&lt;br /&gt;
&lt;br /&gt;
# Download the most recent version of [http://www.macports.org MacPorts]&lt;br /&gt;
# Read [http://trac.macosforge.org/projects/macports/wiki MacPorts' documentation] to learn how to install applications through [http://www.macports.org MacPorts].&lt;br /&gt;
&lt;br /&gt;
The tools that you will need to install are:&lt;br /&gt;
# automake&lt;br /&gt;
# flex&lt;br /&gt;
# gettext (only required if you want to use a language other than English in aMule)&lt;br /&gt;
# libpng&lt;br /&gt;
&lt;br /&gt;
==== [[wxWidgets|wxMac]] ====&lt;br /&gt;
&lt;br /&gt;
[[wxWidgets|wxMac]] is the port of the [[wxWidgets]] library for [http://macos.apple.com Mac OS X]. This library is used to make [[aMule]] 'multi-platform'.&lt;br /&gt;
&lt;br /&gt;
# Get the source from: http://www.wxwidgets.org/downloads/ (Source Archives: wxMac)&lt;br /&gt;
# Extract the archive (just double-click it)&lt;br /&gt;
&lt;br /&gt;
Or get the current [[wx-cvs|CVS snapshot]]. Warning: the [[wxMac]] [[wx-cvs|CVS]] is frequently in a bad condition (e.g., currently you need to switch the vswprintf implementation that wx uses, see [http://forum.amule.org/index.php?topic=9915.msg58058#msg58058 here] for more details).&lt;br /&gt;
&lt;br /&gt;
 bash: cd ~/Desktop&lt;br /&gt;
 bash: cvs -d :pserver:anoncvs@cvs.wxwidgets.org:/pack/cvsroots/wxwidgets login&lt;br /&gt;
 Note: password is 'anoncvs'&lt;br /&gt;
 bash: cvs -d :pserver:anoncvs@cvs.wxwidgets.org:/pack/cvsroots/wxwidgets checkout wxMac&lt;br /&gt;
&lt;br /&gt;
==== [http://www.amule.org aMule itself] ====&lt;br /&gt;
&lt;br /&gt;
# Get latest daily [[aMule CVS|CVS source snapshot]]: [http://www.hirnriss.net/?area=cvs aMule CVS]&lt;br /&gt;
# Extract the archive (just double-click it)&lt;br /&gt;
&lt;br /&gt;
=== Compile the sources ===&lt;br /&gt;
&lt;br /&gt;
Put the ''amule'' folder and the ''wxMac'' folder in the same place, e.g. on the desktop (if using another location, ensure that there are no spaces in the path as this can lead to file not found errors with [[wxMac]]). &lt;br /&gt;
&lt;br /&gt;
==== Compile [[wxMac]] ====&lt;br /&gt;
&lt;br /&gt;
This step is only needed once, even if you later download and compile a newer version of the [[aMule CVS]] source. &lt;br /&gt;
&lt;br /&gt;
The following assumes that you have placed the above packages on your Desktop.&amp;lt;br&amp;gt;&lt;br /&gt;
''cd'' into the ''wxMac'' folder, ''configure'' and ''make'':&lt;br /&gt;
&lt;br /&gt;
 bash: cd ~/Desktop/wxMac-2.8.4/build&lt;br /&gt;
 bash: ../configure --disable-shared --enable-unicode --enable-debug --enable-debug_gdb&lt;br /&gt;
 bash: make&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The second command above makes sure that wxMac is compiled with debug information. This information allows you to submit a helpful stacktrace if [[aMule]] crashes or a sample if it hangs to the [[aMule devs|aMule developers]]. If you do not want to compile a debug version then you can use &amp;quot;--disable-debug --disable-debug_gdb&amp;quot; instead.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' If you want to compile a [http://en.wikipedia.org/wiki/Universal_binary Universal Binary] of aMule (i.e., a version of aMule that runs on both PowerPC based and Intel based Macs) then you can add the &amp;quot;--enable-universal_binary&amp;quot; parameter at the end of the second command. If you don't include this parameter wxMac and aMule will be compiled for your native architecture only.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The above make command may take up to 45 minutes, depending on the speed of your CPU(s) and the parameters you chose.&lt;br /&gt;
&lt;br /&gt;
==== Compile [[aMule]] ====&lt;br /&gt;
&lt;br /&gt;
Now ''cd'' into the ''amule'' folder, ''configure'' and ''make'':&lt;br /&gt;
&lt;br /&gt;
'''Note:''' You can copy and paste the 4 lines for ''./configure'' in one go.&lt;br /&gt;
&lt;br /&gt;
 bash: cd ~/Desktop/amule-cvs&lt;br /&gt;
 bash: ./configure --disable-systray --disable-gtk --enable-embedded_crypto    \&lt;br /&gt;
            --with-wx-config=../wxMac-2.8.4/build/wx-config    \&lt;br /&gt;
            --enable-cas --enable-webserver --enable-amulecmd    \&lt;br /&gt;
            --enable-debug --disable-optimize&lt;br /&gt;
&lt;br /&gt;
 bash: make&lt;br /&gt;
 bash: ./src/utils/scripts/mac_packager&lt;br /&gt;
&lt;br /&gt;
'''Note:''' If you don't want to compile aMule with debug information (see above) you can use &amp;quot;--disable-debug --enable-optimize&amp;quot; in the configure statement.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' In order to compile aMule as a Universal Binary (see above) you will need to add the following parameters to the configure statement:&lt;br /&gt;
            --disable-dependency-tracking \&lt;br /&gt;
            CFLAGS=&amp;quot;-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk&amp;quot; \&lt;br /&gt;
            CXXFLAGS=&amp;quot;-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==== Running [[aMule]] ====&lt;br /&gt;
Once the mac_packager script has finished, you can move the aMule application from the amule-cvs folder to anywhere on your hard drive.&lt;/div&gt;</summary>
		<author><name>151.70.87.245</name></author>	</entry>

	</feed>