Open TheCheddarCheese opened 2 months ago
same problem here... snif snif
same problem... me too... You must be very busy, but sincerely, please tell me a solution to the problem.
I didn't find one yet sadly. I think the devs might need to fix it (or i can try to but considering my current coding skills i probably won't manage it)
Try editing cmake/Modules/FindLibGcrypt.cmake
and replacing libgcrypt-config with pkg-config (in the line FIND_PROGRAM(LIBGCRYPTCONFIG_EXECUTABLE NAMES libgcrypt-config)
), then build. Dunno how well this will work though
I've found that Arch no longer includes the libgcrypt-config
executable in the libgcrypt package. I don't know whether or not that is by design, but that seems to be the cause of this breakage.
The solution here may be to look for libgcrypt using pkg-config in libgrive CMakeLists.txt instead of the custom Module, like
diff --git a/libgrive/CMakeLists.txt b/libgrive/CMakeLists.txt
index c56d70c..05ee9d4 100644
--- a/libgrive/CMakeLists.txt
+++ b/libgrive/CMakeLists.txt
@@ -2,7 +2,6 @@ project(libgrive)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
-find_package(LibGcrypt REQUIRED)
find_package(CURL REQUIRED)
find_package(Backtrace)
find_package(Boost 1.40.0 COMPONENTS program_options filesystem unit_test_framework regex system REQUIRED)
@@ -11,6 +10,7 @@ find_package(CppUnit)
find_package(Iberty)
find_package(PkgConfig)
+pkg_check_modules(LIBGCRYPT REQUIRED libgcrypt)
pkg_check_modules(YAJL REQUIRED yajl)
add_definitions(-Wall)
yeah, same problem here
When trying to compile on EndeavourOS I get this error:
I also tried this on a clean chroot, same thing. libcrypt is installed and up to date.