Created
August 7, 2012 20:46
-
-
Save michaeldauria/3289147 to your computer and use it in GitHub Desktop.
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
$ brew install grok [ruby-1.9.3-p125] | |
Warning: You have Xcode-4.3, which is outdated. | |
Please install Xcode 4.3.3. | |
==> Installing grok dependency: tokyo-cabinet | |
==> Downloading http://fallabs.com/tokyocabinet/tokyocabinet-1.4.47.tar.gz | |
######################################################################## 100.0% | |
==> ./configure --prefix=/usr/local/Cellar/tokyo-cabinet/1.4.47 --enable-fastest | |
==> make | |
==> make install | |
/usr/local/Cellar/tokyo-cabinet/1.4.47: 77 files, 4.6M, built in 14 seconds | |
==> Installing grok | |
==> Downloading https://github.com/jordansissel/grok/tarball/v0.9.2 | |
######################################################################## 100.0% | |
==> make grok | |
sh ./version.sh --header > grok_version.h | |
[ -f grok_capture_xdr.h ] && rm grok_capture_xdr.h || true | |
rpcgen -h grok_capture.x -o grok_capture_xdr.h | |
/usr/bin/clang -c -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 -pipe -fPIC -I. -O2 -I/usr/local/include -DPLATFORM_Darwin stringhelper.c -o stringhelper.o | |
/usr/bin/clang -c -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 -pipe -fPIC -I. -O2 -I/usr/local/include -DPLATFORM_Darwin libc_helper.c -o libc_helper.o | |
/usr/bin/gperf filters.gperf > filters.c | |
/usr/bin/gperf grok_matchconf_macro.gperf > grok_matchconf_macro.c | |
/usr/bin/clang -c -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 -pipe -fPIC -I. -O2 -I/usr/local/include -DPLATFORM_Darwin grok_discover.c -o grok_discover.o | |
/usr/bin/clang -c -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 -pipe -fPIC -I. -O2 -I/usr/local/include -DPLATFORM_Darwin conf.tab.c -o conf.tab.o | |
/usr/bin/clang -c -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 -pipe -fPIC -I. -O2 -I/usr/local/include -DPLATFORM_Darwin conf.yy.c -o conf.yy.o | |
/usr/bin/clang -c -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 -pipe -fPIC -I. -O2 -I/usr/local/include -DPLATFORM_Darwin grok_matchconf_macro.c -o grok_matchconf_macro.o | |
In file included from grok_discover.c:1: | |
In file included from ./grok.h:136: | |
In file included from ./grok_capture.h:4: | |
./grok_capture_xdr.h:6:2: error: unterminated conditional directive | |
#ifndef _GROK_CAPTURE_XDR_H_RPCGEN | |
^ | |
/usr/bin/clang -c -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 -pipe -fPIC -I. -O2 -I/usr/local/include -DPLATFORM_Darwin filters.c -o filters.o | |
In file included from grok_discover.c:1: | |
In file included from ./grok.h:136: | |
./grok_capture.h:8:38: error: unknown type name 'grok_capture' | |
void grok_capture_init(grok_t *grok, grok_capture *gct); | |
^ | |
./grok_capture.h:9:24: error: unknown type name 'grok_capture' | |
void grok_capture_free(grok_capture *gct); | |
^ | |
./grok_capture.h:11:43: error: unknown type name 'grok_capture' | |
void grok_capture_add(grok_t *grok, const grok_capture *gct); | |
^ | |
./grok_capture.h:12:7: error: unknown type name 'grok_capture' | |
const grok_capture *grok_capture_get_by_id(grok_t *grok, int id); | |
^ | |
./grok_capture.h:13:7: error: unknown type name 'grok_capture' | |
const grok_capture *grok_capture_get_by_name(const grok_t *grok, const char *name); | |
^ | |
./grok_capture.h:14:7: error: unknown type name 'grok_capture' | |
const grok_capture *grok_capture_get_by_subname(const grok_t *grok, | |
^ | |
./grok_capture.h:16:7: error: unknown type name 'grok_capture' | |
const grok_capture *grok_capture_get_by_capture_number(grok_t *grok, | |
^ | |
./grok_capture.h:20:7: error: unknown type name 'grok_capture' | |
const grok_capture *grok_capture_walk_next(const grok_t *grok); | |
^ | |
./grok_capture.h:22:42: error: unknown type name 'grok_capture' | |
int grok_capture_set_extra(grok_t *grok, grok_capture *gct, void *extra); | |
^ | |
./grok_capture.h:23:27: error: unknown type name 'grok_capture' | |
void _grok_capture_encode(grok_capture *gct, char **data_ret, int *size_ret); | |
^ | |
./grok_capture.h:24:27: error: unknown type name 'grok_capture' | |
void _grok_capture_decode(grok_capture *gct, char *data, int size); | |
^ | |
In file included from grok_discover.c:1: | |
In file included from ./grok.h:139: | |
In file included from ./grok_match.h:7: | |
./grok_capture_xdr.h:6:2: error: unterminated conditional directive | |
#ifndef _GROK_CAPTURE_XDR_H_RPCGEN | |
^ | |
In file included from grok_discover.c:1: | |
In file included from ./grok.h:139: | |
./grok_match.h:29:7: error: unknown type name 'grok_capture' | |
const grok_capture * grok_match_get_named_capture(const grok_match_t *gm, | |
^ | |
14 errors generated. | |
make: *** [grok_discover.o] Error 1 | |
make: *** Waiting for unfinished jobs.... | |
In file included from conf.y:8: | |
In file included from ./grok_matchconf.h:4: | |
In file included from ./grok.h:136: | |
In file included from ./grok_capture.h:4: | |
./grok_capture_xdr.h:6:2: error: unterminated conditional directive | |
#ifndef _GROK_CAPTURE_XDR_H_RPCGEN | |
^ | |
In file included from conf.y:8: | |
In file included from ./grok_matchconf.h:4: | |
In file included from ./grok.h:136: | |
./grok_capture.h:8:38: error: unknown type name 'grok_capture' | |
void grok_capture_init(grok_t *grok, grok_capture *gct); | |
^ | |
./grok_capture.h:9:24: error: unknown type name 'grok_capture' | |
void grok_capture_free(grok_capture *gct); | |
^ | |
./grok_capture.h:11:43: error: unknown type name 'grok_capture' | |
void grok_capture_add(grok_t *grok, const grok_capture *gct); | |
^ | |
./grok_capture.h:12:7: error: unknown type name 'grok_capture' | |
const grok_capture *grok_capture_get_by_id(grok_t *grok, int id); | |
^ | |
./grok_capture.h:13:7: error: unknown type name 'grok_capture' | |
const grok_capture *grok_capture_get_by_name(const grok_t *grok, const char *name); | |
^ | |
./grok_capture.h:14:7: error: unknown type name 'grok_capture' | |
const grok_capture *grok_capture_get_by_subname(const grok_t *grok, | |
^ | |
./grok_capture.h:16:7: error: unknown type name 'grok_capture' | |
const grok_capture *grok_capture_get_by_capture_number(grok_t *grok, | |
^ | |
./grok_capture.h:20:7: error: unknown type name 'grok_capture' | |
const grok_capture *grok_capture_walk_next(const grok_t *grok); | |
^ | |
./grok_capture.h:22:42: error: unknown type name 'grok_capture' | |
int grok_capture_set_extra(grok_t *grok, grok_capture *gct, void *extra); | |
^ | |
./grok_capture.h:23:27: error: unknown type name 'grok_capture' | |
void _grok_capture_encode(grok_capture *gct, char **data_ret, int *size_ret); | |
^ | |
./grok_capture.h:24:27: error: unknown type name 'grok_capture' | |
void _grok_capture_decode(grok_capture *gct, char *data, int size); | |
^ | |
In file included from conf.y:8: | |
In file included from ./grok_matchconf.h:4: | |
In file included from ./grok.h:139: | |
In file included from ./grok_match.h:7: | |
./grok_capture_xdr.h:6:2: error: unterminated conditional directive | |
#ifndef _GROK_CAPTURE_XDR_H_RPCGEN | |
^ | |
In file included from conf.y:8: | |
In file included from ./grok_matchconf.h:4: | |
In file included from ./grok.h:139: | |
./grok_match.h:29:7: error: unknown type name 'grok_capture' | |
const grok_capture * grok_match_get_named_capture(const grok_match_t *gm, | |
^ | |
14 errors generated. | |
make: *** [conf.tab.o] Error 1 | |
In file included from filters.gperf:3: | |
In file included from ./grok.h:136: | |
In file included from ./grok_capture.h:4: | |
./grok_capture_xdr.h:6:2: error: unterminated conditional directive | |
#ifndef _GROK_CAPTURE_XDR_H_RPCGEN | |
^ | |
In file included from filters.gperf:3: | |
In file included from ./grok.h:136: | |
./grok_capture.h:8:38: error: unknown type name 'grok_capture' | |
void grok_capture_init(grok_t *grok, grok_capture *gct); | |
^ | |
./grok_capture.h:9:24: error: unknown type name 'grok_capture' | |
void grok_capture_free(grok_capture *gct); | |
^ | |
./grok_capture.h:11:43: error: unknown type name 'grok_capture' | |
void grok_capture_add(grok_t *grok, const grok_capture *gct); | |
^ | |
./grok_capture.h:12:7: error: unknown type name 'grok_capture' | |
const grok_capture *grok_capture_get_by_id(grok_t *grok, int id); | |
^ | |
./grok_capture.h:13:7: error: unknown type name 'grok_capture' | |
const grok_capture *grok_capture_get_by_name(const grok_t *grok, const char *name); | |
^ | |
./grok_capture.h:14:7: error: unknown type name 'grok_capture' | |
const grok_capture *grok_capture_get_by_subname(const grok_t *grok, | |
^ | |
./grok_capture.h:16:7: error: unknown type name 'grok_capture' | |
const grok_capture *grok_capture_get_by_capture_number(grok_t *grok, | |
^ | |
./grok_capture.h:20:7: error: unknown type name 'grok_capture' | |
const grok_capture *grok_capture_walk_next(const grok_t *grok); | |
^ | |
./grok_capture.h:22:42: error: unknown type name 'grok_capture' | |
int grok_capture_set_extra(grok_t *grok, grok_capture *gct, void *extra); | |
^ | |
./grok_capture.h:23:27: error: unknown type name 'grok_capture' | |
void _grok_capture_encode(grok_capture *gct, char **data_ret, int *size_ret); | |
^ | |
./grok_capture.h:24:27: error: unknown type name 'grok_capture' | |
void _grok_capture_decode(grok_capture *gct, char *data, int size); | |
^ | |
In file included from filters.gperf:3: | |
In file included from ./grok.h:139: | |
In file included from ./grok_match.h:7: | |
./grok_capture_xdr.h:6:2: error: unterminated conditional directive | |
#ifndef _GROK_CAPTURE_XDR_H_RPCGEN | |
^ | |
In file included from filters.gperf:3: | |
In file included from ./grok.h:139: | |
./grok_match.h:29:7: error: unknown type name 'grok_capture' | |
const grok_capture * grok_match_get_named_capture(const grok_match_t *gm, | |
^ | |
14 errors generated. | |
make: *** [filters.o] Error 1 | |
rm filters.c grok_matchconf_macro.c | |
==> Build Environment | |
HOMEBREW_VERSION: 0.9.2 | |
HEAD: 2b90f75ded46b86a6401d0f3932b07d9d12811cc | |
CPU: 8-core 64-bit sandybridge | |
OS X: 10.7.4-x86_64 | |
Xcode: 4.3 | |
CLT: 1.0.0.9000000000.1.1249367152 | |
X11: XQuartz 2.6.4 in /usr/X11 | |
CC: /usr/bin/clang | |
CXX: /usr/bin/clang++ => /usr/bin/clang | |
LD: /usr/bin/clang | |
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 | |
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 | |
CPPFLAGS: -isystem /usr/local/include | |
LDFLAGS: -L/usr/local/lib | |
MACOSX_DEPLOYMENT_TARGET: 10.7 | |
MAKEFLAGS: -j8 | |
Error: Failed executing: make grok (grok.rb:13) | |
This may help you fix or report the issue if `brew doctor` does not: | |
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment