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

Author Topic: aMule won't start  (Read 6220 times)

NiKo87

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 49
aMule won't start
« on: April 03, 2006, 10:12:55 PM »

Hi, I managed to compile aMule 2.1.1 under MacOS X using the wxWidgets 2.6.3. But now when I open my .app the icon bounces in the dock for some seconds but then nothing happens. What could be the problem? Thanks.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: aMule won't start
« Reply #1 on: April 03, 2006, 10:16:58 PM »

Hello NiKo!

Could you please launch aMule out of a terminal and post the output here?

Quote
Originally posted by lionel77
  • Control-click on the aMule application icon in the Finder and select Show Package Contents
  • Navigate to Contents/MacOS where you should see the file 'amule'
  • Open /Applications/Utilities/Terminal.app
  • Drag the amule file from the Finder and drop it in the Terminal window
  • Press return to start amule
Logged

NiKo87

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 49
Re: aMule won't start
« Reply #2 on: April 03, 2006, 10:22:25 PM »

It gave me "bus error".
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule won't start
« Reply #3 on: April 03, 2006, 10:26:44 PM »

Is that official sources or modded ones?
Logged

NiKo87

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 49
Re: aMule won't start
« Reply #4 on: April 03, 2006, 10:36:45 PM »

Official souce, but without debug. Should I recompile it using debug?
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule won't start
« Reply #5 on: April 03, 2006, 11:38:12 PM »

might be a good idea.
Logged

NiKo87

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 49
Re: aMule won't start
« Reply #6 on: April 04, 2006, 03:07:36 PM »

Ok, I've just compiled it with debug enabled. The error is always the same, bus error.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: aMule won't start
« Reply #7 on: April 04, 2006, 03:24:17 PM »

how about you post it here?!
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

NiKo87

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 49
Re: aMule won't start
« Reply #8 on: April 04, 2006, 03:46:38 PM »

Last login: Tue Apr  4 15:13:14 on ttyp1
Welcome to Darwin!
imac-g5-di-mario-mazzoli:~ MaMaK$ /Users/MaMaK/Desktop/aMule/aMule.app/Contents/MacOS/amule
Bus error
imac-g5-di-mario-mazzoli:~ MaMaK$
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule won't start
« Reply #9 on: April 04, 2006, 03:49:35 PM »

Wrong compilation/linking.
Logged

NiKo87

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 49
Re: aMule won't start
« Reply #10 on: April 04, 2006, 08:02:01 PM »

./configure --enable-optimize --enable-kad-compile --disable-debug --disable-systray --disable-gtk --with-wx-config=../wxMac-2.6.3/build/wx-config

This is what I used to configure aMule and this is for wxMac:

./configure --disable-shared --enable-unicode --enable-largefile

I also used --build=powerpc-apple-darwin8, --host=powerpc-apple-darwin8 e --target=powerpc-apple-darwin8 for both the compilations.
Logged

lionel77

  • Provider of Mac builds, Forum Mod
  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1107
  • Mac OS X 10.4 (Power Mac G5)
Re: aMule won't start
« Reply #11 on: April 04, 2006, 10:57:41 PM »

I think I ran into similar problems when I compiled aMule this weekend. I updated wx at the same time, so I couldn't tell if the issue was caused by wx or aMule. I also messed up my previous wx install and then ran out of time to investigate further.

It seems, however, that you did not use current amule cvs code (because it does not compile on Mac without modifications), so the issue is likely caused by wx.

The last wx that I used to successfully compile aMule was CVS from 2006-03-07, you can get it with the following syntax:
Code: [Select]
cvs -d :pserver:anoncvs@cvs.wxwidgets.org:/pack/cvsroots/wxwidgets login
cvs -d :pserver:anoncvs@cvs.wxwidgets.org:/pack/cvsroots/wxwidgets checkout  -D "03/07/06 02:00:00 PST" wxWidgets
Logged
Current aMule CVS builds for OS X can be found here.

NiKo87

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 49
Re: aMule won't start
« Reply #12 on: April 04, 2006, 11:04:16 PM »

Thanks, I'm compiling the wxWidgets from the CVS. I'll let you know as soon as I finish.
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: aMule won't start
« Reply #13 on: April 09, 2006, 03:26:22 PM »

Also, when an app crashes like this, it probably produces a CrashReporter log.  (This applies when you launch from the Finder, not when you run from the command line in Terminal.)  You can use Applications -> Utilities -> Console to view the console.log, where it will tell you that the app crashed and a crash report was logged.  Then you can press the Logs button in the toolbar and navigate to ~/Library/Logs -> CrashReporter -> amule.crash.log to see the crash report.  In some cases, this will help us figure out where it's crashing and why.  (In this case, lionel77 probably knows more about what's going on than I.)
Logged

NiKo87

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 49
Re: aMule won't start
« Reply #14 on: May 02, 2006, 11:27:04 PM »

My aMule stopped working yesterday. When I doubleclick the icon, nothing happens. The icon in the Dock bounces, but aMule won't start.
This is what I get using the Terminal:

dyld: /Applications/aMule.app/Contents/MacOS/amule Undefined symbols: /Applications/aMule.app/Contents/MacOs/amule undefined reference to _TXNGetCommandEventSupport expected to be defined in Carbon
Logged
Pages: [1] 2