aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMars <mars@users.noreply.github.com>2016-01-29 10:16:37 -0800
committerMars <mars@users.noreply.github.com>2016-01-29 10:16:37 -0800
commit3dc7389e17245796a1cc35555a22fb3567008dd7 (patch)
tree6498f461db89271334bc05bd648ab1e4373fbf21
parent8a7ae27c5da39f518e371166a9f9a49875e89611 (diff)
downloadlua_uuid-3dc7389e17245796a1cc35555a22fb3567008dd7.tar.gz
lua_uuid-3dc7389e17245796a1cc35555a22fb3567008dd7.tar.bz2
lua_uuid-3dc7389e17245796a1cc35555a22fb3567008dd7.zip
Explain the `libuuid` requirement.
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index ee80f5d..51142b3 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,20 @@
Lua library that generate UUIDs leveraging [libuuid](http://linux.die.net/man/3/libuuid).
+## Requirements
+
+The `uuid/uuid.h` header must be available in the system `INCLUDE_PATH`, otherwise you will hit an error like:
+
+> ld: library not found for -luuid
+> …
+> Failed compiling module lua_uuid.so
+
+* Mac OS X
+ * `brew install ossp-uuid`
+* Debian Linux; Ubuntu
+ * `apt-get install uuid-dev`
+
+
## Usage
To generate a new UUID string: