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] 4 5 ... 7

Author Topic: aMule, wxWidgets 2.9+ and Snow Leopard... (we got it!)  (Read 68654 times)

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #30 on: September 15, 2009, 03:57:53 PM »

Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

mirko.g

  • Global Moderator
  • Full Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 188
  • Grattatio pallorum omnia mala repellent!
    • Personal WebSite
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #31 on: September 15, 2009, 04:06:11 PM »

You are not alone with this problem.

Well... but the portfile should be built from scratch and should have nothing in common with libiconv from Apple.
This is why I'm not using the "ready_for_use" libiconv into /usr/lib. Do you mean that there's something wrong with Mac OS itself?  :-\
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #32 on: September 15, 2009, 04:14:06 PM »

There is a lot wrong with Mac OS itself.  ;D
I can't really help you with this one - you probably know more about it then me.

Now please run aMule's configure with --disable-nls , clean, rebuild and see if that works around the problem. (And please use my patched amule.cpp instead of the one where you removed the sections. These two problems are unrelated.)
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

mirko.g

  • Global Moderator
  • Full Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 188
  • Grattatio pallorum omnia mala repellent!
    • Personal WebSite
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #33 on: September 15, 2009, 04:33:16 PM »

No way...  :(

Code: [Select]
g++ -W -Wall -Wshadow -Wundef  -bind_at_load -lpthread  -o amule  amule-CaptchaDialog.o amule-CaptchaGenerator.o amule-RC4Encrypt.o amule-amule.o amule-BaseClient.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-Friend.o amule-FriendList.o amule-HTTPDownload.o amule-IPFilter.o amule-KnownFileList.o amule-ListenSocket.o amule-MuleUDPSocket.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-UPnPBase.o amule-amule-gui.o amule-amuleDlg.o amule-AddFriend.o amule-CatDialog.o amule-ChatSelector.o amule-ClientDetailDialog.o amule-FileDetailDialog.o amule-KadDlg.o amule-OScopeCtrl.o amule-PartFileConvert.o amule-PrefsUnifiedDlg.o amule-SearchDlg.o amule-ServerWnd.o amule-SharedFilesWnd.o amule-StatisticsDlg.o amule-SearchListCtrl.o amule-DownloadListCtrl.o amule-ClientListCtrl.o amule-FriendListCtrl.o amule-ServerListCtrl.o amule-SharedFilesCtrl.o amule-MuleTrayIcon.o amule-MuleColour.o amule-TransferWnd.o  amule-ClientCredits.o amule-ECSpecialMuleTags.o amule-KnownFile.o amule-GapList.o amule-GetTickCount.o amule-GuiEvents.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-TerminationProcess.o amule-TerminationProcessAmuleweb.o amule-UserEvents.o amule-OtherFunctions.o amule-NetworkFunctions.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/TEMP/wxWidgets_trunk/lib   -framework QuickTime -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL  /Users/mirko/Desktop/TEMP/wxWidgets_trunk/lib/libwx_osx_cocoau_adv-2.9.a /Users/mirko/Desktop/TEMP/wxWidgets_trunk/lib/libwx_osx_cocoau_core-2.9.a /Users/mirko/Desktop/TEMP/wxWidgets_trunk/lib/libwx_baseu_net-2.9.a /Users/mirko/Desktop/TEMP/wxWidgets_trunk/lib/libwx_baseu-2.9.a -framework WebKit -lwxregexu-2.9 -lwxtiff-2.9 -lwxjpeg-2.9 -lwxpng-2.9 -lz -lpthread -liconv    
ld: warning: in /System/Library/Frameworks//QuickTime.framework/QuickTime, missing required architecture x86_64 in file
Undefined symbols:
  "_iconv_open", referenced from:
      wxMBConv_iconv::wxMBConv_iconv(char const*)in libwx_baseu-2.9.a(baselib_strconv.o)
      wxMBConv_iconv::wxMBConv_iconv(char const*)in libwx_baseu-2.9.a(baselib_strconv.o)
      wxMBConv_iconv::wxMBConv_iconv(char const*)in libwx_baseu-2.9.a(baselib_strconv.o)
      wxMBConv_iconv::wxMBConv_iconv(char const*)in libwx_baseu-2.9.a(baselib_strconv.o)
  "_iconv", referenced from:
      wxMBConv_iconv::ToWChar(wchar_t*, unsigned long, char const*, unsigned long) constin libwx_baseu-2.9.a(baselib_strconv.o)
      wxMBConv_iconv::ToWChar(wchar_t*, unsigned long, char const*, unsigned long) constin libwx_baseu-2.9.a(baselib_strconv.o)
      wxMBConv_iconv::FromWChar(char*, unsigned long, wchar_t const*, unsigned long) constin libwx_baseu-2.9.a(baselib_strconv.o)
      wxMBConv_iconv::FromWChar(char*, unsigned long, wchar_t const*, unsigned long) constin libwx_baseu-2.9.a(baselib_strconv.o)
      wxMBConv_iconv::GetMBNulLen() const  in libwx_baseu-2.9.a(baselib_strconv.o)
      wxMBConv_iconv::wxMBConv_iconv(char const*)in libwx_baseu-2.9.a(baselib_strconv.o)
  "_iconv_close", referenced from:
      wxMBConv_iconv::~wxMBConv_iconv()in libwx_baseu-2.9.a(baselib_strconv.o)
      wxMBConv_iconv::~wxMBConv_iconv()in libwx_baseu-2.9.a(baselib_strconv.o)
      wxMBConv_iconv::~wxMBConv_iconv()in libwx_baseu-2.9.a(baselib_strconv.o)
      wxMBConv_iconv::~wxMBConv_iconv()in libwx_baseu-2.9.a(baselib_strconv.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

EDIT: I used
Code: [Select]
./configure --disable-debug --with-wxdir=../wxWidgets_trunk/ --with-crypto-prefix=/opt/local/ --with-gdlib-config=/opt/local/bin/gdlib-config --disable-nls --with-toolkit=osx_cocoa
Logged

mirko.g

  • Global Moderator
  • Full Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 188
  • Grattatio pallorum omnia mala repellent!
    • Personal WebSite
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #34 on: September 15, 2009, 05:11:28 PM »

Uhm... there's something still not clear to me. I cannot forget this strange behavior: what if the same error occurred with libiconv?
Code: [Select]
$ locate libiconv
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libiconv.2.2.0.dylib
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libiconv.2.dylib
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libiconv.dylib
/Developer/SDKs/MacOSX10.5.sdk/usr/include/php/ext/iconv/php_have_libiconv.h
/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libiconv.2.4.0.dylib
/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libiconv.2.dylib
/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libiconv.dylib
/Developer/SDKs/MacOSX10.6.sdk/usr/include/php/ext/iconv/php_have_libiconv.h
/Developer/SDKs/MacOSX10.6.sdk/usr/lib/libiconv.2.4.0.dylib
/Developer/SDKs/MacOSX10.6.sdk/usr/lib/libiconv.2.dylib
/Developer/SDKs/MacOSX10.6.sdk/usr/lib/libiconv.dylib
/opt/local/lib/libiconv.2.dylib
/opt/local/lib/libiconv.a
/opt/local/lib/libiconv.dylib
/opt/local/lib/libiconv.la
/opt/local/share/doc/libiconv-1.13
/opt/local/share/doc/libiconv-1.13/iconv.1.html
/opt/local/share/doc/libiconv-1.13/iconv.3.html
/opt/local/share/doc/libiconv-1.13/iconv_close.3.html
/opt/local/share/doc/libiconv-1.13/iconv_open.3.html
/opt/local/share/doc/libiconv-1.13/iconv_open_into.3.html
/opt/local/share/doc/libiconv-1.13/iconvctl.3.html
/opt/local/var/macports/distfiles/libiconv
/opt/local/var/macports/distfiles/libiconv/libiconv-1.13.tar.gz
/opt/local/var/macports/receipts/libiconv
/opt/local/var/macports/receipts/libiconv/1.13_0
/opt/local/var/macports/receipts/libiconv/1.13_0/receipt.bz2
/opt/local/var/macports/software/libiconv
/opt/local/var/macports/software/libiconv/1.13_0
/opt/local/var/macports/software/libiconv/1.13_0/opt
/opt/local/var/macports/software/libiconv/1.13_0/opt/local
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/bin
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/bin/iconv
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/include
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/include/iconv.h
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/include/libcharset.h
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/include/localcharset.h
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/lib
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/lib/libcharset.1.dylib
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/lib/libcharset.a
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/lib/libcharset.dylib
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/lib/libcharset.la
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/lib/libiconv.2.dylib
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/lib/libiconv.a
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/lib/libiconv.dylib
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/lib/libiconv.la
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/share
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/share/doc
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/share/doc/libiconv-1.13
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/share/doc/libiconv-1.13/iconv.1.html
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/share/doc/libiconv-1.13/iconv.3.html
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/share/doc/libiconv-1.13/iconv_close.3.html
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/share/doc/libiconv-1.13/iconv_open.3.html
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/share/doc/libiconv-1.13/iconv_open_into.3.html
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/share/doc/libiconv-1.13/iconvctl.3.html
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/share/man
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/share/man/man1
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/share/man/man1/iconv.1.gz
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/share/man/man3
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/share/man/man3/iconv.3.gz
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/share/man/man3/iconv_close.3.gz
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/share/man/man3/iconv_open.3.gz
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/share/man/man3/iconv_open_into.3.gz
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/share/man/man3/iconvctl.3.gz
/opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
/opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv/Portfile
/opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv/files
/opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv/files/patch-Makefile.devel
/opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv/files/patch-src-Makefile.in-darwin.diff
/opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv/files/patch-utf8mac.diff
/opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/recode/files/patch-src_libiconv.c.diff
/usr/include/php/ext/iconv/php_have_libiconv.h
/usr/lib/libiconv.2.4.0.dylib
/usr/lib/libiconv.2.dylib
/usr/lib/libiconv.dylib

and
Code: [Select]
$ locate iconv.h
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/iconv.h
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/php/ext/iconv/php_iconv.h
/Developer/SDKs/MacOSX10.5.sdk/usr/include/iconv.h
/Developer/SDKs/MacOSX10.5.sdk/usr/include/php/ext/iconv/php_have_bsd_iconv.h
/Developer/SDKs/MacOSX10.5.sdk/usr/include/php/ext/iconv/php_have_glibc_iconv.h
/Developer/SDKs/MacOSX10.5.sdk/usr/include/php/ext/iconv/php_have_iconv.h
/Developer/SDKs/MacOSX10.5.sdk/usr/include/php/ext/iconv/php_have_libiconv.h
/Developer/SDKs/MacOSX10.5.sdk/usr/include/php/ext/iconv/php_iconv.h
/Developer/SDKs/MacOSX10.6.sdk/usr/include/iconv.h
/Developer/SDKs/MacOSX10.6.sdk/usr/include/php/ext/iconv/php_have_bsd_iconv.h
/Developer/SDKs/MacOSX10.6.sdk/usr/include/php/ext/iconv/php_have_glibc_iconv.h
/Developer/SDKs/MacOSX10.6.sdk/usr/include/php/ext/iconv/php_have_ibm_iconv.h
/Developer/SDKs/MacOSX10.6.sdk/usr/include/php/ext/iconv/php_have_iconv.h
/Developer/SDKs/MacOSX10.6.sdk/usr/include/php/ext/iconv/php_have_libiconv.h
/Developer/SDKs/MacOSX10.6.sdk/usr/include/php/ext/iconv/php_iconv.h
/opt/local/include/iconv.h
/opt/local/var/macports/software/libiconv/1.13_0/opt/local/include/iconv.h
/usr/include/iconv.h
/usr/include/php/ext/iconv/php_have_bsd_iconv.h
/usr/include/php/ext/iconv/php_have_glibc_iconv.h
/usr/include/php/ext/iconv/php_have_ibm_iconv.h
/usr/include/php/ext/iconv/php_have_iconv.h
/usr/include/php/ext/iconv/php_have_libiconv.h
/usr/include/php/ext/iconv/php_iconv.h
« Last Edit: September 15, 2009, 05:16:28 PM by mirko.g »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #35 on: September 15, 2009, 06:23:19 PM »

You are using the header from /opt/local/include, and probably the dynamic lib from /usr/lib (with the matching header in /usr/include). That's the problem I'd guess. Why do you have two in the first place?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

mirko.g

  • Global Moderator
  • Full Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 188
  • Grattatio pallorum omnia mala repellent!
    • Personal WebSite
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #36 on: September 16, 2009, 10:03:57 AM »

You are using the header from /opt/local/include, and probably the dynamic lib from /usr/lib (with the matching header in /usr/include). That's the problem I'd guess. Why do you have two in the first place?

The one in /usr/lib is provided by Apple and I suppose it comes with Xcode 3.2, while the one in /opt/local/lib has been installed by me through macports...
How to prevent aMule from searching in any other folder?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #37 on: September 16, 2009, 10:31:49 AM »

I'm no expert, but I believe that's currently not possible without hacks.

Try replacing "-liconv" with the path to the library file, for instance "/opt/local/var/macports/software/libiconv/1.13_0/opt/local/lib/libiconv.a" (this should link libiconv statically preventing problems on other computers without the Macports libiconv).
« Last Edit: September 16, 2009, 11:57:34 AM by wuischke »
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #38 on: September 16, 2009, 10:44:04 AM »

Now, before starting to add evil hacks to aMule, it's wxWidgets that fails to link with libiconv. Do you still have the config.log from the wxWidgets configuration? Also, if you remember, the configure flags used.
Logged
concordia cum veritate

mirko.g

  • Global Moderator
  • Full Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 188
  • Grattatio pallorum omnia mala repellent!
    • Personal WebSite
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #39 on: September 16, 2009, 10:55:28 AM »

Now, before starting to add evil hacks to aMule, it's wxWidgets that fails to link with libiconv. Do you still have the config.log from the wxWidgets configuration? Also, if you remember, the configure flags used.

These are the configure flags I used:
Code: [Select]
./configure --enable-unicode --disable-shared --disable-debug --disable-debug_gdb --with-osx_cocoa --with-macosx-version-min=10.6
and this is the last portion of the config log...
Code: [Select]
Libtiff is now configured for i386-apple-darwin10.0.0

  Installation directory:             /usr/local
  Documentation directory:            ${prefix}/share/doc/tiff-3.8.2
  C compiler:                         gcc -g -O2 -Wall -W
  C++ compiler:                       g++ -g -O2
  Enable runtime linker paths:        no
  Support Microsoft Document Imaging: yes

 Support for internal codecs:
  CCITT Group 3 & 4 algorithms:       yes
  Macintosh PackBits algorithm:       yes
  LZW algorithm:                      yes
  ThunderScan 4-bit RLE algorithm:    yes
  NeXT 2-bit RLE algorithm:           yes
  LogLuv high dynamic range encoding: yes

 Support for external codecs:
  ZLIB support:                       yes
  Pixar log-format algorithm:         yes
  JPEG support:                       no
  Old JPEG support:                   no

  C++ support:                        yes

  OpenGL support:                     no


Configured wxWidgets 2.9.0 for `i686-apple-darwin10.0.0'

  Which GUI toolkit should wxWidgets use?                 osx_cocoa
  Should wxWidgets be compiled into single library?       no
  Should wxWidgets be compiled in debug mode?             no
  Should wxWidgets be linked as a shared library?         no
  Should wxWidgets support Unicode?                       yes (using UTF-8)
  What level of wxWidgets compatibility should be enabled?
                                       wxWidgets 2.6      no
                                       wxWidgets 2.8      no
  Which libraries should wxWidgets use?
                                       STL                no
                                       jpeg               builtin
                                       png                builtin
                                       regex              builtin
                                       tiff               builtin
                                       zlib               sys
                                       expat              sys
                                       libmspack          no
                                       sdl                no

Anyway, I'm building from scratch last wxWidgets trunk (r61942)...
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #40 on: September 16, 2009, 11:04:38 AM »

Please post the full log.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

mirko.g

  • Global Moderator
  • Full Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 188
  • Grattatio pallorum omnia mala repellent!
    • Personal WebSite
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #41 on: September 16, 2009, 11:42:12 AM »

I have just (successfully) built last revision of wxWidgets with:
Code: [Select]
./configure --enable-unicode --disable-shared --disable-debug --disable-debug_gdb --with-osx_cocoa --with-macosx-version-min=10.6 --with-libiconv-prefix=/opt/local/and I got the attached conflog.
Logged

mirko.g

  • Global Moderator
  • Full Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 188
  • Grattatio pallorum omnia mala repellent!
    • Personal WebSite
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #42 on: September 16, 2009, 12:05:18 PM »

Great... thank you all! With the config above I was able to build aMule... now we have to make it working!  :P
It crashes after a couple of seconds... crashlog attached.
« Last Edit: September 16, 2009, 12:11:32 PM by mirko.g »
Logged

mirko.g

  • Global Moderator
  • Full Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 188
  • Grattatio pallorum omnia mala repellent!
    • Personal WebSite
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #43 on: September 16, 2009, 12:11:11 PM »

Config flags I used to build amule:
Code: [Select]
./configure --disable-debug --with-wxdir=../wxWidgets_r61942/ --with-crypto-prefix=/opt/local/ --with-gdlib-config=/opt/local/bin/gdlib-config --with-libiconv-prefix=/opt/local --with-toolkit=osx_cocoaThere is the conflog attached.

And this is what I got from mac_packager:
Code: [Select]
$ ./src/utils/scripts/mac_packager

-n Step 1: Cleaning bundle...
Done

-n Step 2: Copying aMule to app bundle...
cp: src/webserver/src/amuleweb: No such file or directory
cp: src/amulecmd: No such file or directory
Done

-n Step 3: Installing translations to app bundle...
Done

Step 4: Copying libs to Framework
    wxWidgets...
otool: can't open file: aMule.app/Contents/MacOS/amuleweb (No such file or directory)
otool: can't open file: aMule.app/Contents/MacOS/amulecmd (No such file or directory)
Libs copy done.

Step 5: Update libs info
    Updating libixml.2.dylib
    Updating aMule lib info for libixml.2.dylib
otool: can't open file: MacOS/amuleweb (No such file or directory)
otool: can't open file: MacOS/amulecmd (No such file or directory)
    Updating libthreadutil.2.dylib
    Updating aMule lib info for libthreadutil.2.dylib
otool: can't open file: MacOS/amuleweb (No such file or directory)
otool: can't open file: MacOS/amulecmd (No such file or directory)
    Updating libupnp.3.dylib
    Updating aMule lib info for libupnp.3.dylib
otool: can't open file: MacOS/amuleweb (No such file or directory)
otool: can't open file: MacOS/amulecmd (No such file or directory)
Libs info updated, aMule.app is ready to package.

-n Creating aMule.zip...
Done

I added since there is no aMule.zip in the folder...
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #44 on: September 16, 2009, 01:42:17 PM »

Now - how did you solve the libiconv problem? Did it just vanish with the new wx SVN? (Or with the way you built it...)
Code: [Select]
Dyld Error Message:
  Library not loaded: @executable_path/../Frameworks/libupnp.3.dylib
  Referenced from: /Users/mirko/Desktop/TEMP/aMule-SVN-r9803/aMule.app/Contents/MacOS/amule
  Reason: no suitable image found.  Did find:
/Users/mirko/Desktop/TEMP/aMule-SVN-r9803/aMule.app/Contents/MacOS/../Frameworks/libupnp.3.dylib: no matching architecture in universal wrapper
/Users/mirko/Desktop/TEMP/aMule-SVN-r9803/aMule.app/Contents/MacOS/../Frameworks/libupnp.3.dylib: no matching architecture in universal wrapper
Either solve that, or recompile aMule without uPnP.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon
Pages: 1 2 [3] 4 5 ... 7