diff options
| author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-10-05 03:16:17 +0000 |
|---|---|---|
| committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-10-05 03:16:17 +0000 |
| commit | 72eceedc62d2cb65421fe9e0062a5d8f8c2bd3c4 (patch) | |
| tree | 8ad4d77c2a5889748afa164188d566570028a513 /doc/installation.html | |
| parent | a65c599fc5014de278d10c64fa0e425149517fe8 (diff) | |
| download | luasocket-72eceedc62d2cb65421fe9e0062a5d8f8c2bd3c4.tar.gz luasocket-72eceedc62d2cb65421fe9e0062a5d8f8c2bd3c4.tar.bz2 luasocket-72eceedc62d2cb65421fe9e0062a5d8f8c2bd3c4.zip | |
Bugs sent by David.
Diffstat (limited to 'doc/installation.html')
| -rw-r--r-- | doc/installation.html | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/installation.html b/doc/installation.html index d30e919..1b82ed3 100644 --- a/doc/installation.html +++ b/doc/installation.html | |||
| @@ -76,9 +76,9 @@ distribution directory structure:</p> | |||
| 76 | <pre class=example> | 76 | <pre class=example> |
| 77 | <SHARE>/compat-5.1.lua | 77 | <SHARE>/compat-5.1.lua |
| 78 | <SHARE>/ltn12.lua | 78 | <SHARE>/ltn12.lua |
| 79 | <SHARE>/mime/init.lua | 79 | <SHARE>/mime/init.lua (originally mime.lua) |
| 80 | <LIB>/mime/core.dll | 80 | <LIB>/mime/core.dll |
| 81 | <SHARE>/socket/init.lua | 81 | <SHARE>/socket/init.lua (originally socket.lua) |
| 82 | <LIB>/socket/core.dll | 82 | <LIB>/socket/core.dll |
| 83 | <SHARE>/socket/http.lua | 83 | <SHARE>/socket/http.lua |
| 84 | <SHARE>/socket/tp.lua | 84 | <SHARE>/socket/tp.lua |
| @@ -88,7 +88,10 @@ distribution directory structure:</p> | |||
| 88 | </pre> | 88 | </pre> |
| 89 | 89 | ||
| 90 | <p> Naturally, on Unix systems, <tt>core.dll</tt> | 90 | <p> Naturally, on Unix systems, <tt>core.dll</tt> |
| 91 | would be replaced by <tt>core.so</tt>. | 91 | would be replaced by <tt>core.so</tt>. Notice that in the instalation, |
| 92 | <tt>socket.lua</tt> becomes <tt>socket/init.lua</tt>, and the same happens | ||
| 93 | with <tt>mime.lua</tt>, which becomes <tt>mime/init.lua</tt>. | ||
| 94 | </p> | ||
| 92 | 95 | ||
| 93 | <p> In order for the interpreter to find all LuaSocket components, three | 96 | <p> In order for the interpreter to find all LuaSocket components, three |
| 94 | environment variables need to be set. The first environment variable tells | 97 | environment variables need to be set. The first environment variable tells |
| @@ -110,7 +113,7 @@ LUA_CPATH=<LIB>/?.dll;?.dll | |||
| 110 | </pre> | 113 | </pre> |
| 111 | 114 | ||
| 112 | <p> Again, naturally, on Unix systmems the shared library extension would be | 115 | <p> Again, naturally, on Unix systmems the shared library extension would be |
| 113 | <tt>.so</tt> instead of <tt>.dll</tt></p> | 116 | <tt>.so</tt> instead of <tt>.dll</tt>.</p> |
| 114 | 117 | ||
| 115 | <h3>Using LuaSocket</h3> | 118 | <h3>Using LuaSocket</h3> |
| 116 | 119 | ||
