google / zoekt

Fast trigram based code search
1.7k stars 113 forks source link

Some notes on Installation #2

Closed kohlerm closed 8 years ago

kohlerm commented 8 years ago

Hi, Great to see some alternative to csearch! I tried to install it an RHEL 7.2 and I had to do some additional steps.

I had to do an go get first: go get github.com/google/zoekt/cmd/zoekt-index

It would also he helpful to mention that the git repository indexing support depends on libgit2 (and libgit2-devel, I guess) being installed, which in turn depends on git2go. They mean issue here for me was that on my OS only version 0.21 of libgit2 was available in the repository. I therefore had to compile libgit (0.24) from scratch, which worked flawlessly.

kohlerm commented 8 years ago

also it seems if one wants to use ctags it has to be either named ctags-universal or ctags-exuberant see (https://github.com/google/zoekt/blob/master/build/builder.go)

My ctags-universal was named just "ctags"