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

From AMule Project FAQ
Jump to: navigation, search
Line 3: Line 3:
 
New installation steps (based on fink presence)
 
New installation steps (based on fink presence)
  
#install Xcode Tools
+
1) install Xcode Tools
  
# 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
 
# Getting ADC ID > Log In > Download Software > Developer Tools > Download Xcode Tools last release > Install

Revision as of 08:39, 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/

  1. Getting ADC ID > Log In > Download Software > Developer Tools > Download Xcode Tools last release > Install
  1. install Fink too, since gettext is needed
  1. install Fink too, since wxmac is needed
  1. http://fink.sourceforge.net
  1. read the info at http://fink.sourceforge.net/download to learn how to install gettext
  1. read the info at http://fink.sourceforge.net/download to learn how to install wxmac
  1. make amule dir in home

cd ~

mkdir amule

cd amule

  1. 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

  1. remove downloaded archive after unpacking

rm aMule-2.0.0rc7.tar.bz2

  1. compile aMule

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

  1. optional: reduce size of amule from 44 MB to 3 MB while loosing debug info :-(

strip src/amule

cd ..

  1. 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

  1. 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/

  1. 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.