$ python -V Python 3.8.18 On Thursday, December 14, 2023 at 4:20:24 PM UTC-5 lipp f wrote:
> I've done this: > $ conda create -n ldg-build python=3.8 boost py-boost zlib > > $ ./acprep dependencies > ....... > 0 upgraded, 0 newly installed, 0 to remove and 132 not upgraded. > > $ cmake -Bbuild -S. -DUSE_PYTHON:BOOL=ON^C > -- Found Python: /home/sergiu/miniconda3/envs/invest_01/bin/python3.9 > (found version "3.9.16") found components: Interpreter > -- Found Python: /home/sergiu/miniconda3/envs/invest_01/bin/python3.9 > (found version "3.9.16") found components: Interpreter Development > > CMake Error at > /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake:117 > (find_package): > Found package configuration file: > > > /usr/lib/x86_64-linux-gnu/cmake/boost_python-1.71.0/boost_python-config.cmake > > but it set boost_python_FOUND to FALSE so package "boost_python" is > considered to be NOT FOUND. Reason given by package: > > No suitable build variant has been found. > > The following variants have been tried and rejected: > > * libboost_python38.so.1.71.0 (3.8, Boost_PYTHON_VERSION=3.9) > > * libboost_python38.a (3.8, Boost_PYTHON_VERSION=3.9) > > Call Stack (most recent call first): > /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake:182 > (boost_find_component) > /usr/share/cmake-3.16/Modules/FindBoost.cmake:443 (find_package) > CMakeLists.txt:92 (find_package) > > > > -- Configuring incomplete, errors occurred! > > > > On Thursday, December 14, 2023 at 4:10:41 PM UTC-5 Alexis wrote: > >> Hi, >> >> It seems that in the environment in which you are trying to build >> ledger has Python version 3.9 installed (maybe a venv?), but >> the Boost library (version 1.71) provides bindings for Python 3.8. >> >> Did you run `./acprep dependencies`? >> What Linux distro and version are you on? >> Are you running a venv (or something similar)? >> >> >> Cheers >> Alexis >> > -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/e8707d17-93bc-4311-a620-70f4a3d8a4e1n%40googlegroups.com.
