Changes between Version 2 and Version 6 of Ticket #71871


Ignore:
Timestamp:
Jan 19, 2025, 7:10:39 PM (11 months ago)
Author:
mascguy (Christopher Nielsen)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #71871

    • Property Status changed from new to assigned
    • Property Cc mascguy removed
    • Property Summary changed from cmake can't find boost to pg boost: for cmake projects, add boost to module path
    • Property Keywords portgroup added
    • Property Version changed from to 2.10.5
    • Property Owner set to mascguy
    • Property Port pg-boost added; boost181 removed
  • Ticket #71871 – Description

    v2 v6  
    1 I'm not really sure if this is a cmake issue or a boost issue.
    2 I'm trying to build a non-macports app (OpenModelica) using cmake, and worked fine until recently.  When I run cmake I now get these errors:
     1When the CMake pgs are in use, add Boost to the module path. Something like this, which was recently added to port `cadabra2`:
    32
     3{{{
     4# Ensure CMake can find the selected boost port
     5# TODO: Do this automatically via Boost portgroup
     6cmake.module_path-append \
     7                    [boost::lib_dir]/cmake
     8}}}
     9
     10Original description:
     11
     12I'm not really sure if this is a cmake issue or a boost issue. I'm trying to build a non-macports app (OpenModelica) using cmake, and worked fine until recently. When I run cmake I now get these errors:
    413
    514{{{
     
    1221}}}
    1322
    14 I see this ticket that is having the same problem:
    15 #71642
    16 Which suggests that it's a boost issue, but then has a fix of the cadabra2 port, where the problem was showing up. 
    17 I do have boost176 and boost181 ports installed.  I hadn't installed either directly, so they are dependents of other ports. 
    18 I'm not familiar enough with Boost to understand how to make cmake "find" it. 
     23I see this ticket that is having the same problem: #71642 Which suggests that it's a boost issue, but then has a fix of the cadabra2 port, where the problem was showing up. 
     24
     25I do have boost176 and boost181 ports installed. I hadn't installed either directly, so they are dependents of other ports. I'm not familiar enough with Boost to understand how to make cmake "find" it.