aMule Forum

English => Multiplatform => Mac OSX => Topic started by: mirko.g on December 12, 2010, 07:41:37 PM

Title: aMule-SVN (10.5+ | i386) [r10400 released]
Post by: mirko.g on December 12, 2010, 07:41:37 PM
As usual I will update this first post to allow everyone to get the last build (when ready) without reading all thread!

WARNING: binutils is still buggy (https://trac.macports.org/ticket/21588) and won't be fixed, so you currently cannot take advantage of MacPorts +universal variant (neither for ppc/i386 nor i386/x86_64 architectures).

LAST UPDATE: Dec 14th, 2010

SPECS
Name: aMule-SVN-i386
OS X: 10.5+
Arch: Intel i386 (32-bit)
gcc: 4.2.1
wxWidgets: wxWidgets 2.8.11


Last builds
>>> aMule-r10400-i386 (http://mirko.grewing.it/membership/download/data/guest/aMule-r10400-i386.dmg)
(.dmg | 41.4 MB)


Featured
-

Libraries and tools

CHANGELOG
aMule
r10400: built with custom Crypto++ (attached cryptoppmake.patch to be applied to GNUmakefile) and patched (http://forum.amule.org/index.php?topic=18474.msg100385#msg100385) sources.

ISSUES
-
Title: Re: aMule-SVN (10.5+ | i386) [work in progress]
Post by: mirko.g on December 12, 2010, 07:44:06 PM
First probem, using aMule SVN r10400.

Configure:
Code: [Select]
Configure script has finished system check.

  Configured aMule SVN (rev. 10400) for 'i386-apple-darwin10.5.0'.

  aMule enabled options:

  **** aMule Core ****
  Prefix where aMule should be installed?                    /usr/local
  Should aMule be compiled with i18n support?                yes
  Should aMule be compiled in debug mode?                    yes
  Should aMule be compiled with profiling?                   no
  Should aMule be compiled with optimizations?               yes
  Should aMule be compiled with UPnP support?                yes
  Should aMule be compiled with IP2country support?          yes
  Should aMule monolithic application be built?              yes
  Should aMule daemon version be built?                      yes
  Should aMule remote gui be built?                          yes
  Crypto++ library/headers style?                            installed

  **** aMule TextClient ****
  Should aMule Command Line Client be built?                 yes

  **** aMule WebServer ****
  Should aMule WebServer be built?                           yes

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built?                  yes

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built?        yes
  Should aMuleLinkCreator for console (alcc) be built?       yes

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built?                  yes
  Should aMule GUI Statistics (wxCas) be built?              yes
  Should xas XChat2 plugin be installed?                     no
  Should plasmaMule plasma-applet be build?                  no

  **** General Libraries and Tools ****
  Should ccache support be enabled?                          no
  Libraries aMule will use to build:
                             wxWidgets             2.8.11 (mac,static)
                             crypto++              5.6.1 (installed, in /opt/local)
                             libupnp               1.6.6
                             libintl               system
                             libGeoIP              user
                             libpng                1.2.44
                             libgd                 2.0.35
                             zlib                  1.2.5

and the 2nd make:
Code: [Select]
make  all-recursive
Making all in intl
make[2]: Nothing to be done for `all'.
Making all in po
make[2]: Nothing to be done for `all'.
Making all in docs
Making all in man
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in src
Making all in libs
Making all in common
make[4]: Nothing to be done for `all'.
Making all in ec
make  all-recursive
Making all in cpp
make  all-am
make[7]: Nothing to be done for `all-am'.
make[6]: Nothing to be done for `all-am'.
make[4]: Nothing to be done for `all-am'.
Making all in utils
Making all in cas
Making all in docs
make[5]: Nothing to be done for `all'.
make[5]: Nothing to be done for `all-am'.
Making all in wxCas
Making all in src
g++-4.2 -arch i386 -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -O2  -I/Users/mirko/Desktop/aMule-dev/wxMac-2.8.11/lib/wx/include/mac-unicode-release-static-2.8 -I/Users/mirko/Desktop/aMule-dev/wxMac-2.8.11/include -I/Users/mirko/Desktop/aMule-dev/wxMac-2.8.11/contrib/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__ -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -bind_at_load -lpthread -L/opt/local/lib -o wxcas onlinesig.o linuxmon.o wxcas.o wxcasprint.o wxcasframe.o wxcasprefs.o wxcascte.o wxcaspix.o -L/Users/mirko/Desktop/aMule-dev/wxMac-2.8.11/lib  -arch i386 -L/opt/local/lib -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime -framework OpenGL -framework AGL  /Users/mirko/Desktop/aMule-dev/wxMac-2.8.11/lib/libwx_macu_adv-2.8.a /Users/mirko/Desktop/aMule-dev/wxMac-2.8.11/lib/libwx_macu_core-2.8.a /Users/mirko/Desktop/aMule-dev/wxMac-2.8.11/lib/libwx_base_carbonu_net-2.8.a /Users/mirko/Desktop/aMule-dev/wxMac-2.8.11/lib/libwx_base_carbonu-2.8.a -framework WebKit -lwxregexu-2.8 -lwxtiff-2.8 -lwxjpeg-2.8 -lwxpng-2.8 -lz -lpthread -liconv   
Undefined symbols:
  "_fdopen$UNIX2003", referenced from:
      wxCreateTempImpl(wxString const&, wxFile*, wxFFile*, bool*)in libwx_base_carbonu-2.8.a(baselib_filename.o)
      wxCreateTempImpl(wxString const&, wxFile*, wxFFile*, bool*)in libwx_base_carbonu-2.8.a(baselib_filename.o)
  "_fopen$UNIX2003", referenced from:
      wxFopen(wchar_t const*, wchar_t const*)in libwx_base_carbonu-2.8.a(baselib_wxchar.o)
  "_popen$UNIX2003", referenced from:
      wxIsPlatform64Bit()     in libwx_base_carbonu-2.8.a(baselib_utilsunx.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[5]: *** [wxcas] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Title: Re: aMule-SVN (10.5+ | i386) [work in progress]
Post by: Gerd78 on December 13, 2010, 02:15:45 AM
Are you sure you built all the libraries with the same toolchain and settings? See http://www.macosxguru.net/article.php?story=2009010813350633 etc.
Title: Re: aMule-SVN (10.5+ | i386) [work in progress]
Post by: mirko.g on December 13, 2010, 06:35:51 AM
wxMac:
Code: [Select]
./configure CFLAGS="-arch i386" CXXFLAGS="-arch i386" CPPFLAGS="-arch i386" LDFLAGS="-arch i386" OBJCFLAGS="-arch i386" OBJCXXFLAGS="-arch i386" --disable-shared --enable-unicode --disable-debug --disable-debug_gdb --with-libiconv-prefix=/opt/local --with-macosx-sdk=/Developer/SDKs/MacOSX10.5.sdk --with-macosx-version-min=10.5
aMule:
Code: [Select]
CC="gcc-4.2 -arch i386" CXX="g++-4.2 -arch i386" CFLAGS="-arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5" CXXFLAGS="-arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5" CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib" MACOSX_DEPLOYMENT_TARGET=10.5 ./configure --with-wx-config=../wxMac-2.8.11-c/wx-config --enable-optimize --with-crypto-prefix=/opt/local --with-gdlib-config=/opt/local/bin/gdlib-config --with-libiconv-prefix=/opt/local --enable-cas --enable-wxcas --enable-alc --enable-alcc --enable-webserver --enable-amulecmd --enable-amule-gui --enable-amule-daemon --enable-geoip --with-geoip-lib=/opt/local/lib --with-geoip-headers=/opt/local/include --enable-geoip-static --enable-debug
gcc:
Code: [Select]
$ ls -la gcc
lrwxr-xr-x  1 root  wheel  7 20 Ott 09:03 gcc -> gcc-4.2

P.S.: I set macports.conf to build against i386 since many ports fail to build universal and my system uses x86_64 as default arch.
Title: Re: aMule-SVN (10.5+ | i386) [work in progress]
Post by: mirko.g on December 13, 2010, 11:55:48 PM
Ok I was wrong.

I used this for wxMac:
Code: [Select]
CC="gcc-4.2 -arch i386" CXX="g++-4.2 -arch i386" ./configure CFLAGS="-arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5" CXXFLAGS="-arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5" CPPFLAGS="-arch i386" LDFLAGS="-arch i386" OBJCFLAGS="-arch i386" OBJCXXFLAGS="-arch i386" --disable-shared --enable-unicode --disable-debug --disable-debug_gdb --with-libiconv-prefix=/opt/local
and this for aMule:
Code: [Select]
CC="gcc-4.2 -arch i386" CXX="g++-4.2 -arch i386" CFLAGS="-arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5" CXXFLAGS="-arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5" CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib" ./configure --with-wx-config=../wxMac-2.8.11/wx-config --with-crypto-prefix=/opt/local --with-gdlib-config=/opt/local/bin/gdlib-config --with-libiconv-prefix=/opt/local --enable-cas --enable-wxcas --enable-alc --enable-alcc --enable-webserver --enable-amulecmd --enable-amule-gui --enable-amule-daemon --enable-geoip --with-geoip-lib=/opt/local/lib --with-geoip-headers=/opt/local/include --enable-geoip-static --disable-debug
and I got the something known:
Code: [Select]
g++-4.2 -arch i386 -DHAVE_CONFIG_H -I. -I..  -no-cpp-precomp -D_INTL_REDIRECT_MACROS -DNOPCH -DUSE_WX_EXTENSIONS -I/Users/mirko/Desktop/aMule-dev/wxMac-2.8.11/lib/wx/include/mac-unicode-release-static-2.8 -I/Users/mirko/Desktop/aMule-dev/wxMac-2.8.11/include -I/Users/mirko/Desktop/aMule-dev/wxMac-2.8.11/contrib/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__ -DwxUSE_GUI=0 -I./libs -I./include -I/opt/local/include -D__WEAK_CRYPTO__ -I/opt/local/include/upnp   -DENABLE_UPNP=1 -I/opt/local/include -W -Wall -Wshadow -Wundef -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -MT libmuleappcore_a-PlatformSpecific.o -MD -MP -MF .deps/libmuleappcore_a-PlatformSpecific.Tpo -c -o libmuleappcore_a-PlatformSpecific.o `test -f 'PlatformSpecific.cpp' || echo './'`PlatformSpecific.cpp
PlatformSpecific.cpp:323:24: error: IOPMLib.h: No such file or directory
PlatformSpecific.cpp:324: error: ‘IOPMAssertionID’ does not name a type
PlatformSpecific.cpp: In function ‘void PlatformSpecific::PreventSleepMode()’:
PlatformSpecific.cpp:343: error: ‘IOReturn’ was not declared in this scope
PlatformSpecific.cpp:343: error: expected `;' before ‘success’
PlatformSpecific.cpp:345: error: ‘success’ was not declared in this scope
PlatformSpecific.cpp:345: error: ‘kIOReturnSuccess’ was not declared in this scope
PlatformSpecific.cpp: In function ‘void PlatformSpecific::AllowSleepMode()’:
PlatformSpecific.cpp:371: error: ‘IOReturn’ was not declared in this scope
PlatformSpecific.cpp:371: error: expected `;' before ‘success’
PlatformSpecific.cpp:372: error: ‘success’ was not declared in this scope
PlatformSpecific.cpp:372: error: ‘kIOReturnSuccess’ was not declared in this scope
make[3]: *** [libmuleappcore_a-PlatformSpecific.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Waiting for new SVN... ;-)

P.S.: wiki updated about wxMac.
Title: Re: aMule-SVN (10.5+ | i386) [work in progress]
Post by: Kry on December 14, 2010, 12:38:43 AM
Another blind fix as I'm not allowed to use the house Mac right now...

Code: [Select]
Index: D:/Development/aMule/amule-dev/src/PlatformSpecific.cpp
===================================================================
--- D:/Development/aMule/amule-dev/src/PlatformSpecific.cpp (revision 10402)
+++ D:/Development/aMule/amule-dev/src/PlatformSpecific.cpp (revision 10403)
@@ -320,7 +320,7 @@
  #ifdef __WXMAC__
  // 10.5 only
  #if __MAC_OS_X_VERSION_MAX_ALLOWED >= 1050
- #include <IOPMLib.h>
+ #include <IOKit/pwr_mgt/IOPMLib.h>
  static IOPMAssertionID assertionID;
  #else
  #warning Power event vetoing not implemented.
Title: Re: aMule-SVN (10.5+ | i386) [work in progress]
Post by: mirko.g on December 14, 2010, 02:13:14 AM
Nice, but suddenly:
Code: [Select]
g++-4.2 -arch i386 -W -Wall -Wshadow -Wundef   -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -bind_at_load -lpthread -L/opt/local/lib -o amule amule-CaptchaDialog.o amule-CaptchaGenerator.o amule-amule.o amule-BaseClient.o amule-CanceledFileList.o amule-ClientList.o amule-ClientCreditsList.o amule-ClientTCPSocket.o amule-ClientUDPSocket.o amule-CorruptionBlackBox.o amule-DownloadClient.o amule-DownloadQueue.o amule-ECSpecialCoreTags.o amule-EMSocket.o amule-EncryptedStreamSocket.o amule-EncryptedDatagramSocket.o amule-ExternalConn.o amule-FriendList.o amule-IPFilter.o amule-KnownFileList.o amule-ListenSocket.o amule-MuleUDPSocket.o amule-PartFileConvert.o amule-SearchFile.o amule-SearchList.o amule-ServerConnect.o amule-ServerList.o amule-ServerSocket.o amule-ServerUDPSocket.o amule-SharedFileList.o amule-ThreadTasks.o amule-UploadBandwidthThrottler.o amule-UploadClient.o amule-UploadQueue.o amule-Indexed.o amule-Kademlia.o amule-Prefs.o amule-Search.o amule-UDPFirewallTester.o amule-KademliaUDPListener.o amule-PacketTracking.o amule-Contact.o amule-RoutingZone.o amule-amule-gui.o amule-amuleDlg.o amule-AddFriend.o amule-CatDialog.o amule-ChatSelector.o amule-ChatWnd.o amule-CommentDialog.o amule-CommentDialogLst.o amule-GenericClientListCtrl.o amule-ClientDetailDialog.o amule-DirectoryTreeCtrl.o amule-FileDetailDialog.o amule-KadDlg.o amule-OScopeCtrl.o amule-PartFileConvertDlg.o amule-PrefsUnifiedDlg.o amule-SearchDlg.o amule-ServerWnd.o amule-SharedFilesWnd.o amule-StatisticsDlg.o amule-SearchListCtrl.o amule-DownloadListCtrl.o amule-SourceListCtrl.o amule-SharedFilePeersListCtrl.o amule-FriendListCtrl.o amule-ServerListCtrl.o amule-SharedFilesCtrl.o amule-MuleTrayIcon.o amule-TransferWnd.o amule-amuleAppCommon.o amule-DataToText.o amule-ECSpecialMuleTags.o amule-Friend.o amule-KnownFile.o amule-GetTickCount.o amule-GuiEvents.o amule-HTTPDownload.o amule-Logger.o amule-PartFile.o amule-Preferences.o amule-Proxy.o amule-Server.o amule-Statistics.o amule-StatTree.o amule-SHAHashSet.o amule-UserEvents.o -L. -lmuleappcommon -Llibs/common -Llibs/ec/cpp -lmulecommon -lec   -lz  -L/opt/local/lib -lcryptopp -L. -lmuleappcore -L/opt/local/lib   -lupnp -lthreadutil -lixml    -L. -lmuleappgui -L/Users/mirko/Desktop/aMule-dev/wxMac-2.8.11/lib  -arch i386 -L/opt/local/lib -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime -framework OpenGL -framework AGL  /Users/mirko/Desktop/aMule-dev/wxMac-2.8.11/lib/libwx_macu_adv-2.8.a /Users/mirko/Desktop/aMule-dev/wxMac-2.8.11/lib/libwx_macu_core-2.8.a /Users/mirko/Desktop/aMule-dev/wxMac-2.8.11/lib/libwx_base_carbonu_net-2.8.a /Users/mirko/Desktop/aMule-dev/wxMac-2.8.11/lib/libwx_base_carbonu-2.8.a -framework WebKit -lwxregexu-2.8 -lwxtiff-2.8 -lwxjpeg-2.8 -lwxpng-2.8 -lz -lpthread -liconv  -L/opt/local/lib -lGeoIP 
Undefined symbols:
  "std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)", referenced from:
      CryptoPP::operator<<(std::basic_ostream<char, std::char_traits<char> >&, CryptoPP::Integer const&)in libcryptopp.a(integer.o)
      CryptoPP::operator<<(std::basic_ostream<char, std::char_traits<char> >&, CryptoPP::Integer const&)in libcryptopp.a(integer.o)
      CryptoPP::operator<<(std::basic_ostream<char, std::char_traits<char> >&, CryptoPP::Integer const&)in libcryptopp.a(integer.o)
      CryptoPP::operator<<(std::basic_ostream<char, std::char_traits<char> >&, CryptoPP::Integer const&)in libcryptopp.a(integer.o)
      CryptoPP::operator<<(std::basic_ostream<char, std::char_traits<char> >&, CryptoPP::PolynomialMod2 const&)in libcryptopp.a(gf2n.o)
      CryptoPP::operator<<(std::basic_ostream<char, std::char_traits<char> >&, CryptoPP::PolynomialMod2 const&)in libcryptopp.a(gf2n.o)
      CryptoPP::operator<<(std::basic_ostream<char, std::char_traits<char> >&, CryptoPP::PolynomialMod2 const&)in libcryptopp.a(gf2n.o)
      CryptoPP::operator<<(std::basic_ostream<char, std::char_traits<char> >&, CryptoPP::PolynomialMod2 const&)in libcryptopp.a(gf2n.o)
      CryptoPP::operator<<(std::basic_ostream<char, std::char_traits<char> >&, CryptoPP::PolynomialMod2 const&)in libcryptopp.a(gf2n.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [amule] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Title: Re: aMule-SVN (10.5+ | i386) [work in progress]
Post by: Kry on December 14, 2010, 05:11:35 AM
That one's not my fault! And it seems like you're linking to the wrong version of libcrypto
Title: Re: aMule-SVN (10.5+ | i386) [work in progress]
Post by: Kry on December 14, 2010, 06:42:49 AM
Or actually, not linking to stl ?
Title: Re: aMule-SVN (10.5+ | i386) [work in progress]
Post by: mirko.g on December 14, 2010, 07:19:23 AM
I used macports version (i386). I'm also trying to compile Crypto++ by myself but it's a scrub...
Anything I can check about?
Title: Re: aMule-SVN (10.5+ | i386) [work in progress]
Post by: mirko.g on December 14, 2010, 03:04:25 PM
Oh dear... I noticed I cannot modify my posts anymore. Something new with the forum settings?

Anyway, I wanted to add to first post this:

WARNING: binutils is still buggy so you currently cannot take advantage of MacPorts +universal variant (neither for ppc/i386 nor i386/x86_64 architectures).

EDIT: no way to build Crypto++ on Snow Leopard... make shows no error but make install fails.
Title: Re: aMule-SVN (10.5+ | i386) [work in progress]
Post by: Kry on December 14, 2010, 10:28:58 PM
Why use macports anyway? Regular xcode gcc and the terminal should be enough - I haven't used macports for anything aMule related in a long time.
Title: Re: aMule-SVN (10.5+ | i386) [work in progress]
Post by: mirko.g on December 14, 2010, 11:38:46 PM
Why use macports anyway?
Because they mostly did the tricky part....  :P
Quote
Regular xcode gcc and the terminal should be enough - I haven't used macports for anything aMule related in a long time.
I really can't figure out how to get it working.
I know about GNUmakefile issue (http://groups.google.com/group/cryptopp-users/msg/7c43b9336292bf7e) and tried something like:
Code: [Select]
CXXFLAGS="-isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386" makebut even if it shows no error, I can see many:
Code: [Select]
ranlib: for architecture: i386 file: [i]something[/i].a(algebra.o) has no symbolsand subsequential
Code: [Select]
make install PREFIX=/usr/local/cryptoppfails.

Any hint?
Title: Re: aMule-SVN (10.5+ | i386) [work in progress]
Post by: Gerd78 on December 15, 2010, 12:13:04 AM
Do you really need the "make install" step for cryptopp at all? I never use it on Linux. cryptopp builds a static library only, which means that its location (the directory where it was compiled) must be passed to aMule's configure script, but it is not needed at runtime, hence no need to install it.
Title: Re: aMule-SVN (10.5+ | i386) [work in progress]
Post by: mirko.g on December 16, 2010, 02:17:17 AM
Unexpectedly I got it...

First post updated.

I'm tired as it's 2:00 a.m. here... but I noticed wxCas is not working as already happened with 2.2.6.
Please take a try and give feedback...
Title: Re: aMule-SVN (10.5+ | i386) [work in progress]
Post by: Kry on December 16, 2010, 05:45:54 AM
I'm pretty sure you can change your post.
Title: Re: aMule-SVN (10.5+ | i386) [work in progress]
Post by: mirko.g on December 16, 2010, 06:34:27 AM
I'm pretty sure you can change your post.

It seems like there's a kind of timeout as I can see "modify" link only for a few hours from the posting. At now I can see only the "quote" link over my messages...
Title: Re: aMule-SVN (10.5+ | i386) [work in progress]
Post by: Kry on December 16, 2010, 05:06:55 PM
I'm fairly sure you can. Careful tho, with great power, you know, all that stuff.
Title: Re: aMule-SVN (10.5+ | i386) [work in progress]
Post by: mirko.g on December 17, 2010, 01:58:21 AM
I'm fairly sure you can. Careful tho, with great power, you know, all that stuff.

Thank you sir... yeah I heard it somewhere before: "With great power comes great responsibility"...  ;)
Title: Re: aMule-SVN (10.5+ | i386) [work in progress]
Post by: Kry on December 17, 2010, 05:41:43 AM
In this case it's more in the line of "with great power, I know where you live" ;)
Title: Re: aMule-SVN (10.5+ | i386) [work in progress]
Post by: mirko.g on December 17, 2010, 10:44:07 AM
In this case it's more in the line of "with great power, I know where you live" ;)

I'm on way to become a veterinarian, I swear!!!
[This is what happens when someone spend too much time on movies... this reference is too hard for you mere mortals! :-X]
It's better I come back IT!  :P
Title: Re: aMule-SVN (10.5+ | i386) [r10400 released]
Post by: mirko.g on December 17, 2010, 01:56:47 PM
I tried wxCas on different machines and it keeps crashing due to wrong libiconv version:
Code: [Select]
Process:         wxcas [46068]
Path:            /Volumes/aMule-r10400-i386/Apps/wxCas.app/Contents/MacOS/wxcas
Identifier:      org.amule.wxCas
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  launchd [114]

Date/Time:       2010-12-17 13:44:53.298 +0100
OS Version:      Mac OS X 10.6.5 (10H574)
Report Version:  6

Interval Since Last Report:          729863 sec
Crashes Since Last Report:           2
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      9B887C28-275D-413C-8663-02A0DB382BF2

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
  Library not loaded: /opt/local/lib/libiconv.2.dylib
  Referenced from: /Volumes/aMule-r10400-i386/Apps/wxCas.app/Contents/MacOS/wxcas
  Reason: Incompatible library version: wxcas requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0

Binary Images:
0x8fe00000 - 0x8fe4162b  dyld 132.1 (???) <39AC3185-E633-68AA-7CD6-1230E7F1CEF4> /usr/lib/dyld

But:
Code: [Select]
$ otool -L /opt/local/lib/libiconv.2.dylib
/opt/local/lib/libiconv.2.dylib:
/opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.0.0)

EDIT: here it is...
Code: [Select]
$ otool -L /usr/lib/libiconv.2.dylib
/usr/lib/libiconv.2.dylib:
/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)

So, what is looking for? For local installation of libiconv? Apple won't never update it...
Title: Re: aMule-SVN (10.5+ | i386) [r10400 released]
Post by: Stu Redman on December 17, 2010, 08:02:45 PM
Um - is wxCas the only thing not working, or is it just the first the build stumbles on? I mean, hey, it's maybe not the most important part of the project. Maybe you start configuring just the monolith, and when that works set to work with the rest. Same with optional libs (geoip, upnp).
Title: Re: aMule-SVN (10.5+ | i386) [r10400 released]
Post by: mirko.g on December 18, 2010, 11:17:02 AM
Um - is wxCas the only thing not working, or is it just the first the build stumbles on? I mean, hey, it's maybe not the most important part of the project. Maybe you start configuring just the monolith, and when that works set to work with the rest. Same with optional libs (geoip, upnp).

I've been testing aMule for a few days and it seems stable. But it's on the same machine it has been compiled on. More feedback needed!
Title: Re: aMule-SVN (10.5+ | i386) [r10400 released]
Post by: MetalSnake on December 25, 2010, 10:14:08 AM
I'm on a Mac Book Pro Core Duo, (1st. Gen MBP) with OS X 10.6.5
I got no crashes yet, while the official aMule build crashed from time to time.

Normally I quit aMule after 10 hours or so, but these days I thought I let it run, now it's running since over 31 hours. :)

Only thing is, it seem to use quite a lot of CPU power, and that asian fonts bug isn't fixed yet. Besides that I'm happy with that build, thanks!
Title: Re: aMule-SVN (10.5+ | i386) [r10400 released]
Post by: Stu Redman on December 25, 2010, 06:38:47 PM
What Asian fonts bug?
Title: Re: aMule-SVN (10.5+ | i386) [r10400 released]
Post by: MetalSnake on December 25, 2010, 08:07:20 PM
This one: http://forum.amule.org/index.php?topic=17975.0
Title: Re: aMule-SVN (10.5+ | i386) [r10400 released]
Post by: mirko.g on January 07, 2011, 11:06:41 AM
Did anything change about Crypto++?
This is what I get configuring aMule-SVN-r10422:
Code: [Select]
checking for crypto++ version >= 5.1... grep: /../cryptopp/cryptlib.h: No such file or directory
no (version  is not new enough)
But I'm linking an already compiled version of Crypto++ 5.6.1, the same I already (successfully) used to build r10400.
Code: [Select]
macmini:cryptopp server$ ls cryptlib.h
cryptlib.h
Title: Re: aMule-SVN (10.5+ | i386) [r10400 released]
Post by: Stu Redman on January 07, 2011, 02:00:52 PM
Did anything change about Crypto++?
No.
Title: Re: aMule-SVN (10.5+ | i386) [r10400 released]
Post by: MetalSnake on February 07, 2011, 10:14:50 AM
After using this version for a while Im pretty happy with it, except that it uses almost 100% CPU on my first gen MBP 32bit dual core)
Any plans in relasing a new build soon?