Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Storage and data persistance for Parrot VM

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .gitmodules
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
README.md

ParrotStore is a project for connecting the Parrot Virtual Machine (PVM) to a variety of storage mechanisms, including 3rd party storage and persistance mechanisms, caches, and databases.

ParrotStore requires Parrot, Winxed and Rosella. Make sure you have all these things built and installed on your system.

Sub-Libraries

Memcached

To build memcached library:

make memcached
make install_memcached

This adds "parrotstore/memcached.pbc" to your lib directory

MySQL

You must have libmysqlclient installed on your machine in a standard place. Debian users can probably use something like:

apt-get install libmysqlclient-dev

To build the MySQL bindings:

make mysql
make install_mysql

MongoDB

You must have the MongoDB C Driver installed on your system. Here's the incantation I used to get it, your mileage may vary:

git clone https://github.com/mongodb/mongo-c-driver.git mongo-c-driver
cd mongo-c-driver
git checkout v0.5
scons
make install

I do not know how the API changes across versions, but version 0.5 seems to work well enough and is what I am testing against locally.

To build the MongoDB bindings:

make mongodb
make install_mongodb

SQLite3

You have have the libsqlite3 and libsqlite3-dev packages installed. I did this:

apt-get install libsqlite3-0 libsqlite3-dev sqlite3

That also gives you the commandline client for testing.

To build the sqlite3 bindings:

make sqlite3
make install_sqlite3
Something went wrong with that request. Please try again.