Difference between revisions of "Talk:HowTo compile on Mac"

From AMule Project FAQ
Jump to: navigation, search
Line 7: Line 7:
 
2) http://developer.apple.com/tools/download/
 
2) http://developer.apple.com/tools/download/
  
# Getting ADC ID > Log In > Download Software > Developer Tools > Download Xcode Tools last release > Install
+
3) Getting ADC ID > Log In > Download Software > Developer Tools > Download Xcode Tools last release > Install
  
# install Fink too, since gettext is needed
+
4) install Fink too, since gettext is needed
  
# install Fink too, since wxmac is needed
+
5) install Fink too, since wxmac is needed
  
# http://fink.sourceforge.net
+
6) http://fink.sourceforge.net
  
# read the info at http://fink.sourceforge.net/download to learn how to install gettext
+
7) read the info at http://fink.sourceforge.net/download to learn how to install gettext
  
# read the info at http://fink.sourceforge.net/download to learn how to install wxmac
+
8) read the info at http://fink.sourceforge.net/download to learn how to install wxmac
  
# make amule dir in home
+
9) make amule dir in home
 
cd ~
 
cd ~
  
Line 26: Line 26:
 
cd amule
 
cd amule
  
# get source from the internet and unpack it
+
10) get source from the internet and unpack it
 
curl -O http://download.berlios.de/amule/aMule-2.0.0rc7.tar.bz2
 
curl -O http://download.berlios.de/amule/aMule-2.0.0rc7.tar.bz2
  
 
tar -xjf aMule-2.0.0rc7.tar.bz2
 
tar -xjf aMule-2.0.0rc7.tar.bz2
  
# remove downloaded archive after unpacking
+
11) remove downloaded archive after unpacking
 
rm aMule-2.0.0rc7.tar.bz2
 
rm aMule-2.0.0rc7.tar.bz2
  
# compile aMule
+
12) compile aMule
 
cd aMule-2.0.0rc7
 
cd aMule-2.0.0rc7
 
./configure --disable-systray  --disable-gtk --enable-embedded_crypto
 
./configure --disable-systray  --disable-gtk --enable-embedded_crypto
 
make
 
make
  
# optional: reduce size of amule from 44 MB to 3 MB while loosing debug info :-(
+
13) optional: reduce size of amule from 44 MB to 3 MB while loosing debug info :-(
 
strip src/amule
 
strip src/amule
  
 
cd ..
 
cd ..
  
# create app-Container
+
14) create app-Container
 
curl -O http://download.berlios.de/amule/aMule-App-Container.tar.bz2
 
curl -O http://download.berlios.de/amule/aMule-App-Container.tar.bz2
  
Line 51: Line 51:
 
rm aMule-App-Container.tar.bz2
 
rm aMule-App-Container.tar.bz2
  
# the following line is just in case the app container failed to extract
+
15) the following line is just in case the app container failed to extract
 
mkdir -p amule.app/Contents/MacOS/
 
mkdir -p amule.app/Contents/MacOS/
  
 
cp aMule-2.0.0rc7/src/amule amule.app/Contents/MacOS/
 
cp aMule-2.0.0rc7/src/amule amule.app/Contents/MacOS/
  
# move amule to your Applications folder
+
16) move amule to your Applications folder
 
mv amule.app /Applications
 
mv amule.app /Applications
  

Revision as of 07:41, 15 November 2004

Please note wxmac installation now is available optimized on http://fink.sourceforge.net fink unstable

New installation steps (based on fink presence)

1) install Xcode Tools

2) http://developer.apple.com/tools/download/

3) Getting ADC ID > Log In > Download Software > Developer Tools > Download Xcode Tools last release > Install

4) install Fink too, since gettext is needed

5) install Fink too, since wxmac is needed

6) http://fink.sourceforge.net

7) read the info at http://fink.sourceforge.net/download to learn how to install gettext

8) read the info at http://fink.sourceforge.net/download to learn how to install wxmac

9) make amule dir in home cd ~

mkdir amule

cd amule

10) get source from the internet and unpack it curl -O http://download.berlios.de/amule/aMule-2.0.0rc7.tar.bz2

tar -xjf aMule-2.0.0rc7.tar.bz2

11) remove downloaded archive after unpacking rm aMule-2.0.0rc7.tar.bz2

12) compile aMule cd aMule-2.0.0rc7 ./configure --disable-systray --disable-gtk --enable-embedded_crypto make

13) optional: reduce size of amule from 44 MB to 3 MB while loosing debug info :-( strip src/amule

cd ..

14) create app-Container curl -O http://download.berlios.de/amule/aMule-App-Container.tar.bz2

tar -xjf aMule-App-Container.tar.bz2

rm aMule-App-Container.tar.bz2

15) the following line is just in case the app container failed to extract mkdir -p amule.app/Contents/MacOS/

cp aMule-2.0.0rc7/src/amule amule.app/Contents/MacOS/

16) move amule to your Applications folder mv amule.app /Applications




If you get an error like this: You cannot open the application "amule" because it may be damaged or incomplete, right click on amule then click on Show Packages Contents, go to Contents>MacOS> and double click on amule. Next time you start from amule.app it will run fine. If you still get the same error, move amule.app to the desktop and run it from there.