Getting started - silviucpp/erlcass GitHub Wiki
Usually the rebar
or rebar3
will install for you all dependencies on Cent OS, Ubuntu and Mac OS. You can skip this section in case you didn't received any error at compiling.
This dependencies are required to compile the Datastax c++ driver. More details here.
For example:
Centos:
sudo yum install automake cmake gcc-c++ git libtool openssl-devel wget
pushd /tmp
wget http://dist.libuv.org/dist/v1.8.0/libuv-v1.8.0.tar.gz
tar xzf libuv-v1.8.0.tar.gz
pushd libuv-v1.8.0
sh autogen.sh
./configure
sudo make install
popd
popd
Note: On CentOS you need to add usr/local/lib
into ldconfig
search path.
su -
nano /etc/ld.so.conf.d/usrlocal.conf
add inside the file: usr/local/lib
ldconfig -v
Ubuntu:
sudo apt-add-repository ppa:linuxjedi/ppa
sudo apt-get update
sudo apt-get install g++ make cmake libssl-dev libuv1-dev
Mac OS:
brew install libuv cmake openssl