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 [3]

Author Topic: aMule compiled with UPnP support  (Read 31935 times)

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: aMule compiled with UPnP support
« Reply #30 on: January 02, 2008, 06:34:31 PM »

Your version is old (I guess 6-12 months). Please get a more recent one.
Logged

brainnolo

  • Approved Newbie
  • *
  • Karma: 5
  • Offline Offline
  • Posts: 23
Re: aMule compiled with UPnP support
« Reply #31 on: August 29, 2008, 05:05:17 PM »

I have compiled the UPnP 1.6.6 binaries which would be ok for distribution. However I was wondering if UPnP is now linked instead of dynamically loaded. In the first case you could remove those old files (the dylibs)
Logged

gtoso

  • Official MacOSX Packager
  • Full Member
  • ***
  • Karma: 24
  • Offline Offline
  • Posts: 206
Re: aMule compiled with UPnP support
« Reply #32 on: August 29, 2008, 05:20:01 PM »

I have compiled the UPnP 1.6.6 binaries which would be ok for distribution. However I was wondering if UPnP is now linked instead of dynamically loaded. In the first case you could remove those old files (the dylibs)

Yes, it's linked now (dinamically) so the 3 dylibs in the AppBundle Frameworks can be removed.

PS: I think it's time that someone rewrite the mac_packager script, too.
I have a my version, but the current one is too much personalized for my needs...


Logged

brainnolo

  • Approved Newbie
  • *
  • Karma: 5
  • Offline Offline
  • Posts: 23
Re: aMule compiled with UPnP support
« Reply #33 on: August 29, 2008, 07:56:56 PM »

Ok, then is better if those files are removed. They are quite big! I will try to take a look at the packager but I my free time is really scarce at the moment
Logged

brainnolo

  • Approved Newbie
  • *
  • Karma: 5
  • Offline Offline
  • Posts: 23
Re: aMule compiled with UPnP support
« Reply #34 on: August 29, 2008, 08:35:07 PM »

Ignore what is below, apparently it has been fixed already and was a problem in my copy (which is patched). There are still those dylib files in aMule.app/Contents/Frameworks to delete!

<old>
Ok there is an huge problem in compiling aMule for Mac with UPnP support. HFS+ is case insensitive and aMule UPnP.h is included where one would expect the real upnp.h is included. A fix would be to add to the include path just the prefix of UPnP and then include the files via <upnp/upnp.h> instead of "upnp.h". Another solution would be to rename UPnP.h to something else.
</old>
« Last Edit: August 31, 2008, 10:23:12 AM by brainnolo »
Logged
Pages: 1 2 [3]