Hennadii Stepanov
Hennadii Stepanov
Since https://github.com/bitcoin/bitcoin/pull/30454 has been merged, further development in this repository no longer makes sense. Please consider moving this PR to the main repository.
I'm not familiar with Nix, unfortunately. @0xB10C Can you post here boost and libevent installation directory structures?
> ``` > CMake Error at /nix/store/pd8xc32hmc9sn70cc25x67ly90lby26j-cmake-3.25.3/share/cmake-3.25/Modules/FindPkgConfig.cmake:607 (message): > A required package was not found > Call Stack (most recent call first): > /nix/store/pd8xc32hmc9sn70cc25x67ly90lby26j-cmake-3.25.3/share/cmake-3.25/Modules/FindPkgConfig.cmake:829 (_pkg_check_modules_internal) > cmake/module/CrossPkgConfig.cmake:43 (pkg_check_modules) > cmake/module/AddLibeventIfNeeded.cmake:45...
CMake tries to find the `libevent` package by pointing the `pkg-config` at `depends/x86_64-pc-linux-gnu/lib/pkgconfig/libevent.pc` (the current Autotools-based system does the same). That is [achieved](https://github.com/hebasto/bitcoin/blob/2b2edb3c2f411b33b89f422a8078884af78f8f39/cmake/module/CrossPkgConfig.cmake#L35-L41) by setting the `PKG_CONFIG_PATH` environment variable to...
@0xB10C > 1. sqlite wallet dependencies aren't found Could you please apply the patch as follows: ```diff --- a/cmake/optional.cmake +++ b/cmake/optional.cmake @@ -150,7 +150,11 @@ if(ENABLE_WALLET) # Use of the...
Could you please try to configure CMake with `-DCMAKE_FIND_USE_INSTALL_PREFIX=OFF`?
Just in case, what are values of all `CMAKE_*` environment variables?
What about configuring with `-DCMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH=OFF`?
> > What about configuring with `-DCMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH=OFF`? > > Similar to [#121 (comment)](https://github.com/hebasto/bitcoin/issues/121#issuecomment-2015185149) - does not find sqlite. I've also tried `-DCMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH=OFF`, but that does not seem to work at...
What is the suggested workflow when using the ["Ninja Multi-Config"](https://cmake.org/cmake/help/latest/generator/Ninja%20Multi-Config.html) generator?