Bitcoin Forum
September 01, 2024, 05:08:28 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Trying Armory 0.97 dev branch on Ubuntu 22.04  (Read 34 times)
mvonwillebra (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
July 11, 2024, 01:06:20 AM
 #1

I'm trying to get Armory working on a newer Ubuntu 22.04, and so building the latest from dev branch, and following the Linux install notes here (admittedly for Ubuntu 18.04): https://github.com/goatpig/BitcoinArmory/blob/dev/linuxbuild/Linux_build_notes.md.

After some juggling with the dependencies I get to the point where ./autogen.sh passes without errors and executing configure.ac (./configure), and I get that "configure: error: No path to libbtc, check README section on libbtc". I did not find libbtc from the dependencies, but I guess this means that this depends on libbtc? To be built from here, pure library, https://github.com/libbtc/libbtc?

Thanks for any help, I could update the Linux_build_notes for Ubuntu 22.04, assuming I get it to work.
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3724
Merit: 1360

Armory Developer


View Profile
July 11, 2024, 02:00:36 PM
Merited by ABCbits (2), BitMaxz (1), nc50lc (1)
 #2

Hey, sorry for the late reply, I was away for 3 weeks.

To build the dev branch, you need to clone and build the following dependencies:

- libbtc (https://github.com/libbtc/libbtc.git)
- libwebsockets (https://github.com/warmcat/libwebsockets.git). Recommend you build it with SSL disabled, or it may annoy you with linkage error when building Armory.

Then you need to tell Armory where to find these libs (specifically where the libs have been built):

Code:
sh autogen.sh
./configure --with-own-lws=/path/to/lws --with-own-libbtc=/path/to/libbtc

This should let you build ArmoryDB and CppBridge.

Lastly, ArmoryQt needs a custom library (wrapper around some C routines) to talk to CppBridge. This is done by calling a build script from the c20p1305_cffi folder:

Code:
python c20p1305_cffi.py --libbtc_path=/path/to/libbtc

With this, ArmoryQt should be able to start. Past that point, mileage may vary. My system has been setup for a while so I haven't gone through the first start of new Armory in a while, I don't know to which extent it will work for you without an intervention on my end, but feel free to report bugs in the github issue page and I'll go over them.


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!