Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: mdude77 on November 18, 2012, 10:53:57 PM



Title: trouble compiling latest git of bitcoin in ubuntu 12.04
Post by: mdude77 on November 18, 2012, 10:53:57 PM
First of all, I was following readme-qt.rst, which seems to have an error, atleast for this build of ubuntu:

Code:
apt-get install qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev \
    libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev \
    libssl-dev libdb4.8++-dev

libd4.8++-dev doesn't seem to exist.  Being a linux nub, I tried libdb4.8-dev, that didn't help.  So I tried libdb++dev, and it pulled in 5.1.  That got me by the db_cxx.h error.  Now I'm getting this:

Code:
src/net.cpp:18:32: fatal error: miniupnpd/miniwget.h: no such file or directory

EDIT: nm, found this:  https://bitcointalk.org/index.php?topic=55370.0

Got me further..

now to see if I can figure out how to make note of this in git.

M


Title: Re: trouble compiling latest git of bitcoin in ubuntu 12.04
Post by: grimd34th on November 19, 2012, 01:26:48 AM
Code:
apt-get install libminiupnpc-dev


Title: Re: trouble compiling latest git of bitcoin in ubuntu 12.04
Post by: nibor on November 19, 2012, 06:35:54 PM
Take care using BerkDb 5.1 your wallet will not be compatible with stable release....

Read:
https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.txt
Quote
db4.8 packages are available at: https://launchpad.net/~bitcoin/+archive/bitcoin

Ubuntu precise has packages for libdb5.1-dev and libdb5.1++-dev, but using these will break binary wallet compatibility, and is not recommended.

I have started building a Ubuntu VirtualBox VM that would compile straight off.
Might finish one day!