Sunday, May 10, 2015

Build and install grok on Ubuntu 14.04

Thanks the this post, got grok built and installed on Ubuntu 14.04:



> sudo apt-get update
> sudo apt-get install -y ctags flex gperf libevent-dev libpcre3-dev libtokyocabinet-dev
> sudo apt-get install build-essential
> sudo apt-get install wget
> wget
> tar -zxvf grok-1.20110630.1.tar.gz
> cd grok-1.20110630.1
> vi Makefile

Look for the following two lines:

gcc $(LDFLAGS) $^ -o $@

Change to:

gcc $^ $(LDFLAGS) -o $@

Enter the following command to build and install grok
> make
> sudo make install

No comments:

Post a Comment