aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Can't run after compilation  (Read 3341 times)

apo758

  • Guest
Can't run after compilation
« on: November 19, 2006, 07:53:29 PM »

Hi! I've already looked at the page with all the infos about ,but I can't solve my problem. I compiled wxMac 2.6.3 and everything was fine. Also the compilation of aMule is fine, no error, but when I try to run aMule, it bounces a few times in the dock and then it quit.  No error message. I tried the tips in the FAQ page (double click on the amule program inside the aMule packet and move aMule on the desktop). I've also compiled some sample apps in the wxMac package and I found no problem, so I don't think it involves wxMac.
When I run amule by double clicking on the program inside the packet it does not write anything useful in the shell. Usually it starts writing "Initialising, etc…" but with mine, it writes this lines:
Bus error
logout
[Processo completato]

What should I do?
« Last Edit: November 19, 2006, 07:54:28 PM by apo758 »
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: Can't run after compilation
« Reply #1 on: November 26, 2006, 04:36:29 PM »

Use Console.app (in /Applications/Utilities) to find the CrashReporter log.  That will give a clue as to why it's getting the bus error.

On a hunch, you might try setting your system language to English and see if aMule then launches successfully.  I recall another user solved his crash-on-launch problem that way.
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: Can't run after compilation
« Reply #2 on: November 26, 2006, 09:26:55 PM »

I have some very vague memories of getting bus errors with wx 2.6.3, too. Unfortunately, I don't remember any details and I didn't even try to figure out what the problem was, because I just went ahead and used a later wx CVS instead, which did not produce this error. Maybe you should try a newer wx version (e.g., 2.7.2) as well.
Logged
Current aMule CVS builds for OS X can be found here.

apo758

  • Guest
Re: Can't run after compilation
« Reply #3 on: November 27, 2006, 11:29:52 AM »

I solved the problem by removing the old wx 2.5 installed in /usr/libs (I think the path was this) and install the 2.6 one. When compile, I used all the parameters suggested in the FAQ page except the one that indicate the path of the wx.
By doing this steps I succeded but there was no localization and there was something wrong with time in statistics.

But now I use the official release because I see that there was nothing to do with the slow scroll down. It's pretty annoying, but it's wx fault.
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: Can't run after compilation
« Reply #4 on: November 28, 2006, 01:56:38 AM »

To fix the messed up times in the statistics, you need to modify wx so that it uses OS X's own implementation of vswprintf (for more details, see here).

To include the localizations, you need to run "./src/utils/scripts/mac_packager" after you've compiled aMule sucessfully.

Hope this helps. :)


EDIT:
Fixed the first link.
« Last Edit: November 28, 2006, 02:17:36 AM by lionel77 »
Logged
Current aMule CVS builds for OS X can be found here.