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

From AMule Project FAQ
Jump to: navigation, search
Line 20: Line 20:
  
 
9) make amule dir in home
 
9) make amule dir in home
 +
 
cd ~
 
cd ~
  
Line 33: Line 34:
  
 
11) 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
  
Line 44: Line 46:
  
 
13) 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
  
Line 49: Line 52:
  
 
14) 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 56: Line 60:
  
 
15) 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/
  
Line 61: Line 66:
  
 
16) move amule to your Applications folder
 
16) move amule to your Applications folder
 +
 
mv amule.app /Applications
 
mv amule.app /Applications
  

Revision as of 08:46, 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 or verify installation of Fink too, since gettext is needed in fink

5) install or verify installation of Fink too, since wxmac is needed in fink

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.