aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: update HowTo_compile_on_Mac  (Read 6946 times)

paul

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
update HowTo_compile_on_Mac
« on: July 23, 2004, 07:49:21 AM »

Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: update HowTo_compile_on_Mac
« Reply #1 on: July 23, 2004, 08:51:26 AM »

Thaks for the update Paul :-)
Logged

hopper

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: update HowTo_compile_on_Mac
« Reply #2 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?
Logged

MoSH

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
    • http://bild.li/mosh/
Re: update HowTo_compile_on_Mac
« Reply #3 on: July 25, 2004, 01:39:52 AM »

  • compiled wxMac-2.5.2
  • compiled crypto-5.1
  • installed Fink and listed packages
  • tried to compile aMule-2.0.0rc5

% 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."  ;(
« Last Edit: July 25, 2004, 01:47:25 AM by MoSH »
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: update HowTo_compile_on_Mac
« Reply #4 on: July 25, 2004, 01:42:55 AM »

try to compile amule with --disable-cas

hopper

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: update HowTo_compile_on_Mac
« Reply #5 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.
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: update HowTo_compile_on_Mac
« Reply #6 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!
Logged

Ocimin

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
Re: update HowTo_compile_on_Mac
« Reply #7 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
« Last Edit: July 26, 2004, 05:47:33 PM by Ocimin »
Logged

Ocimin

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
Re: update HowTo_compile_on_Mac
« Reply #8 on: July 27, 2004, 05:35:40 AM »

In italian it says: "removed the tooth removed the pain". I have download all files...

Ocimin
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: update HowTo_compile_on_Mac
« Reply #9 on: July 27, 2004, 12:53:25 PM »

Did it work?
Logged

Ocimin

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
Re: update HowTo_compile_on_Mac
« Reply #10 on: July 28, 2004, 12:49:58 PM »

Gcc and others software yes.

Ocimin
Logged

bolleh

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: update HowTo_compile_on_Mac
« Reply #11 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 :)
« Last Edit: November 01, 2004, 04:11:46 PM by bolleh »
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: update HowTo_compile_on_Mac
« Reply #12 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!
Logged