aMule Forum

English => Compilation problems => Topic started by: Mandarine on April 18, 2006, 08:57:08 PM

Title: Problem with wx and aMule
Post by: Mandarine on April 18, 2006, 08:57:08 PM
Hello,

I've tried to compile wx 2.6.3 and aMule 2.1.1 from the sources. Everything seemed to work fine (no errors) but when I try to start aMule I get the message:

Code: [Select]
amule@mandarine:/usr/local/bin$ amuled
amuled: OnInit - starting timer
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
Loading temp files from /home/amule/.aMule/Temp.

All PartFiles Loaded.
ListenSocket: Ok.

*** TCP socket (ECServer) listening on 0.0.0.0:4712
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
Empty dir /home/amule/.aMule/Incoming shared

Now, exiting main app...
aMule OnExit: Terminating core.
aMule shutdown completed.
        aMule Version: aMuled 2.1.1 using wxGTK2 v2.6.2 (Unicoded)

Terminated after throwing an instance of 'std::bad_alloc'
        what(): St9bad_alloc
        backtrace:
[2] CamuleApp::OnUnhandledException() in amule.cpp:1987
[3] wxEntry(int&, wchar_t**) in /usr/local/lib/libwx_baseu-2.6.so.0[0x40128a47]
[4] wxEntry(int&, char**) in /usr/local/lib/libwx_baseu-2.6.so.0[0x40128abe]
[5] __gxx_personality_v0 in amuled.cpp:132
[6] __libc_start_main in /lib/libc.so.6[0x4030c3be]
[7] wxAppConsole::Initialize(int&, wchar_t**) in start.S:122

Abgebrochen
amule@mandarine:/usr/local/bin$
What makes me curios is that I compiled wxGTK 2.6.3 and the message says: 2.6.2 ??

Can anybody help?

Sascha
Title: Re: Problem with wx and aMule
Post by: stefanero on April 18, 2006, 10:10:30 PM
maybe you have 2 wx installed ?

one in /usr/ and one in /usr/local/


looks like amuled starts and then exits?
or does this crash happen while running??
Title: Re: Problem with wx and aMule
Post by: Mandarine on April 19, 2006, 07:42:16 AM
Quote
Originally posted by stefanero
maybe you have 2 wx installed ?

one in /usr/ and one in /usr/local/

How can I check that? How can I delete one?

Quote
looks like amuled starts and then exits?
or does this crash happen while running??

no, it just starts and then exits. I'm using the webinterface but the server isn't reachable (Everything worked fine with aMule 2.0.3 and wxGTK 2.5.3) ...
Title: Re: Problem with wx and aMule
Post by: stefanero on April 19, 2006, 08:59:12 AM
check if you have a wx-config in

/usr/bin/

and one in

/usr/local/bin/
Title: Re: Problem with wx and aMule
Post by: Mandarine on April 19, 2006, 08:49:56 PM
I do have two wx-config's in that two directories ...

what now?
Title: Re: Problem with wx and aMule
Post by: stefanero on April 19, 2006, 09:03:50 PM
remove / uninstall both and restart from wxGTK compile...this would be the cleanes way

http://www.amule.org/wiki/index.php/How_to_uninstall_wxWidgets