Skip to content

Instantly share code, notes, and snippets.

@eerohele
Last active December 22, 2015 00:49
Show Gist options
  • Save eerohele/6392276 to your computer and use it in GitHub Desktop.
Save eerohele/6392276 to your computer and use it in GitHub Desktop.
Compile the Silver Searcher from source into $HOME/.local
  1. Install PCRE.

  2. Set the LD_LIBRARY_PATH variable:

     export LD_LIBRARY_PATH=$HOME/.local/lib
    
  3. Edit the_silver_searcher/build.sh and change the line with ./configure to this:

     ./configure --prefix=$HOME/.local $@ && \
    
  4. Run build.sh:

     ./build.sh
    
  5. Run make:

     make install
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment