aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2 3 ... 6

Author Topic: How to install aMule in MAC OS X  (Read 60712 times)

one2one

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
How to install aMule in MAC OS X
« on: April 14, 2004, 09:11:39 PM »

http://one2one.no.sapo.pt/
and sry about my bad english
Logged

sssnake

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
  • Don't eat the yellow snow (F. Zappa)
Corresponding shellscript
« Reply #1 on: April 16, 2004, 12:31:58 AM »

I successfully compiled amule on my mac with your guidlines, thank you one2one.

I had some troubles though, so I post this shellscript, maybe it helps...
my problems:
- first I have no root user on my system which is standard in os x: had to change the su to sudo.
- then the ranlib problem was there to, but a "make clean" didn't clean up things enough to get rid of it => had to rm and untar amule source again and start from scratch to . Didn't try "make distclean"...
- configure of amule gave me some trouble, because I was using for --with-crypto-prefix a ~ => gave me errors saying stuff about ADME or something like that => fullpath, e.g. /Users/xy/amule helped, like you proposed anyway :-)
 
OK, here's the shellscript; "curl -O" just downloads the files from the indicated URL:
-- snip --
Code: [Select]
# make amule dir in home
cd ~
mkdir amule
cd amule

# get source from the internet and unpack it
curl -O  http://heanet.dl.sourceforge.net/sourceforge/wxwindows/wxMac-2.4.2.tar.gz
curl -O  http://download.berlios.de/amule/crypto-5.1.tar.bz2
curl -O  http://download.berlios.de/amule/aMule-2.0.0rc3.tar.gz
curl -O  http://one2one.com.sapo.pt/dc.cpp
tar -xzf aMule-2.0.0rc3.tar.gz
tar -xjf crypto-5.1.tar.bz2
tar -xzf wxMac-2.4.2.tar.gz

# remove downloaded archives after unpacking
rm wxMac-2.4.2.tar.gz crypto-5.1.tar.bz2 aMule-2.0.0rc3.tar.gz

# copy dc.cpp over similar file in wxMac
mv dc.cpp wxMac-2.4.2/src/mac/

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

# install libcrypto
cd crypto-5.1
make
sudo make install
cd ..
mv crypto-5.1 cryptopp
sudo ranlib /usr/lib/libcryptopp.a

# install amule
cd aMule-2.0.0rc3
./configure --disable-systray --with-wx-prefix=/usr/local --with-wx-config=/usr/local/bin/wx-config --with-crypto-prefix=/Users/`whoami`/amule
make
cd ..

# create app-Container
curl -O http://one2one.no.sapo.pt/amule.zip
unzip amule.zip
rm amule.zip
cp aMule-2.0.0rc3/src/amule amule.app/Contents/MacOS/

# move amule to your Applications folder
mv amule.app /Applications
-- snap --

Have other bugs, but won't add them here, but to the normal thread.

EDIT: Kry - using code features of the board.
EDIT: sssnake - removed creation of ~/.aMule
EDIT: sssnake - removed "--disable-gsocket --disable-gtk" in configure of amule
EDIT: sssnake - changed script for aMule-2.0.0rc3 and replaced wget with OS Xs own curl
« Last Edit: May 03, 2004, 12:49:34 AM by sssnake »
Logged

one2one

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: How to install aMule in MAC OS X
« Reply #2 on: April 16, 2004, 02:09:44 AM »

:D
thanks :)
Logged

sssnake

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
  • Don't eat the yellow snow (F. Zappa)
remark about creating ~/.aMule
« Reply #3 on: April 16, 2004, 11:12:05 PM »

Thank you :-)
One detail: the last line (on the previously posted shellscript) which creates the ~/.aMule dir is not needed - worse: if aMule 2.0 rc2 finds a ~/.aMule dir, it doesn't start at all, blank window :-(, at least on my mac. It is perfectly capable to create the ~/.aMule dir, though, so before every start, you even have to manually remove your ~/.aMule dir :-(
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: How to install aMule in MAC OS X
« Reply #4 on: April 16, 2004, 11:33:26 PM »

Remove it then ;)
Logged

jongampark

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: How to install aMule in MAC OS X
« Reply #5 on: April 17, 2004, 01:08:45 AM »

Instead of console building and adding app container, why don't you build it by making xcode project? Wouldn't it be nicer?

Here are my questions.

 - When will the wxmac be removed?

   I understand that one of the target issue for Mac version is not to use the wxmac.


-  Does it support multiple lanagues? ( search, file list, etc )


OK. I would like to build my own. :)
Logged

Sarge

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
unnecessary configure options
« Reply #6 on: April 17, 2004, 09:44:57 AM »

Update your faqs! Just 1 configure option is necessary for mac users (besides --with-crypto-prefix to prevent zlib.h troubles):

--disable-systray

since aqua isn't gnome isn't kde. There's no need for --disable-gtk or --disable-gsocket, at least on my machine it works.

Sarge

PS: would be great if someone would add that one to the configure script, so this option wouldn't be necessary at all. Thanks!
Logged

sssnake

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
  • Don't eat the yellow snow (F. Zappa)
RE: unnecessary configure options
« Reply #7 on: April 17, 2004, 10:31:28 PM »

I tested it out on my machine: it's true, it still compiles fine without --disable-gsocket and --disable-gtk. => updated the above script.
Thanks.
P.S.: Tried also to remove --with-wx-prefix=/usr/local and --with-wx-config=/usr/local/bin/wx-config, but this gave me errors compiling ("BaseClient.cpp:210: error: `IPAddress' undeclared")
Logged

Scarface

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
RE: How to install aMule in MAC OS X
« Reply #8 on: April 24, 2004, 12:18:13 PM »

Hello there,
I am a total  Nube on this, so have pity with me. I tried to follow the instructions but i didnt achieve neither to download the .dcc doc from your hp 0ne2one, and I tried to install the wxmac but also didnt find an install icon. Do I have to install it over the terminal? and how does that work exactly??
thx alot scarf
Logged

sssnake

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
  • Don't eat the yellow snow (F. Zappa)
RE: How to install aMule in MAC OS X
« Reply #9 on: April 24, 2004, 01:58:47 PM »

Yes, you have to use a terminal, even following the description under http://one2one.no.sapo.pt/. But if I were you, you better wait, till an aMule is released where the basic stuff works.
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: How to install aMule in MAC OS X
« Reply #10 on: April 24, 2004, 06:04:07 PM »

nanana. If i were you, I'd be in a hurry to install aMule and report bugs ;-D

Greetings!
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: How to install aMule in MAC OS X
« Reply #11 on: April 24, 2004, 09:01:09 PM »

We have plenty of MacOS bugs, jacobo. want me to commit suicide or something?
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: How to install aMule in MAC OS X
« Reply #12 on: April 24, 2004, 09:23:59 PM »

Kry: lol! Then I better not add the other six known MacOSX bugs to the buglist ;-P

Scarface: The choice is yours. If you want Kry dead next week, install rc2 today on your Mac ;-)
Logged

Scarface

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
RE: How to install aMule in MAC OS X
« Reply #13 on: April 26, 2004, 07:30:55 PM »

Thx for the support, but Iam really desperate and I need Amule or some other filesharing program, so I tried it anyway .. I got along really well till the point where I had to write:
../configure
then it did this:
.
 checking for --disable-dynamic_dib... yes
 checking for --disable-dynamic_ico_cur... yes
 saving argument cache configarg.cache
 checking for toolkit... mac
 checking for gcc... no
 checking for cc... no
 configure: error: no acceptable cc found in $PATH
 [An-Others-Computer:~/wxMac-2.4.2/build] another% make
 make: Command not found.

what did I do wrong ?? would be great if somebody could give me an advice!!1 also would like to know more about this, and about how to use the terminal and unix..
somebody knows a good Homepage for /nubes/??
THX alot scrf
 :baby:
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: How to install aMule in MAC OS X
« Reply #14 on: April 26, 2004, 11:19:43 PM »

I already answered you at http://www.amule-project.net/amule/thread.php?sid=&postid=9703#post9703
More over, here you add the " make: Command not found.". You need both "gcc" and "make". Both are needed for compiling nearly any freesoftware app, specially the second one. So google for them and install them.
Come into #amule in irc.freenode.net if you want a step-by-step guideline (if there's any Mac user when you join the channel, of course).

See ya!
Greetings.

P.S.: Homepages for nubes on Unix... quite a few. Just google ;-)
Logged
Pages: [1] 2 3 ... 6