Giter VIP home page Giter VIP logo

Comments (15)

ThePeach avatar ThePeach commented on May 19, 2024 7

the system is Gentoo, with db-4.8 installed. It looks like qmake wasn't able to find it.
The only thing I've had to do is to add -I/usr/include/db4.8 at the end of the INCPATH in the Makefile generated by qmake.

Hope this helps someone else.
Wow.

from dogecoin.

vanschelven avatar vanschelven commented on May 19, 2024 2

On Ubuntu 10.04 I resolved this w/

sudo aptitude install libdb4.8++-dev

(after verifying that I've got BerkelyDB 4.8 installed)

from dogecoin.

jcomeauictx avatar jcomeauictx commented on May 19, 2024 1

jcomeau@amc:~/src/AmericanCoin/src$ sudo apt-get install libdb5.1++-dev

I had missed that in the build-unix.txt file.

from dogecoin.

 avatar commented on May 19, 2024

Closing as not a bug. Thanks for mentioning the fix.

from dogecoin.

hoylemd avatar hoylemd commented on May 19, 2024

I'm on 12.04, but neither of these solutions seem to help (or at least, I don't know where to add the -I/usr/include... line in makefile.unix

from dogecoin.

ThePeach avatar ThePeach commented on May 19, 2024

hoylemd you might need to install libdb as suggested above, and depending on the version find where it's been installed and append its path to the INCPATH with -I/path/to/libdb

from dogecoin.

hoylemd avatar hoylemd commented on May 19, 2024

I understand that I need to append it to the INCPATH, but I don't know where to find that line. It doesn't seem to exist in makefile.unix

from dogecoin.

ThePeach avatar ThePeach commented on May 19, 2024

the file is Makefile which should be generated after running qmake

from dogecoin.

hoylemd avatar hoylemd commented on May 19, 2024

I'm not sure what you mean by that. I'm runing qmake in the src directory, But I just get a man page.

What I have done:

clone the repository
Install the dependencies listed in docs/build-unix.md
cd src
make -f makefile.unix

from dogecoin.

hoylemd avatar hoylemd commented on May 19, 2024

I've just discovered that by $BDB_LIB_PATH is empty, and dpkg suggests it's not actually installed.

Ill try installing them from the link in build-unix.md

from dogecoin.

hoylemd avatar hoylemd commented on May 19, 2024

I added the PPA at https://launchpad.net/~bitcoin/+archive/bitcoin, and ran an apt-get update.

I then tried to reinstall libdb4.8, and things seemed to install, but BDB_LIB_PATH is still empty, and running makefile.unix gives the same error.

I'm all out of ideas, but I'm pretty sure the problem is that berkelydb just isn't installing.

from dogecoin.

Bandicoot avatar Bandicoot commented on May 19, 2024

It's not picking up the C++ development headers, which is why you're seeing the error message. Uninstall the libdb4.8 and install libdb5.1-dev and libdb5.1++-dev (There's no libdb4.8++-dev on 12.04 - I'm compiling this up right now on my 12.04 system)

from dogecoin.

attilaolah avatar attilaolah commented on May 19, 2024

I had the same problem with pretty much all bitcoin-qt forks. @ThePeach thanks for the comment.

from dogecoin.

jupiter126 avatar jupiter126 commented on May 19, 2024

thanks @ThePeach
Running on gentoo now with
-I/usr/include/db5.3 in makefile

from dogecoin.

hpr avatar hpr commented on May 19, 2024

Having this issue on gentoo too, but there isn't an INCPATH line in my generated Makefile.

edit: applying the fix to src/Makefile mentioned in NeuCoin/neucoin#15 (comment) let me continue.

from dogecoin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.