Rate This Document
Findability
Accuracy
Completeness
Readability

Snappy-java-1.0.5

  1. Download the source code.
    1
    2
    wget https://codeload.github.com/xerial/snappy-java/zip/1.0.5
    mv 1.0.5 snappy-java-1.0.5.zip
    
  2. Decompress the source package.
    1
    unzip snappy-java-1.0.5.zip
    
  3. Go to the directory where the Snappy source package is decompressed.
    1
    cd snappy-java-1.0.5
    
  4. In the Makefile file, comment out the curl script statement in line 21 and add a new web page link for downloading snappy-1.0.5.tar.gz.
    #curl -o$@ http://snappy.googlecode.com/files/snappy-$(VERSION).tar.gz
    curl -k -o$@ https://src.fedoraproject.org/lookaside/pkgs/snappy/snappy-$(VERSION).tar.gz/4c0af044e654f5983f4acbf00d1ac236/snappy-$(VERSION).tar.gz

    The original Snappy download website snappy.googlecode.com in unreachable. Therefore, you need to use another download URL.

  5. Go to the directory where the snappy-java source package is decompressed.
    1
    cd snappy-java-1.0.5
    
  6. Perform the compilation.
    1
    make