Open dadr opened 2 months ago
Hi @dadr , We should ideally document all the major distros! We should get everything we can together on this issue for the developer to use. You should also install libxxhash-dev on your ubuntu and rebuild, if you didn't have it show up in the ./configure output. blocksync-fast will default to the XX3Low hash.
For Fedora Core, you can install the extra dependenices with: sudo yum install libgcrypt-devel xxhash-devel
For Debian it's: sudo apt install libgcrypt-dev libxxhash-dev
...and if the Debian build complains about the automake vesrion, run: autoreconf -f -i` and try again.
I was unable to get it to build on ARM64 linux, or OpenBSD (I'll make an issue about those problems separately).
I just love blocksync-fast so much.. I'm literally using it right now!! :-)
Thanks for sharing blocksync-fast. I'm in the process of trying it out. I use UrBackup with a btrfs partition as the backup repository. UrBackup hashes and de-dupes across many client backup snapshots, so many backups are (ref-)linked in some complex ways. I think that this tool will help me make copies of the backup partition to offline/offsite disks.
Going through the install, I initially followed the link you provide to libgcrypt. I had some problems compiling and installing those tools because the link went to a maintainers site, and required a lot of other development tools (mostly for the docs) that I did not have. What I finally determined - was that Ubuntu already had libgcrypt, but not the header files.
The upshot is that all I needed to do before compiling blocksync-fast was:
apt install libgcrypt-dev
That put in the header files for the programs already included with Ubuntu. Such a clue might make it easier for other Ubuntu users that want to try blocksync-fast.