Talk:HowTo compile on Mac

From AMule Project FAQ
Revision as of 08:43, 15 November 2004 by 62.101.126.231 (Talk)

Jump to: navigation, search

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.