Author

Topic: 5.1 compile problems (Read 19301 times)

legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
April 18, 2013, 06:01:55 AM
#5
When I do the required packages installation I get this error

Package libdb4.8++-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

When I do the make I then get this error

src/net.cpp:18:32: fatal error: miniupnpc/miniwget.h: No such file or directory
compilation terminated.

I'm running Ubuntu Narwhal. Any ideas, please?


Well duh, "fatal error: miniupnpc/miniwget.h: No such file or directory" was pretty self-explanatory, you apparently did not read after the first paragraph.
newbie
Activity: 13
Merit: 0
April 18, 2013, 03:43:13 AM
#4
I had similar problems with Ubuntu 12.10 (quantal), but it worked with:

sudo apt-get install libminiupnpc-dev libminiupnpc8


which installed all the necessary header/library files.
The versions for narwhal will probably be different -
You can:
apt-cache search libminiupnpc

to find them.
full member
Activity: 128
Merit: 100
December 28, 2011, 08:44:02 AM
#3
Got it.

the trick was to run qmake with

qmake "USE_UPNP=-"

instead of

qmake "USE_UPNP="
full member
Activity: 128
Merit: 100
December 27, 2011, 10:25:24 PM
#2
No matter what I do, including deleting the bitcoin dir and re-cloning it from github, I still get

src/net.cpp:18:32: fatal error: miniupnpc/miniwget.h: No such file or directory
compilation terminated.


and that's with

make USE_UPNP=

However, I did notice that when I run qmake at the beginning it says this

qmake
Project MESSAGE: Building with UPNP support
Project MESSAGE: Building with UPNP support
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.

Is this important? Thanks for your time, by the way.
full member
Activity: 128
Merit: 100
December 22, 2011, 04:56:24 AM
#1
When I do the required packages installation I get this error

Package libdb4.8++-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

When I do the make I then get this error

src/net.cpp:18:32: fatal error: miniupnpc/miniwget.h: No such file or directory
compilation terminated.

I'm running Ubuntu Narwhal. Any ideas, please?

Jump to: