Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make sure we include mysql in the install. Update readme with informa…

…tion about the three current projects, how to get prereqs, and how to build/install them
  • Loading branch information...
commit a09b84308f00e2fcfbef1d9c669255aee97e33bf 1 parent b1d907e
@Whiteknight authored
Showing with 42 additions and 3 deletions.
  1. +1 −1  Makefile
  2. +41 −2 README.md
View
2  Makefile
@@ -3,7 +3,7 @@ all: memcached mysql mongodb
clean: clean_memcached clean_mongodb clean_mysql
-install: install_memcached install_mongodb
+install: install_memcached install_mysql install_mongodb
## Memcached
View
43 README.md
@@ -5,5 +5,44 @@ mechanisms, caches, and databases.
ParrotStore requires Parrot, Winxed and Rosella. Make sure you have all these
things built and installed on your system.
-The first storage mechanism to be supported is Memcached. Other mechanisms will
-be supported in the future.
+## 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
+
+

0 comments on commit a09b843

Please sign in to comment.
Something went wrong with that request. Please try again.