Skip to content

Instantly share code, notes, and snippets.

@psamsotha
Created April 3, 2021 05:02
Show Gist options
  • Select an option

  • Save psamsotha/992b49e4e2b3c04aa7e56a695a594b3f to your computer and use it in GitHub Desktop.

Select an option

Save psamsotha/992b49e4e2b3c04aa7e56a695a594b3f to your computer and use it in GitHub Desktop.

Revisions

  1. psamsotha created this gist Apr 3, 2021.
    18 changes: 18 additions & 0 deletions mkmf.log
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    "clang -o conftest -I/opt/vagrant/embedded/include/ruby-2.6.0/x86_64-darwin19 -I/opt/vagrant/embedded/include/ruby-2.6.0/ruby/backward -I/opt/vagrant/embedded/include/ruby-2.6.0 -I. -I/opt/vagrant/embedded/include -mmacosx-version-min=10.9 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/vagrant/embedded/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I/opt/vagrant/embedded/include -mmacosx-version-min=10.9 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common -pipe conftest.c -L. -L/opt/vagrant/embedded/lib -L/opt/vagrant/embedded/lib -L. -mmacosx-version-min=10.9 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fstack-protector-strong -L/opt/vagrant/embedded/lib -lruby.2.6 "
    clang: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk' [-Wmissing-sysroot]
    In file included from conftest.c:1:
    In file included from /opt/vagrant/embedded/include/ruby-2.6.0/ruby.h:33:
    In file included from /opt/vagrant/embedded/include/ruby-2.6.0/ruby/ruby.h:29:
    /opt/vagrant/embedded/include/ruby-2.6.0/ruby/defines.h:123:10: fatal error: 'stdio.h' file not found
    #include <stdio.h>
    ^~~~~~~~~
    1 error generated.
    checked program was:
    /* begin */
    1: #include "ruby.h"
    2:
    3: int main(int argc, char **argv)
    4: {
    5: return 0;
    6: }
    /* end */