@@ -46,15 +46,12 @@ For Unix/Linux we distribute the SDK as source code. The release tarballs
4646contain a simple build script that should work on most Unix/Linux systems. The
4747build system is currently autotools.
4848
49- To install autotools on Ubuntu use apt-get and install the following:
49+ To install cmake on Ubuntu use apt-get and install the following:
5050
51- $ sudo apt-get install build-essential
52- $ sudo apt-get install autoconf
53- $ sudo apt-get install libtool
51+ $ sudo apt-get install cmake
5452
55- To install autotools on CentOS use yum and install the following:
56- $ sudo yum install autoconf
57- $ sudo yum install libtool
53+ To install cmake on CentOS use yum and install the following:
54+ $ sudo yum install cmake
5855
5956The SDK depends upon several open source libraries, so you'll need to ensure
6057that you've installed the development header packages for each of them. For
@@ -96,8 +93,7 @@ terminal window.
9693 $ cd directory/containing/release/tarball
9794 $ tar zxf ds3_c_sdk-{version}.tgz
9895 $ cd ds3_c_sdk-{version}
99- $ autoreconf --install
100- $ ./configure
96+ $ cmake .
10197 $ make
10298 $ su
10399 # make install
@@ -113,21 +109,16 @@ The `make install` command installs the following files on your system:
113109 {prefix}/lib/libds3.so.0.0.0
114110 {prefix}/include/ds3.h
115111
116- The ` ./configure ` command sets ` {prefix} ` to ` /usr/local ` by default. You can
117- change this by running ` ./configure --prefix=/your/desired/prefix ` instead of
118- ` ./configure ` .
119-
120112GIT Clone
121113---------
122114
123115To build the SDK from a git clone you must have a relatively recent version of
124116GNU autoutils installed. While the release tarball does contain the build
125- scripts that autoutils generates, the git repository does not.
117+ scripts that cmake generates, the git repository does not.
126118
127- Assuming you have autotools installed, you can execute ` autoreconf --install `
128- and then follow the same instructions as the tarball release.
119+ Assuming you have cmake installed, you can follow the same instructions as the tarball release.
129120
130- Usage
121+ pkg-config Usage
131122-----
132123
133124The SDK provides a pkg-config definition, so you can determine the proper
0 commit comments