aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 ... 3 4 [5] 6 7

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

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... (we got it!)
« Reply #60 on: September 17, 2009, 01:43:35 PM »

  • Do you think 2.8 compatibility is needed to have aMule working with 2.9+?
I don't know for sure, but we won't drop 2.8 compatibility for an unstable, that's sure. So most likely it doesn't hurt enabling it,  but best is if it works without that.

  • Does aMule use the wxWidgets embedded web browser? Starting from 2.9 you are allowed to use WebKit...
No. We use the wxHTTP class for HTTP downloads, nothing else.

  • Since I saw it somewhere... Does aMule need OpenGL support?
No.
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... (we got it!)
« Reply #61 on: September 17, 2009, 05:31:23 PM »

Thanks for your answers!

In the meanwhile: wxWidgets r61951 build fails with the same configurations... I hope they will release soon 2.9.1. There are tons of patches released since 2.9.0!
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... (we got it!)
« Reply #62 on: September 17, 2009, 10:53:51 PM »

It seems aMule can't dinamically load libiconv... Do you think it depends on wxWidgets?
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... (we got it!)
« Reply #63 on: September 17, 2009, 11:08:00 PM »

More like I think you have a newer version of libiconv than on a fresh Snow Leopard.
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... (we got it!)
« Reply #64 on: September 18, 2009, 07:23:15 AM »

More like I think you have a newer version of libiconv than on a fresh Snow Leopard.

It's strange... on previous version of Mac OS X libiconv was not provided at all... I thought it was directly included into aMule package (according to --with-libiconv-prefix directive)...
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... (we got it!)
« Reply #65 on: September 18, 2009, 09:10:45 AM »

Well I checked aMule.app/Content/Framework folders of both Leopard and Snow Leopard version. This is the content on a full featured aMule 2.2.5 built against wxWidgets 2.8:
Code: [Select]
drwxr-xr-x@ 19 mirko  staff      646 28 Ago 14:56 .
drwxr-xr-x@  9 mirko  staff      306 28 Ago 14:56 ..
-rw-r--r--@  1 mirko  staff   212868 28 Ago 14:56 libGeoIP.1.dylib
-rw-r--r--@  1 mirko  staff  1204224 28 Ago 14:56 libX11.6.dylib
-rw-r--r--@  1 mirko  staff    13724 28 Ago 14:56 libXau.6.dylib
-rw-r--r--@  1 mirko  staff    23012 28 Ago 14:56 libXdmcp.6.dylib
-rw-r--r--@  1 mirko  staff    68148 28 Ago 14:56 libXpm.4.dylib
-rw-r--r--@  1 mirko  staff   146384 28 Ago 14:56 libexpat.1.dylib
-rw-r--r--@  1 mirko  staff   201752 28 Ago 14:56 libfontconfig.1.dylib
-rw-r--r--@  1 mirko  staff   540172 28 Ago 14:56 libfreetype.6.dylib
-rw-r--r--@  1 mirko  staff   246612 28 Ago 14:56 libgd.2.dylib
-rw-r--r--@  1 mirko  staff  1065668 28 Ago 14:56 libiconv.2.dylib
-rw-r--r--@  1 mirko  staff    47860 28 Ago 14:56 libintl.8.dylib
-rw-r--r--@  1 mirko  staff    41104 28 Ago 14:56 libixml.2.dylib
-rw-r--r--@  1 mirko  staff   139616 28 Ago 14:56 libjpeg.62.dylib
-rw-r--r--@  1 mirko  staff   154892 28 Ago 14:56 libpng12.0.dylib
-rw-r--r--@  1 mirko  staff    23496 28 Ago 14:56 libthreadutil.2.dylib
-rw-r--r--@  1 mirko  staff   126564 28 Ago 14:56 libupnp.3.dylib
-rw-r--r--@  1 mirko  staff    83040 28 Ago 14:56 libz.1.dylib

And this is the same folder on my last aMule build for Snow Leopard:
Code: [Select]
drwxr-xr-x  5 mirko  staff     170 15 Set 22:37 .
drwxr-xr-x  8 mirko  staff     272 17 Set 09:25 ..
-rwxr-xr-x  1 mirko  staff   89940 17 Set 09:25 libixml.2.dylib
-rwxr-xr-x  1 mirko  staff   48004 17 Set 09:25 libthreadutil.2.dylib
-rwxr-xr-x  1 mirko  staff  255344 17 Set 09:25 libupnp.3.dylib

I think something is missing!  :-\
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... (we got it!)
« Reply #66 on: September 18, 2009, 01:13:04 PM »

wxWidgets r61951 build fails with the same configurations...

And now I know why: http://trac.wxwidgets.org/ticket/11203!
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... (we got it!)
« Reply #67 on: September 18, 2009, 02:59:07 PM »

aMule r9811 (on wx r61956) build failed (with same flags of the one successfully built):

Code: [Select]
rm -f libmuleappcore.a
ar cru libmuleappcore.a libmuleappcore_a-AsyncDNS.o libmuleappcore_a-DeadSourceList.o libmuleappcore_a-FileArea.o libmuleappcore_a-FileAutoClose.o libmuleappcore_a-Scanner.o libmuleappcore_a-Parser.o libmuleappcore_a-PlatformSpecific.o libmuleappcore_a-Entry.o libmuleappcore_a-SearchManager.o libmuleappcore_a-RoutingBin.o libmuleappcore_a-RandomFunctions.o libmuleappcore_a-StateMachine.o libmuleappcore_a-ThreadScheduler.o libmuleappcore_a-UInt128.o
ranlib libmuleappcore.a
rm -f libmuleappgui.a
ar cru libmuleappgui.a libmuleappgui_a-BarShader.o libmuleappgui_a-ChatWnd.o libmuleappgui_a-ColorFrameCtrl.o libmuleappgui_a-CommentDialog.o libmuleappgui_a-CommentDialogLst.o libmuleappgui_a-EditServerListDlg.o libmuleappgui_a-listctrl.o libmuleappgui_a-FileDetailListCtrl.o libmuleappgui_a-MuleGifCtrl.o libmuleappgui_a-MuleListCtrl.o libmuleappgui_a-MuleNotebook.o libmuleappgui_a-MuleTextCtrl.o libmuleappgui_a-MuleCollection.o libmuleappgui_a-muuli_wdr.o
ranlib libmuleappgui.a
rm -f libmuleappcommon.a
ar cru libmuleappcommon.a libmuleappcommon_a-CFile.o libmuleappcommon_a-DataToText.o libmuleappcommon_a-ED2KLink.o libmuleappcommon_a-MagnetURI.o libmuleappcommon_a-MemFile.o libmuleappcommon_a-NetworkFunctions.o libmuleappcommon_a-Packet.o libmuleappcommon_a-RLE.o libmuleappcommon_a-SafeFile.o libmuleappcommon_a-SHA.o libmuleappcommon_a-Tag.o libmuleappcommon_a-Timer.o
ranlib libmuleappcommon.a
if g++ -DHAVE_CONFIG_H -I. -I. -I..  -no-cpp-precomp -D_INTL_REDIRECT_MACROS -DNOPCH -DUSE_WX_EXTENSIONS   -I/Users/mirko/Desktop/TEMP/wxWidgets_r61956/lib/wx/include/osx_cocoa-unicode-static-2.9 -I/Users/mirko/Desktop/TEMP/wxWidgets_r61956/include -D_FILE_OFFSET_BITS=64 -D__WXOSX_COCOA__  -I./libs -Ilibs -I./include -I/opt/local//include -D__WEAK_CRYPTO__ -I/opt/local/include -W -Wall -Wshadow -Wundef    -MT amule-ECSpecialMuleTags.o -MD -MP -MF ".deps/amule-ECSpecialMuleTags.Tpo" -c -o amule-ECSpecialMuleTags.o `test -f 'ECSpecialMuleTags.cpp' || echo './'`ECSpecialMuleTags.cpp; \
then mv -f ".deps/amule-ECSpecialMuleTags.Tpo" ".deps/amule-ECSpecialMuleTags.Po"; else rm -f ".deps/amule-ECSpecialMuleTags.Tpo"; exit 1; fi
ECSpecialMuleTags.cpp: In constructor ‘CEC_Prefs_Packet::CEC_Prefs_Packet(uint32, EC_DETAIL_LEVEL, EC_DETAIL_LEVEL)’:
ECSpecialMuleTags.cpp:287: error: call of overloaded ‘CECTag(ECTagNames, size_t&)’ is ambiguous
./libs/ec/cpp/ECTag.h:114: note: candidates are: CECTag::CECTag(ec_tagname_t, const char*) <near match>
./libs/ec/cpp/ECTag.h:113: note:                 CECTag::CECTag(ec_tagname_t, const wxChar*) <near match>
./libs/ec/cpp/ECTag.h:112: note:                 CECTag::CECTag(ec_tagname_t, const wxString&)
./libs/ec/cpp/ECTag.h:108: note:                 CECTag::CECTag(ec_tagname_t, const std::string&) <near match>
./libs/ec/cpp/ECTag.h:107: note:                 CECTag::CECTag(ec_tagname_t, double)
./libs/ec/cpp/ECTag.h:106: note:                 CECTag::CECTag(ec_tagname_t, uint64_t)
./libs/ec/cpp/ECTag.h:105: note:                 CECTag::CECTag(ec_tagname_t, uint32_t)
./libs/ec/cpp/ECTag.h:104: note:                 CECTag::CECTag(ec_tagname_t, uint16_t)
./libs/ec/cpp/ECTag.h:103: note:                 CECTag::CECTag(ec_tagname_t, uint8_t)
./libs/ec/cpp/ECTag.h:102: note:                 CECTag::CECTag(ec_tagname_t, bool)
make[3]: *** [amule-ECSpecialMuleTags.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
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... (we got it!)
« Reply #68 on: September 18, 2009, 05:28:36 PM »

More like I think you have a newer version of libiconv than on a fresh Snow Leopard.

If I copy libiconv.2.dylib into aMule.app/Contents/Frameworks aMule crashes after 5 seconds with the attached errors.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMule, wxWidgets 2.9+ and Snow Leopard... (we got it!)
« Reply #69 on: September 18, 2009, 09:40:42 PM »

aMule r9811 (on wx r61956) build failed (with same flags of the one successfully built):
Compiled flawlessly on Win32 and Ubuntu (32). Should be fixed in 9812. The other compile junkies seem to be busy with 2.2.6 right now - no post in "compilation problems".

Did you also run it? Does it work?

Committed the patched sources with 9813. What about the configure script? What did you change, and what happens when you run the original one? You know, configure is generated, so you can't simply patch it.
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

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... (we got it!)
« Reply #70 on: September 18, 2009, 11:25:12 PM »

What about the configure script? What did you change, [...]? You know, configure is generated, so you can't simply patch it.

mirko.g, if you give me your modified configure script, I'll patch its sources.
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... (we got it!)
« Reply #71 on: September 19, 2009, 04:56:30 PM »

mirko.g, if you give me your modified configure script, I'll patch its sources.

Thanks!
This is the configure taken from aMule 2.2.6: I added a toolkit entry for both "cocoa" and "osx_cocoa". I'm using the latter indeed (since it seems to be recommended), but I'm not sure the former is deprecated. wxWidgets still provides two distinct features: --with-cocoa and --with-osx_cocoa...
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... (we got it!)
« Reply #72 on: September 20, 2009, 03:16:44 AM »

The tarball for rev. 9815 contains your changes and some more...
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... (we got it!)
« Reply #73 on: September 20, 2009, 10:53:03 AM »

For your interest  :D

wxWidgets r61977 + aMule r9814

aMule configuration fails with this error:
Code: [Select]
configure: error:
    The requested wxWidgets build couldn't be found.
    
    The configuration you asked for aMule requires a wxWidgets
    build with the following settings:
        --unicode=yes
    but such build is not available.

wx has been correctly configured with --enable-unicode and I cannot see any error but I guess it's a wx fault...  ::)
« Last Edit: September 20, 2009, 10:55:27 AM by mirko.g »
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... (we got it!)
« Reply #74 on: September 20, 2009, 11:45:10 AM »

wxWidgets r61977 + aMule r9814

For that you still use your patched configure script, don't you?

Setting WX_DEBUG_CONFIGURE=1 will provide more information on wx detection, such as
Code: [Select]
$ WX_DEBUG_CONFIGURE=1 ./configure --blahblah

Also, `wx-config --list` and `wx-config --selected-config` might be to your help.
Logged
concordia cum veritate
Pages: 1 ... 3 4 [5] 6 7