<p>I've built the bitcoin core on my computer and once I tried to run tests related to wallet, I encountered this error:</p>
<pre><code>[amirreza@localhost bitcoin]$ python test/functional/wallet_createwallet.py 
2022-06-20T16:36:53.675000Z TestFramework (WARNING): Test Skipped: wallet has not been compiled.
2022-06-20T16:36:53.725000Z TestFramework (INFO): Stopping nodes
2022-06-20T16:36:53.725000Z TestFramework (INFO): Cleaning up /tmp/bitcoin_func_test_mnwvrnya on exit
2022-06-20T16:36:53.726000Z TestFramework (INFO): Test skipped
</code></pre>
<p>When I tried to reconfigure the compilation process by <code>./configure</code> I noticed it doesn't compile wallet:</p>
<pre><code>Options used to compile and link:
  external signer = yes
  multiprocess    = no
  with experimental syscall sandbox support = yes
  with libs       = yes
  with wallet     = no

</code></pre>
<p>But I don't know how to change this option to compile with wallet. I took look at <code>./configure</code> options but see that it is enabled by default:</p>
<pre><code>[amirreza@localhost bitcoin]$ ./configure --help
...
  --disable-wallet        disable wallet (enabled by default)
...
</code></pre>

CC BY-SA 4.0
2022-06-20T16:48:59.073Z
Did you install the wallet dependency (sqlite3)?
Michael Folkson
CC BY-SA 4.0
2022-06-20T16:50:32.997Z
@MichaelFolkson not sure, but first I should find a way to compile the `wallet` then get errors for not satisfying the dependencies and try to fix them.
Amir reza Riahi
CC BY-SA 4.0
2022-06-20T16:51:33.653Z
You need to have installed sqlite3 before you try to build Core with the wallet.
Michael Folkson
CC BY-SA 4.0
2022-06-20T16:52:44.157Z
The `./configure` autodetection script will automatically disable wallet support if it notices you're missing wallet dependencies. Installing sqlite3 (for newer-style descriptor wallets) and/or bdb (for older-style legacy wallets) is likely all that is missing.
Pieter Wuille
CC BY-SA 4.0
2022-06-20T16:52:51.363Z
@MichaelFolkson I didn't get any error for this. I'll install it and retry.
Amir reza Riahi
CC BY-SA 4.0
2022-06-20T16:57:13.607Z
@PieterWuille thanks, I try it.
Amir reza Riahi
<bitcoin-core><wallet><compiling>
How to compile bitcoin source code with wallet?
Amir reza Riahi
# How to compile bitcoin source code with wallet?

(Asked by: username_0 on 2022-06-20)

I've built the bitcoin core on my computer and once I tried to run tests related to wallet, I encountered this error:
[amirreza@localhost bitcoin]$ python test/functional/wallet_createwallet.py 
2022-06-20T16:36:53.675000Z TestFramework (WARNING): Test Skipped: wallet has not been compiled.
2022-06-20T16:36:53.725000Z TestFramework (INFO): Stopping nodes
2022-06-20T16:36:53.725000Z TestFramework (INFO): Cleaning up /tmp/bitcoin_func_test_mnwvrnya on exit
2022-06-20T16:36:53.726000Z TestFramework (INFO): Test skipped

When I tried to reconfigure the compilation process by ./configure I noticed it doesn't compile wallet:
Options used to compile and link:
  external signer = yes
  multiprocess    = no
  with experimental syscall sandbox support = yes
  with libs       = yes
  with wallet     = no


But I don't know how to change this option to compile with wallet. I took look at ./configure options but see that it is enabled by default:
[amirreza@localhost bitcoin]$ ./configure --help
...
  --disable-wallet        disable wallet (enabled by default)
...

**Tags:** bitcoin-core, wallet, compiling

> **Comments:**
> **username_1**: Did you install the wallet dependency (sqlite3)?  
> **username_0**: @MichaelFolkson not sure, but first I should find a way to compile the `wallet` then get errors for not satisfying the dependencies and try to fix them.  
> **username_1**: You need to have installed sqlite3 before you try to build Core with the wallet.  
> **username_2**: The `./configure` autodetection script will automatically disable wallet support if it notices you're missing wallet dependencies. Installing sqlite3 (for newer-style descriptor wallets) and/or bdb (for older-style legacy wallets) is likely all that is missing.  
> **username_0**: @MichaelFolkson I didn't get any error for this. I'll install it and retry.  
> **username_0**: @PieterWuille thanks, I try it.  

---

## 0 answers

