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

MacPorts noreply at macports.org
Mon Apr 1 11:50:10 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 breun):

 Sure, letting the `ruby-build`port  take care of this does seem nicer than
 bothering upstream with knowledge about MacPorts. It looks like the most
 recent versions of Ruby require `libyaml` to build. It would be great if
 the `ruby-build` port would take care of installing `libyaml` and setting
 `--with-libyaml-dir=${prefix}` by default. Then `rbenv install (…)`
 commands should work out if the box.

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


More information about the macports-tickets mailing list