On 2019-11-16, mabi <m...@protonmail.ch> wrote:
> Hi,
>
> I am trying to install the nokogiri Ruby gem using "gem install nokogiri" and 
> have the ruby-2.5.5 package from ports for that purpose installed.
>
> Unfortunately it does not want to install complaining that the 
> 'machine/cdefs.h' header file can not be found. This header file is included 
> on line 41 of /usr/include/sys/cdefs.h but is not present on my OpenBSD 6.5 
> system. Am I missing something here?
>
> I have pasted below the full error output from installing that gem if that is 
> of any help.

For native extensions, it's really best to install from packages.

pkg_add ruby25-nokogiri

Reply via email to