diff options
author | Vladimir Kobal <vlad@prokk.net> | 2019-06-13 20:33:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-13 20:33:52 +0300 |
commit | 3faf9d49377e6ef391450c499742183db6813006 (patch) | |
tree | 04034a913b2b175a65f4309d04163b879ed16764 /backends/aws_kinesis | |
parent | a0dc38437eb8529086a4f9fa60400b85d71016cb (diff) |
Add comments about AWS SDK for C++ installation (#6277)
Diffstat (limited to 'backends/aws_kinesis')
-rw-r--r-- | backends/aws_kinesis/README.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/backends/aws_kinesis/README.md b/backends/aws_kinesis/README.md index a9cc77d6ec..4249790975 100644 --- a/backends/aws_kinesis/README.md +++ b/backends/aws_kinesis/README.md @@ -4,7 +4,11 @@ To use AWS Kinesis as a backend AWS SDK for C++ should be [installed](https://docs.aws.amazon.com/en_us/sdk-for-cpp/v1/developer-guide/setup.html) first. `libcrypto`, `libssl`, and `libcurl` are also required to compile netdata with Kinesis support enabled. Next, netdata should be re-installed from the source. The installer will detect that the required libraries are now available. -If AWS SDK for C++ is being installed from sources, it is useful to set `-DBUILD_ONLY="kinesis"`. Otherwise, the building process could take a very long time. +If the AWS SDK for C++ is being installed from source, it is useful to set `-DBUILD_ONLY="kinesis"`. Otherwise, the building process could take a very long time. Take a note, that the default installation path for the libraries is `/usr/local/lib64`. Many Linux distributions don't include this path as the default one for a library search, so it is advisable to use the following options to `cmake` while building the AWS SDK: + +``` +cmake -DCMAKE_INSTALL_LIBDIR=/usr/lib -DCMAKE_INSTALL_INCLUDEDIR=/usr/include -DBUILD_SHARED_LIBS=OFF -DBUILD_ONLY=kinesis <aws-sdk-cpp sources> +``` ## Configuration |