aMule Bug Tracker - aMule
View Issue Details
0001319aMuleMulti Platformpublic2008-05-06 19:252008-05-23 00:51
xushi 
 
normalblockalways
closedopen 
SVN 
 
OSX Leopard
0001319: fails to compile on Leopard due to zlib
aMule CVS 20080506 fails to compile on Leopard saying that it can't find zlib.

checking for zlib >= 1.1.4... no
configure: error: zlib >= 1.1.4 is required for aMule

However, I do know for a fact that zlib comes with Leopard, and it's in /usr/include . Checking there, i found zlib.h

///////////////////////
/* zlib.h -- interface of the 'zlib' general purpose compression library
  version 1.2.3, July 18th, 2005
///////////////////////

I tried --without-zlib, --with-zlib=/usr --with-zlib=/usr/include --with-zlib with no luck.. they all give me the same error. config.log shows a function that is returning a no instead of a yes, i'll attach it below.

The prefixes i used worked on a build that was around 2 months old. They are as follows,

./configure --enable-amulecmd --enable-debug --enable-optimize --enable-amule-daemon --enable-nls --enable-webserver --disable-cas --disable-alcc --enable-amule-gui --with-wx-config=../wxMac-2.8.7/build/wx-config --disable-dependency-tracking CFLAGS="-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk" CXXFLAGS="-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk" --with-crypto-prefix=/usr/local/cryptopp && make
No tags attached.
log config.log (72,161) 2008-05-06 19:25
https://bugs.amule.org/file_download.php?file_id=244&type=bug
Issue History
2008-05-06 19:25xushiNew Issue
2008-05-06 19:25xushiFile Added: config.log
2008-05-06 19:25xushiOperating System => OSX Leopard
2008-05-23 00:51GonoszTopiStatusnew => closed
2008-05-23 00:51GonoszTopiNote Added: 0002817

Notes
(0002817)
GonoszTopi   
2008-05-23 00:51   
You're using the wrong SDK.