Last active
August 29, 2015 14:10
-
-
Save arika/d2c22b91c18c7baab69a to your computer and use it in GitHub Desktop.
brew install groonga with mruby-support
This file contains 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
with→enableの間違いを直すとonig-sourceの中身をbuildしてくれなくてコケるという流れ。 | |
いきなりmake installでなく、いったんmakeすれば回避できるみたい。 | |
diff --git a/Library/Formula/groonga.rb b/Library/Formula/groonga.rb | |
index 66a643d..441bddc 100644 | |
--- a/Library/Formula/groonga.rb | |
+++ b/Library/Formula/groonga.rb | |
@@ -28,7 +28,7 @@ class Groonga < Formula | |
--prefix=#{prefix} | |
--with-zlib | |
--disable-zeromq | |
- --with-mruby | |
+ --enable-mruby | |
--without-libstemmer | |
] | |
@@ -38,6 +38,7 @@ class Groonga < Formula | |
# ZeroMQ is an optional dependency that will be auto-detected unless we disable it | |
system "./configure", *args | |
+ system "make" | |
system "make install" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment