Permalink
Browse files

update the installation section.

  • Loading branch information...
1 parent ff1167c commit 92eb21fe971ac9d8ac2ee1a497627db5891e76a2 @fbzhong committed May 7, 2011
Showing with 9 additions and 3 deletions.
  1. +9 −3 README.markdown
View
@@ -6,12 +6,18 @@ A NodeJS binding for [Google CityHash](http://code.google.com/p/cityhash/).
### Install ###
-Dependency:
+Node-CityHash depends on Google CityHash, please install it first. For more information, please refer to [README](http://code.google.com/p/cityhash/source/browse/trunk/README)
- [Google CityHash](http://code.google.com/p/cityhash/), more detail please refer to [README](http://code.google.com/p/cityhash/source/browse/trunk/README).
+Install CityHash:
-Run:
+ cd ${cityhash dir}
+ ./configure --enable-sse4.2
+ make all check CXXFLAGS="-g -O3 -msse4.2"
+ sudo make install
+Install Node-CityHash:
+
+ cd ${node-cityhash dir}
make
### Functions ###

0 comments on commit 92eb21f

Please sign in to comment.