Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Home

alpkup edited this page · 4 revisions
Clone this wiki locally

Welcome to the Cashlib wiki!

Installation

Cashlib does not require any installation but has some dependencies. If those are not installed properly, the "make" command will give errors. Therefore, you should first install the following:

i) Open SSL development library

ii) Boost development libraries

iii) GNU Multi-Precision Arithmetic Library (GMP)

iv) ANTLR development library

v) Git

UBUNTU INSTALL

Install the following packages using Synaptic Package Manager with any extra dependencies accepted during installation. No configuration will be necessary.

  • libssl-dev
  • libboost-dev
  • libboost-thread-dev
  • libboost-iostreams-dev
  • libboost-program-options-dev
  • libgmp-dev
  • libantlr-dev
  • git

The exact library package names might contain version numbers, and hence may differ slightly from what is provided above. Alternatively, you may install libboost-all instead of parts.

PARDUS INSTALL

Default Pardus 2011 install does not come with even basic packages needed. Therefore, use the Pisi Package Manager to install the following packages:

  • git
  • make
  • gcc
  • pkgconfig
  • glibc-devel
  • kernel-headers
  • openssl-devel
  • boost-devel
  • antlr
  • gmp-devel

If you cannot find any of these packages, add this repository in the settings: http://pakete.pardususer.de/pardus-2011/x86_64/pisi-index.xml.xz

MAC OS X LION INSTALL

  1. Install Xcode using the Mac App Store
  2. Install MacPorts from http://www.macports.org/
  3. Open up a Terminal and run the following commands:

    sudo port install pkgconfig

    sudo port install openssl

    sudo port install boost

    sudo port install gmp

    sudo port install antlr

RUNNING

Once all these dependencies are installed, you need to download Cashlib from github using the following command:

git clone git://github.com/brownie/cashlib.git

Then, change the directory to cashlib/src and run

make

Hopefully, you will get no errors. Now you can use the

./test

command to run some test scripts on cashlib, and obtain performance measurements.

Something went wrong with that request. Please try again.