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 --
# 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