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: Trouble with upnp version  (Read 27858 times)

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Trouble with upnp version
« on: July 01, 2008, 08:02:19 AM »

Hi, I'm compiling everyday(s snapshotand now I have this issue

"checking for libupnp version >= 1.6.6... no (version 1.6.3 is not new enough)"

I am on Mandriva 2008.1 (Spring) and I try to create my RPMS for aMule from vanilla. Do we really need this higher version of upnp ?
I'd prefer  not to create an RPM for upnp too.
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
Re: Trouble with upnp version
« Reply #1 on: July 01, 2008, 11:05:09 AM »

I have the same problem with Ubuntu 8.04 32bit.

Code: [Select]
schutti@hell:~/Desktop/X/aMule/amule-cvs$ ./configure --disable-debug --enable-optimize
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking if this is a FreeBSD 4 or earlier system... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for gawk... (cached) mawk
checking for egrep... grep -E
checking whether make sets $(MAKE)... (cached) yes
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for bison... bison -y
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for ar... ar
checking for ld... ld
checking for zlib >= 1.1.4... yes (version 1.2.3.3)
checking for File::Copy... ok
checking whether we need the GUI... yes
checking for the --with-toolkit option... will be automatically detected
checking for the --with-wxshared option... will be automatically detected
checking for the --with-wxdebug option... will be automatically detected
checking for the --with-wxversion option... will be automatically detected
checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 2.8.0 (--unicode=yes)... yes (version 2.8.7)
checking for wxWidgets static library... no
checking if wxWidgets was built in DEBUG mode... no
checking if wxWidgets was built in STATIC mode... no
checking which wxWidgets toolkit was selected... gtk2
checking for libupnp presence... --prefix: unknown option
yes (installed in the system)
checking for libupnp version >= 1.6.6... no (version 1.4.3 is not new enough)
configure: error: Unable to find libupnp.
schutti@hell:~/Desktop/X/aMule/amule-cvs$
Logged

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
Re: Trouble with upnp version
« Reply #2 on: July 01, 2008, 11:59:36 AM »

Schuttwegraeumer

libupnp 1.6.6 deb package: http://packages.ubuntu.com/intrepid/libupnp3

GrayFox.i0n

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 139
Re: Trouble with upnp version
« Reply #3 on: July 01, 2008, 12:21:31 PM »

I was trying to compile libupnp myself, and after doing so, i always get the error that says not being able to find libupnp.so.3 ......
i compiled libupnp like this:
.configure
make
sudo make install

I know this is not libupnp forum, hehe, but ¿Is there anything i do wrong when compiling it?
The deb package, meanwhile, looks to work properly, anyway..

Cheers!
Logged

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
Re: Trouble with upnp version
« Reply #4 on: July 01, 2008, 12:32:59 PM »

Schuttwegraeumer

libupnp 1.6.6 deb package: http://packages.ubuntu.com/intrepid/libupnp3

Ok, at the moment there is libupnp2 and libupnp-dev installed on my system.
Should I replace thes two packages with this .deb?
Its a version for 8.10, I have 8.04.

Logged

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
Re: Trouble with upnp version
« Reply #5 on: July 01, 2008, 12:56:16 PM »

Code: [Select]
No package 'libupnp' found
yes (installed in the system)
checking for libupnp version >= 1.6.6... no (version  is not new enough)
configure: error: Unable to find libupnp.

Do I need the libupnp3-dev too?
In the list of needet packages for compiling amule there was the libupnp-dev and the non dev version will be install becaus of the dependencies.

EDIT: http://packages.ubuntu.com/intrepid/libupnp-dev
« Last Edit: July 01, 2008, 12:58:28 PM by Schuttwegraeumer »
Logged

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
Re: Trouble with upnp version
« Reply #6 on: July 01, 2008, 01:09:07 PM »

Compile the aMule only need libupnp (libupnp2 or libupnp3) library installed. But remember that if you're not going to use UPnP support not need to compile the aMule with this option.

Uninstall libupnp2 and libupnp-dev

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
Re: Trouble with upnp version
« Reply #7 on: July 01, 2008, 01:11:02 PM »

The libupnp-dev was in the needet libs list that must be installed to compile the aMule.

Now with the 1.6.6 libupnp-dev from the intribex REpo the configure worked well:

Code: [Select]
                                      wxWidgets             2.8.7 (gtk2,shared)
                                       crypto++              5.5.2 (installed, in /usr)
                                       libupnp               1.6.6 (system, in )
                                       libintl               system
                                       zlib                  1.2.3.3
Logged

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
Re: Trouble with upnp version
« Reply #8 on: July 01, 2008, 01:13:26 PM »

Well, try to use only libupnp3 and see if works

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
Re: Trouble with upnp version
« Reply #9 on: July 01, 2008, 01:19:11 PM »

Well, try to use only libupnp3 and see if works

I asked because it dont worked with the libupnp3 only.
With the libupnp-dev 1.6.6 from the same repostiory for Ibex it works.

See
http://www.amule.org/wiki/index.php/HowTo_Compile_In_Debian#What_developement_packages
Logged

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: Trouble with upnp version
« Reply #10 on: July 01, 2008, 02:07:52 PM »

OK, I oculd find a src rpm for Cooker and adapted it to Mandriva 2008.1

Here your stuff
http://www.oldfrog.info/Linux/RPMs/

For other architecture on Mandriva (x64, ppc, etc) please do a rpm --rebuild  libupnp-1.6.6-1mdv2008.1.src.rpm

That should do the trick.
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

Anarconda

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 35
Re: Trouble with upnp version
« Reply #11 on: July 01, 2008, 02:25:10 PM »

Hi, with and without libupnp 1.6.6 installed I get same error with this configuration:

  ./configure --prefix=/usr \
              --disable-ccache \
              --disable-debug \
              --enable-optimize \
              --disable-profile \
              --disable-monolithic \
              --enable-amule-daemon \
              --enable-amulecmd \
             --enable-webserver \
              --disable-amule-gui \
              --enable-cas \
              --disable-wxcas \
              --disable-alc \
              --enable-alcc \
              --disable-upnp \
              --enable-geoip \
              --disable-rpath \
              --enable-nls
  make

The summary of configure command and error messages from make are here:

http://pastebin.com/m4325b199


I don't understand why is compiling upnp if I explicitly said:  --disable-upnp.

Anyway, if you need more information or I can do something to avoid the problem, please, let me know. TIA.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Trouble with upnp version
« Reply #12 on: July 01, 2008, 02:40:34 PM »

The question is, why is such a new version needed. This version is such a new one, that it is just 9 day in debian sid. For stable (and testing for today and maybe longer, depending on the appearing bugs) backports are needed. Is such a bleeding version really needed?
Logged
Homefucking is killing prostitution

Anarconda

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 35
Re: Trouble with upnp version
« Reply #13 on: July 01, 2008, 03:24:00 PM »

The question is, why is such a new version needed. This version is such a new one, that it is just 9 day in debian sid. For stable (and testing for today and maybe longer, depending on the appearing bugs) backports are needed. Is such a bleeding version really needed?

Sorry, I don't get you. What version are you talking about?

If libupnp -> I don't use it (as you can see looking at configure options), I was testing if problem is gone after install it.

If amule-SVN -> I like the wild side of life  ;D

By the way, I'm using Arch Linux not Debian.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Trouble with upnp version
« Reply #14 on: July 01, 2008, 03:38:43 PM »

As I do daily svn-builds, I think I'm talking about libupnp. Is there anything really needed that is just in this new version aviable?
Logged
Homefucking is killing prostitution
Pages: [1] 2 3