Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#57987 closed defect (fixed)

configuring openvdb failed: could not find boost_python2

Reported by: imkaywu (_KaiWu_ (吴凯)) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: openvdb

Description

Hello, I failed to install openvdb in my MacBook, and the error message is as follows:

2109 :info:configure CMake Error at /opt/local/share/cmake-3.13/Modules/FindBoost.cmake:2100 (message):
2110 :info:configure   Unable to find the requested Boost libraries.
2111 :info:configure   Boost version: 1.66.0
2112 :info:configure   Boost include path: /opt/local/include
2113 :info:configure   Could not find the following Boost libraries:
2114 :info:configure           boost_python2
2115 :info:configure   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
2116 :info:configure   directory containing Boost libraries or BOOST_ROOT to the location of
2117 :info:configure   Boost.

There is a libboost_python-mt.a[.dylib] in /opt/local/lib, but I wasn't sure if that the one cmake failed to find.

I'm using macOS 10.14.2, MacPorts 2.5.4, and boost @1.66.0_3+no_single+python27 (I've also tried 1.59). Any suggestion is appreciated.

Change History (4)

comment:1 Changed 5 years ago by jmroot (Joshua Root)

Keywords: openvdb boost boost_python2 removed
Owner: set to MarcusCalhoun-Lopez
Status: newassigned
Summary: installing openvdb failed: could not find boost_python2 errorconfiguring openvdb failed: could not find boost_python2
Version: 2.5.4

comment:2 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed

In a19e15516ade03814abae911c876739b1327fc73/macports-ports (master):

openvdb: use correct library location for Python 2.7

No revbump since port either builds correctly or not at all.
Fixes #57987

comment:3 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Thank you for the report.
I believe this should now be fixed.
If not, please feel free to reopen.

comment:4 in reply to:  3 Changed 5 years ago by imkaywu (_KaiWu_ (吴凯))

Indeed it works, thank you. Replying to MarcusCalhoun-Lopez:

Thank you for the report.
I believe this should now be fixed.
If not, please feel free to reopen.

Note: See TracTickets for help on using tickets.