Snappy-java-1.0.5
- 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
- Decompress the source package.
1unzip snappy-java-1.0.5.zip - Go to the directory where the Snappy source package is decompressed.
1cd snappy-java-1.0.5
- 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.
- Go to the directory where the snappy-java source package is decompressed.
1cd snappy-java-1.0.5
- Perform the compilation.
1make
Parent topic: Compiling snappy-java