Hi again,
Am 11.04.19 um 19:01 schrieb Neal H. Walfield:
At Thu, 11 Apr 2019 18:53:02 +0200, Jan Girlich wrote:
Am 11.04.19 um 11:47 schrieb Neal H. Walfield:
Thanks for the bug report. We tried building with rustc 1.31, and ran into the same problem. It appears that that version is no longer adequate. Currently, we're using 1.32 and 1.33. Please try one of those, if possible. Sorry for the inconvenience. We'll update the README shortly.
oh, well, then it's probably no compiling sequoia for me :(
Getting rustc 1.32.0 installed on current Ubuntu LTS would mean to upgrade libc and that'll just end in mayhem. My goal is to get some pgp for e-mails done (signing, encrypting) on somewhat stable Debian or Ubuntu.
At least on Debian Stable, you only need to pull in a few leaf packages from testing (rustc, cargo, nettle, ...). I don't have any experience with Sequoia on Ubuntu, sorry.
I researched a little and learned how to install Rust via their own installer. That works without upgrading libc.
Now I got past the previous compiling error, but am running into another one:
make -Copenpgp-ffi examples make[1]: Entering directory '/home/jan/Projekte/sequoia/openpgp-ffi' make -Cexamples make[2]: Entering directory '/home/jan/Projekte/sequoia/openpgp-ffi/examples' mkdir -p /home/jan/Projekte/sequoia/target/debug/c-examples/openpgp-ffi cc -I../include -O0 -g -Wall -Werror -L/home/jan/Projekte/sequoia/target/debug -lsequoia_openpgp_ffi -o "/home/jan/Projekte/sequoia/target/debug/c-examples/openpgp-ffi/example" "example.c" /tmp/cck9xmO7.o: In function `main': /home/jan/Projekte/sequoia/openpgp-ffi/examples/example.c:37: undefined reference to `pgp_tpk_from_bytes' /home/jan/Projekte/sequoia/openpgp-ffi/examples/example.c:39: undefined reference to `pgp_error_to_string' /home/jan/Projekte/sequoia/openpgp-ffi/examples/example.c:41: undefined reference to `pgp_tpk_debug' /home/jan/Projekte/sequoia/openpgp-ffi/examples/example.c:45: undefined reference to `pgp_tpk_free' collect2: error: ld returned 1 exit status Makefile:29: recipe for target '/home/jan/Projekte/sequoia/target/debug/c-examples/openpgp-ffi/example' failed make[2]: *** [/home/jan/Projekte/sequoia/target/debug/c-examples/openpgp-ffi/example] Error 1 make[2]: Leaving directory '/home/jan/Projekte/sequoia/openpgp-ffi/examples' Makefile:58: recipe for target 'examples' failed make[1]: *** [examples] Error 2 make[1]: Leaving directory '/home/jan/Projekte/sequoia/openpgp-ffi' Makefile:59: recipe for target 'examples' failed make: *** [examples] Error 2
I have the packets for the FFI installed:
sudo apt install python3-dev python3-setuptools python3-cffi python3-pytest
Any certain minimum versions I need to have for these?
As for directly using Sequoia as an end user: it's still a bit too early for that. But, Sequoia is far enough that integration into existing programs makes sense.
My intention is to use the python bindings and integrate it in a software, which sends e-mails.
Cheers, Jan