[MacPorts] #71882: ledger @3.3.2: Could not find a package configuration file provided by "boost_python312" (was: Failed to configure ledger)
MacPorts
noreply at macports.org
Fri Apr 11 23:27:44 UTC 2025
#71882: ledger @3.3.2: Could not find a package configuration file provided by
"boost_python312"
-------------------------+--------------------
Reporter: brandelune | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords:
Port: ledger |
-------------------------+--------------------
Comment (by ryandesign):
Replying to [comment:2 brandelune]:
> When building ledger from source, running it fails with:
>
> {{{
> dyld[89753]: Library not loaded:
'/opt/local/Library/Frameworks/Python.framework/Versions/3.11/Python'
> Referenced from: '/opt/local/bin/ledger'
> Reason: tried:
'/opt/local/Library/Frameworks/Python.framework/Versions/3.11/Python' (no
such file), '/Library/Frameworks/Python.framework/Versions/3.11/Python'
(no such file),
'/System/Library/Frameworks/Python.framework/Versions/3.11/Python' (no
such file)
> [1] 89753 abort ledger
> }}}
No, building from source failed with the following error, according to the
main.log file you attached:
{{{
CMake Error at
/opt/local/libexec/boost/1.76/lib/cmake/Boost-1.76.0/BoostConfig.cmake:141
(find_package):
Could not find a package configuration file provided by
"boost_python312"
(requested version 1.76.0) with any of the following names:
boost_python312Config.cmake
boost_python312-config.cmake
Add the installation prefix of "boost_python312" to CMAKE_PREFIX_PATH or
set "boost_python312_DIR" to a directory containing one of the above
files.
If "boost_python312" provides a separate development package or SDK, be
sure it has been installed.
Call Stack (most recent call first):
/opt/local/libexec/boost/1.76/lib/cmake/Boost-1.76.0/BoostConfig.cmake:258
(boost_find_component)
/opt/local/share/cmake-3.31/Modules/FindBoost.cmake:610 (find_package)
CMakeLists.txt:92 (find_package)
-- Configuring incomplete, errors occurred!
}}}
Receiving a binary from our server, built at a time when the port still
specified that it should use python 3.11 instead of 3.12, would result in
the `Library not loaded` error.
3.13 is the currently recommend version of python so someone should modify
the port to use python 3.13 and increase the revision, verify that works,
and then submit it as a pull request.
--
Ticket URL: <https://trac.macports.org/ticket/71882#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list