Bitcoin Forum
April 23, 2024, 11:28:10 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: trouble compiling latest git of bitcoin in ubuntu 12.04  (Read 2802 times)
mdude77 (OP)
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
November 18, 2012, 10:53:57 PM
 #1

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

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
grimd34th
Member
**
Offline Offline

Activity: 89
Merit: 10



View Profile
November 19, 2012, 01:26:48 AM
 #2

Code:
apt-get install libminiupnpc-dev
nibor
Sr. Member
****
Offline Offline

Activity: 438
Merit: 291


View Profile
November 19, 2012, 06:35:54 PM
 #3

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!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!