Make the compilation instructions generic

This commit is contained in:
Julio Gonzalez Gil 2018-10-08 19:34:10 +02:00
parent 8929a27a24
commit 4779d14d7d

View File

@ -19,8 +19,8 @@ Features
* user-specified regions, including Amazon GovCloud * user-specified regions, including Amazon GovCloud
* authenticate via v2 or v4 signatures * authenticate via v2 or v4 signatures
Installation Installation from pre-built packages
------------ ------------------------------------
Some systems provide pre-built packages: Some systems provide pre-built packages:
@ -54,27 +54,35 @@ Some systems provide pre-built packages:
$ brew install s3fs $ brew install s3fs
``` ```
Compilation Compilation and installation from sources
----------- -----------------------------------------
* On Linux, ensure you have all the dependencies: These are generic instructions to compile from the master branch, and should work on almost any GNU/Linux, Mac OS, BSD or similar.
On Ubuntu 14.04: If you want specific instructions for some distributions, check the [wiki](https://github.com/s3fs-fuse/s3fs-fuse/wiki/Installation-Notes).
``` Keep in mind using the pre-built packages when available.
sudo apt-get install automake autotools-dev fuse g++ git libcurl4-openssl-dev libfuse-dev libssl-dev libxml2-dev make pkg-config
```
Then compile from master via the following commands: 1. Ensure your system satisfies build and runtime dependencies for:
``` * fuse >= 2.8.4
git clone https://github.com/s3fs-fuse/s3fs-fuse.git * automake
cd s3fs-fuse * gcc-c++
./autogen.sh * make
./configure * libcurl
make * libxml2
sudo make install * openssl
```
2. Then compile from master via the following commands:
```
git clone https://github.com/s3fs-fuse/s3fs-fuse.git
cd s3fs-fuse
./autogen.sh
./configure
make
sudo make install
```
Examples Examples
-------- --------