RavenProject/Ravencoin

build: --disable-wallet failing on dev branch as of 7f27d35

kralverde opened this issue · 1 comments

Describe the issue

configuring with --disable-wallet (actual command ./configure BDB_LIBS="-L/db4/lib -ldb_cxx-4.8" BDB_CFLAGS="-I/db4/include" --prefix=/usr/local --disable-wallet) fails. This also occurs on the master branch. Built in docker. Might just be a "me" problem. Can anyone else replicate?

Can you reliably reproduce the issue?

Yes

If so, please list the steps to reproduce below:

See above.

Expected behaviour

See above.

Actual behaviour

See above.

What version of Ravencoin are you using?

Dev branch. Latest commit 7f27d35.

Machine specs:

  • OS: Ubuntu:18.04 container Ubuntu:20.10 host

Any extra information that might be useful in the debugging process.

Relevant error:

In file included from ./wallet/walletdb.h:12:0,
from ./wallet/wallet.h:20,
from consensus/tx_verify.cpp:18:
./wallet/db.h:22:10: fatal error: db_cxx.h: No such file or directory
#include <db_cxx.h>
^~~~~~~~~~
compilation terminated.

It's not just you and not just a docker issue. That option has been broken for a very long time.
Missing at least a few "#ifdef ENABLE_WALLET" sections in the source code.