Unable to build - Could not find a package configuration file provided by "LibGcrypt"
Closed this issue · 5 comments
sirlucjan commented
Hello.
I've tried to compile the newest commit and I got an error:
CMake Error at generic/otrplugin/CMakeLists.txt:38 (find_package):
By not providing "FindLibGcrypt.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"LibGcrypt", but CMake did not find one.
Could not find a package configuration file provided by "LibGcrypt" with
any of the following names:
LibGcryptConfig.cmake
libgcrypt-config.cmake
Add the installation prefix of "LibGcrypt" to CMAKE_PREFIX_PATH or set
"LibGcrypt_DIR" to a directory containing one of the above files. If
"LibGcrypt" provides a separate development package or SDK, be sure it has
been installed.
-- Configuring incomplete, errors occurred!
I've installed libgcrypt:
pacman -Qs libgcrypt && pacman -Fl libgcrypt
local/libgcrypt 1.8.2-1
General purpose cryptographic library based on the code from GnuPG
local/libgpg-error 1.27-1
Support library for libgcrypt
libgcrypt usr/
libgcrypt usr/bin/
libgcrypt usr/bin/dumpsexp
libgcrypt usr/bin/hmac256
libgcrypt usr/bin/libgcrypt-config
libgcrypt usr/bin/mpicalc
libgcrypt usr/include/
libgcrypt usr/include/gcrypt.h
libgcrypt usr/lib/
libgcrypt usr/lib/libgcrypt.so
libgcrypt usr/lib/libgcrypt.so.20
libgcrypt usr/lib/libgcrypt.so.20.2.2
libgcrypt usr/share/
libgcrypt usr/share/aclocal/
libgcrypt usr/share/aclocal/libgcrypt.m4
libgcrypt usr/share/info/
libgcrypt usr/share/info/gcrypt.info.gz
libgcrypt usr/share/man/
libgcrypt usr/share/man/man1/
libgcrypt usr/share/man/man1/hmac256.1.gz
Other dep:
pacman -Qs libotr
local/libotr 4.1.1-1
Off-the-Record Messaging Library and Toolkit
pacman -Qs libgpg-error
local/libgpg-error 1.27-1
Support library for libgcrypt
pacman -Qs tidy
local/tidy 5.4.0-2
A tool to tidy down your HTML code to a clean style
Vitozz commented
I just started the build on my system and everything went well
$lsb_release -a
LSB Version: n/a
Distributor ID: ManjaroLinux
Description: Manjaro Linux
Release: 17.1.1
Codename: Hakoila
sirlucjan commented
Did you use cmake flags?
Vitozz commented
yes. can you join psi-dev conference to faster problem solving?
sirlucjan commented
Yes, I can.
sirlucjan commented
Now works fine, thx.
I've switched to psi-plus-snapshot repo: