Created
October 11, 2019 01:58
-
-
Save hsbt/7f6bc33d0f4aba73687939ce918f6650 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Building native extensions. This could take a while... | |
ERROR: Error installing re2: | |
ERROR: Failed to build gem native extension. | |
current directory: /Users/hsbt/.local/share/gem/gems/re2-1.1.1/ext/re2 | |
/Users/hsbt/.local/share/rbenv/versions/2.7.0-dev/bin/ruby -I /Users/hsbt/.local/share/rbenv/versions/2.7.0-dev/lib/ruby/2.7.0 -r ./siteconf20191011-73210-15xrm7g.rb extconf.rb | |
checking for -lstdc++... yes | |
checking for stdint.h... yes | |
checking for rb_str_sublen()... yes | |
checking for -lre2... yes | |
checking for re2 requires C++11 compiler... yes | |
checking for RE2::Match() with endpos argument... yes | |
creating Makefile | |
current directory: /Users/hsbt/.local/share/gem/gems/re2-1.1.1/ext/re2 | |
make "DESTDIR=" clean | |
current directory: /Users/hsbt/.local/share/gem/gems/re2-1.1.1/ext/re2 | |
make "DESTDIR=" | |
compiling re2.cc | |
re2.cc:1465:3: error: no matching function for call to 'rb_define_singleton_method' | |
rb_define_singleton_method(re2_cRegexp, "escape", | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/Users/hsbt/.local/share/rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/intern.h:235:6: note: candidate function not viable: no known conversion from 'VALUE (VALUE, VALUE)' (aka 'unsigned long (unsigned long, unsigned long)') to 'VALUE (*)(...)' (aka 'unsigned long (*)(...)') for 3rd argument | |
void rb_define_singleton_method(VALUE, const char*, VALUE(*)(ANYARGS), int); | |
^ | |
re2.cc:1467:3: error: no matching function for call to 'rb_define_singleton_method' | |
rb_define_singleton_method(re2_cRegexp, "quote", | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/Users/hsbt/.local/share/rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/intern.h:235:6: note: candidate function not viable: no known conversion from 'VALUE (VALUE, VALUE)' (aka 'unsigned long (unsigned long, unsigned long)') to 'VALUE (*)(...)' (aka 'unsigned long (*)(...)') for 3rd argument | |
void rb_define_singleton_method(VALUE, const char*, VALUE(*)(ANYARGS), int); | |
^ | |
re2.cc:1469:3: error: no matching function for call to 'rb_define_singleton_method' | |
rb_define_singleton_method(re2_cRegexp, "compile", | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/Users/hsbt/.local/share/rbenv/versions/2.7.0-dev/include/ruby-2.7.0/ruby/intern.h:235:6: note: candidate function not viable: no known conversion from 'VALUE (int, const VALUE *, VALUE)' (aka 'unsigned long (int, const unsigned long *, unsigned long)') to 'VALUE (*)(...)' (aka 'unsigned long (*)(...)') for 3rd argument | |
void rb_define_singleton_method(VALUE, const char*, VALUE(*)(ANYARGS), int); | |
^ | |
3 errors generated. | |
make: *** [re2.o] Error 1 | |
make failed, exit code 2 | |
Gem files will remain installed in /Users/hsbt/.local/share/gem/gems/re2-1.1.1 for inspection. | |
Results logged to /Users/hsbt/.local/share/gem/extensions/x86_64-darwin-19/2.7.0-static/re2-1.1.1/gem_make.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment