aMule Forum

English => Multiplatform => Mac OSX => Topic started by: paul on July 23, 2004, 07:49:21 AM

Title: update HowTo_compile_on_Mac
Post by: paul on July 23, 2004, 07:49:21 AM
How To compile on Mac (http://www.amule.org/wiki/index.php/HowTo_compile_on_Mac)
Title: Re: update HowTo_compile_on_Mac
Post by: Jacobo221 on July 23, 2004, 08:51:26 AM
Thaks for the update Paul :-)
Title: Re: update HowTo_compile_on_Mac
Post by: hopper on July 24, 2004, 10:53:04 AM
This part doesn't work on both of Mac's (iBook and G5):

# install wxMac
cd wxMac-2.5.2
mkdir build
cd build
../configure
make
sudo make install

cd ..
cd ..


Make and make install doesn't work with me.
Does anybody know why?
Title: Re: update HowTo_compile_on_Mac
Post by: MoSH on July 25, 2004, 01:39:52 AM

% make
:
Making all in cas
gcc  -no-cpp-precomp -D_INTL_REDIRECT_MACROS -DNOPCH -Wall -g -ggdb -fno-inline -D__DEBUG__    -bind_at_load  -o cas  cas-cas.o cas-functions.o cas-configfile.o cas-graphics.o -L/usr/X11R6/lib -liconv -L/sw/lib -L/usr/X11R6/lib -L/sw/lib -lXpm -lX11 -ljpeg -lfreetype -lpng -lz -lm -lgd  
ld: can't locate file for: -ljpeg
make[5]: *** [cas] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

So I also got the libjpeg package:

% sudo apt-get install libjpeg

And aMule compiled.


That doesn't mean it works, though.  amule keeps crashing at startup time, and the server.met URL is "invalid."  ;(
Title: Re: update HowTo_compile_on_Mac
Post by: deltaHF on July 25, 2004, 01:42:55 AM
try to compile amule with --disable-cas
Title: Re: update HowTo_compile_on_Mac
Post by: hopper on July 25, 2004, 10:43:26 PM
Sorry, but I am not a very good Mac-user regarding the UNIX parts. So I actually don't understand what you want to tell me, unfortunately.
I am not a unexperienced Mac user but I really have almost no understanding of the terminal part of Mac OS X.
I tried to follow the list provided by several members but when I reached the "make" part, my Mac doesn't just follow the recipe as provided by you professional users.
I would greatly appreciate any help if someone could help me how to install aMule, since I have it up running on my PC in the office but I would like it to run at home as well on my Mac's since my connection at home is much faster than at the office.
Title: Re: update HowTo_compile_on_Mac
Post by: Jacobo221 on July 26, 2004, 12:24:54 AM
What deltaHF means:
When following the howto at http://www.amule.org/wiki/index.php/HowTo_compile_on_Mac
use ./configure --disable-systray --disable-gsocket --disable-gtk --with-wx-prefix=/usr/local --with-wx-config=/usr/local/bin/wx-config --with-crypto-prefix=/Users/YOUR_NAME_HOME/amule/ --disable-cas
(notice that at the end of that line "--disable-cas" has been added).
Report results, please ;-)
Greetings!
Title: Re: update HowTo_compile_on_Mac
Post by: Ocimin on July 26, 2004, 01:46:10 PM
At the page of Apple Xcode Tools v1.2, there are 22 file with size of about 30Mb. Have I to download all files for upgrade my old Xcode? (!?!?)
I hope no....

Ocimin
Title: Re: update HowTo_compile_on_Mac
Post by: Ocimin on July 27, 2004, 05:35:40 AM
In italian it says: "removed the tooth removed the pain". I have download all files...

Ocimin
Title: Re: update HowTo_compile_on_Mac
Post by: Jacobo221 on July 27, 2004, 12:53:25 PM
Did it work?
Title: Re: update HowTo_compile_on_Mac
Post by: Ocimin on July 28, 2004, 12:49:58 PM
Gcc and others software yes.

Ocimin
Title: Re: update HowTo_compile_on_Mac
Post by: bolleh on November 01, 2004, 04:03:40 PM
hello, im a new user(to this forum as well as mac)

i compiled all this stuff, followed all the instructions but i get stuck at the end

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

doesnt work here on my ibook g3, the terminal says:
leroys-Computer:~/amule leroy$ tar -xjf aMule-App-Container.tar.bz2
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error exit delayed from previous errors


so i cant make it into a amule.app with the line "/Contents/MacOS/"
without that i get a amule.app which i can run, however i get a first run warning and its stuck there, id have to kill the process to get rid off it

please some help :)

=======
i fixed it myself, for whoever encounters this same problem, these are my steps:
create a amule dir
in there create the Contents dir
in there create the MacOS dir
finally go back up and rename the amule dir to amule.app

go to the terminal and run the line:
cp aMule-2.0.0rc7/src/amule amule.app/Contents/MacOS/

and then move amule.app to applications and run it :)
Title: Re: update HowTo_compile_on_Mac
Post by: Jacobo221 on November 01, 2004, 06:15:44 PM
bolleh:

Thanks :) THe Mac HowTo is up-to-date now with your comment added, so no-one will encounter your same problem again ;)
Thanks and Greetings!