Document repeatable wallet builds

This commit is contained in:
root
2026-04-29 14:11:52 +00:00
parent 44f1fb0435
commit 47495ff4cf
11 changed files with 413 additions and 45 deletions
+40 -5
View File
@@ -1,10 +1,10 @@
Copyright (c) 2026 Agrarian Developers
Ubuntu 24.04 Daemon Build Notes
================================
Ubuntu 24.04 Build Notes
========================
These notes describe the native daemon build path tested against current Ubuntu
24.04 system packages.
These notes describe the native daemon and desktop wallet build paths tested
against current Ubuntu 24.04 system packages.
Recommended host size
---------------------
@@ -16,7 +16,7 @@ building large translation units.
Packages
--------
Install the native build dependencies:
Install the native daemon build dependencies:
sudo apt-get update
sudo apt-get install -y \
@@ -24,6 +24,12 @@ Install the native build dependencies:
libboost-all-dev libevent-dev libgmp-dev libssl-dev \
libdb5.3-dev libdb5.3++-dev
For the desktop wallet, also install Qt and protobuf tools:
sudo apt-get install -y \
qtbase5-dev qttools5-dev-tools qtchooser \
libqrencode-dev libprotobuf-dev protobuf-compiler
Daemon-only build
-----------------
@@ -40,6 +46,35 @@ For the pool daemon, the GUI, tests, bench, ZMQ, and UPnP can be disabled:
CXXFLAGS="-O0 -g0 --param ggc-min-expand=1 --param ggc-min-heapsize=32768"
make -j1
The daemon helper runs the same path:
JOBS=1 ./contrib/build-linux.sh
Qt wallet build
---------------
For the desktop wallet, use:
JOBS=1 ./contrib/build-linux-wallet.sh
The wallet helper builds/restores the native depends prefix first, then creates
a temporary config.site that keeps the depends libraries while allowing system
Qt 5 tools and pkg-config files to be used.
Defaults:
HOST=x86_64-pc-linux-gnu
QT_BINDIR=/usr/lib/qt5/bin
PROTOC_BINDIR=/usr/bin
CONFIG_SITE_FILE=/tmp/agrarian-linux-wallet-config.site
Warnings
--------
Qt 5.15 and protobuf 3.x emit compatibility/deprecation warnings in a few Qt
translation units. Those warnings are expected while the Windows build remains
pinned to Qt 5.9.7 and protobuf 2.6.1.
OpenSSL 3
---------