-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
Hello,
I'm no CMake expert, so either I don't understand how to build GpgFrontend or there are problems with the default build config.
I'm trying to build on my Gentoo machine and in the end I'd like to create a working ebuild that I want to commit to Gentoo's Portage.
I looked for build instructions from you but didn't find any: did I miss them? Can you link them?
- With info I found both here and somewhere else, I understood that I needed to do this to build:
mkdir build-dir && cd build-dir/ && cmake -DCMAKE_BUILD_TYPE=Release -DGPGFRONTEND_BUILD_MODULES=OFF ..
- I installed
dev-cpp/gtest
to solve this CMake Error:Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
. This allowed to create build files:Build files have been written to: /home/_shared/tools/GpgFrontend-2.1.9/build-dir
. - So I simply launched
make
, but it fails with these errors insrc/core/function/SecureRandomGenerator.cpp
:However,‘GPGME_RANDOM_MODE_NORMAL’ was not declared in this scope; did you mean ‘GPGME_SIG_MODE_NORMAL’? ‘GPGME_RANDOM_MODE_ZBASE32’ was not declared in this scope ‘gpgme_op_random_bytes’ was not declared in this scope
app-crypt/gpgme
is installed:
app-crypt/gpgme-1.24.3:1/11.6.15.2::gentoo USE="cxx qt5 qt6 verify-sig -common-lisp -debug -python -static-libs -test" PYTHON_TARGETS="python3_13 -python3_11 -python3_12 (-python3_14)"
Can you help me understand the problem(s) and/or how to correctly build it?
Thanks
Kind regards
Metadata
Metadata
Assignees
Labels
No labels