You are not logged in.

#1 2009-08-15 16:04:17

cemsbr
Member
From: Brazil
Registered: 2008-05-03
Posts: 111
Website

[SOLVED] no UPnP in amule

This option is greyed out, and if I enable it in amule.conf, it is disabled after starting and closing amule. How can I enable UPnP?

Thank you

Last edited by cemsbr (2009-08-16 16:28:15)

Offline

#2 2009-08-15 21:05:16

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: [SOLVED] no UPnP in amule

Hello Cemsbr!

Some thread about this matter:
http://forum.emule-project.net/index.ph … opic=77330
http://forum.amule.org/index.php?topic=15431.0

Is libupnp installed by you ? What happens if you try to start it from terminal/console ?

Offline

#3 2009-08-15 23:26:11

cemsbr
Member
From: Brazil
Registered: 2008-05-03
Posts: 111
Website

Re: [SOLVED] no UPnP in amule

Thanks for the links. Yes, I have libupnp installed, but I've just checked amule PKGBUILD and maybe the solution is to add "--with-libupnp-prefix=/usr/lib" to configure, unless it is working for you, is it?

Thank you

Offline

#4 2009-08-16 07:18:27

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: [SOLVED] no UPnP in amule

I didn't try it recently,  but i don't think it would be problem to add it into the PKGBUILD.

Offline

#5 2009-08-16 16:27:23

cemsbr
Member
From: Brazil
Registered: 2008-05-03
Posts: 111
Website

Re: [SOLVED] no UPnP in amule

I tested and it worked! I sent the following patch to package maintainer:

--- PKGBUILD.old    2009-08-16 13:17:19.000000000 -0300
+++ PKGBUILD    2009-08-16 13:18:22.000000000 -0300
@@ -4,7 +4,7 @@
 
 pkgname=amule
 pkgver=2.2.5
-pkgrel=4
+pkgrel=5
 pkgdesc="An eMule-like client for ed2k p2p network"
 arch=('i686' 'x86_64')
 url="http://www.amule.org"
@@ -29,8 +29,9 @@
               --enable-webserver \
               --disable-debug \
               --enable-optimize \
-          --enable-ccache \
-          --enable-geoip
+              --enable-ccache \
+              --enable-geoip \
+              --with-libupnp-prefix=/usr/lib
 
   make || return 1
   make DESTDIR=${pkgdir}/ install || return 1

Thanks for the help!

Offline

Board footer

Powered by FluxBB