[MacPorts] #69604: ruby-build fails with fatal error: 'yaml.h' file not found

MacPorts noreply at macports.org
Wed Mar 27 18:56:38 UTC 2024


#69604: ruby-build fails with fatal error: 'yaml.h' file not found
-------------------------+----------------------
  Reporter:  breun       |      Owner:  mojca
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  ruby-build  |
-------------------------+----------------------

Comment (by ryandesign):

 As with any scenario when you are building something outside of MacPorts
 but want to use libraries installed by MacPorts, you would need to add
 `-I/opt/local/include` in CPPFLAGS and `-L/opt/local/lib` in LDFLAGS. How
 to achieve that with rbenv I don't know.

-- 
Ticket URL: <https://trac.macports.org/ticket/69604#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list