Post
Topic
Board Bitcoin Discussion
Re: Please test (if you dare): next-test 2012-11-25
by
Luke-Jr
on 27/11/2012, 22:44:28 UTC
Make on Linux (Xubuntu) does not work without libminiupnpc8-dev installed.
You mean with USE_UPNP=- (don't compile support)?

Its set to USE_UPNP=- in line 41 of makefile.unix .
No, it's set by default to USE_UPNP=0 (compile support, but disable by default) on line 5, and changed from (null) to - on line 41. So eg, USE_UPNP= will work also (but there is no way to support this syntax with -Qt)

The problem is that the README states that libminiupnpc is optional but make -f makefile.unix doesnt work without it, so maybe the default setting should be USE_UPNP=-. But probably its not that important.
And immediately under the dependency list:
Quote
miniupnpc may be used for UPnP port mapping.  It can be downloaded from
http://miniupnp.tuxfamily.org/files/.  UPnP support is compiled in and
turned off by default.  Set USE_UPNP to a different value to control this:
 USE_UPNP=-    No UPnP support - miniupnp not required
 USE_UPNP=0    (the default) UPnP support turned off by default at runtime
 USE_UPNP=1    UPnP support turned on by default at runtime

This isn't something new either, it's been this way since 0.4