aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Building under Jaguar  (Read 4346 times)

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Building under Jaguar
« on: June 18, 2004, 02:12:53 AM »

Hi,

I don't know if there's been an official decision to only support Panther, but I encountered problems building under Jaguar.  I was trying to follow the instructions in the "How to install aMule in MAC OS X" thread.  They were relatively easy to fix, so I thought I'd post my fixes here, so maybe the support for Jaguar can be incorporated into the official version:

1) Need to #include before including or

2) /usr/lib/libcurl.2.dylib doesn't exist.  Rather /usr/lib/libcurl.a is what's available.  So, need to link with -lcurl.

3) Probably related to (2) above: curl_global_init() not defined.  I commented it out in HTTPDownloadDlg.cpp.  I just checked my config.log and it contains the following weird result:

Code: [Select]
configure:7932: checking for curl >= 7.9.5
configure:7961: result: yes (version 7.7.2)
For your reference, here's this:

Code: [Select]
% curl-config --version
libcurl 7.7.2
I suppose I should see if I can upgrade curl, but if it is desirable for the average Jaguar user to be able to install aMule without system tweaks, another solution may be necessary.

4) ED2KLink.h defines an inline function which references atoll(), which isn't provided by the system headers.  So, I had to #include "otherfunctions.h" from ED2KLink.h.  Also, I had to change the #ifdef around the definition of atoll() in otherfunctions.h so that it got defined.

I hope this is helpful.  If you guys want to support Jaguar, I may be able to help.  I'm a programmer with C++ experience, but no particular experience with wxWidgets, GTK, autoconf, or the other tools aMule is based on.  I haven't yet looked into grabbing the latest CVS tip and finding or fixing any of the Mac bugs.  Any guidance would be appreciated (where's a bug list?  how do I coordinate with your development efforts?  etc.).  Thanks.
Logged

one2one

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: Building under Jaguar
« Reply #1 on: June 18, 2004, 11:13:43 AM »

hy
thks for trying to run amule on 10.2
im just a tester and i dont understand code  :(
but if you talk to kry he can make the changes in amule
kry is a dev of  amule and mac version  :)
#amule irc.freenode.net
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Building under Jaguar
« Reply #2 on: June 18, 2004, 01:56:17 PM »

Yes, please keep in touch with me on irc
Logged