diff options
Diffstat (limited to 'docs/installation.html')
| -rw-r--r-- | docs/installation.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/installation.html b/docs/installation.html index 24bc1bd..25c0bba 100644 --- a/docs/installation.html +++ b/docs/installation.html | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
| 2 | "http://www.w3.org/TR/html4/strict.dtd"> | 2 | "http://www.w3.org/TR/html4/strict.dtd"> |
| 3 | <html> | 3 | <html> |
| 4 | 4 | ||
| 5 | <head> | 5 | <head> |
| 6 | <meta name="description" content="LuaSocket: Introduction to the core"> | 6 | <meta name="description" content="LuaSocket: Introduction to the core"> |
| 7 | <meta name="keywords" content="Lua, LuaSocket, TCP, UDP, Network, Support, | 7 | <meta name="keywords" content="Lua, LuaSocket, TCP, UDP, Network, Support, |
| 8 | Installation"> | 8 | Installation"> |
| 9 | <title>LuaSocket: Installation</title> | 9 | <title>LuaSocket: Installation</title> |
| 10 | <link rel="stylesheet" href="reference.css" type="text/css"> | 10 | <link rel="stylesheet" href="reference.css" type="text/css"> |
| 11 | </head> | 11 | </head> |
| @@ -29,7 +29,7 @@ Installation"> | |||
| 29 | <a href="index.html#download">download</a> · | 29 | <a href="index.html#download">download</a> · |
| 30 | <a href="installation.html">installation</a> · | 30 | <a href="installation.html">installation</a> · |
| 31 | <a href="introduction.html">introduction</a> · | 31 | <a href="introduction.html">introduction</a> · |
| 32 | <a href="reference.html">reference</a> | 32 | <a href="reference.html">reference</a> |
| 33 | </p> | 33 | </p> |
| 34 | </center> | 34 | </center> |
| 35 | <hr> | 35 | <hr> |
| @@ -48,8 +48,8 @@ will likely already have been answered. </p> | |||
| 48 | 48 | ||
| 49 | <p> On Unix systems, the standard distribution uses two base | 49 | <p> On Unix systems, the standard distribution uses two base |
| 50 | directories, one for system dependent files, and another for system | 50 | directories, one for system dependent files, and another for system |
| 51 | independent files. Let's call these directories <tt><CDIR></tt> | 51 | independent files. Let's call these directories <tt><CDIR></tt> |
| 52 | and <tt><LDIR></tt>, respectively. | 52 | and <tt><LDIR></tt>, respectively. |
| 53 | For example, in my laptp, Lua 5.1 is configured to | 53 | For example, in my laptp, Lua 5.1 is configured to |
| 54 | use '<tt>/usr/local/lib/lua/5.1</tt>' for | 54 | use '<tt>/usr/local/lib/lua/5.1</tt>' for |
| 55 | <tt><CDIR></tt> and '<tt>/usr/local/share/lua/5.1</tt>' for | 55 | <tt><CDIR></tt> and '<tt>/usr/local/share/lua/5.1</tt>' for |
| @@ -57,9 +57,9 @@ use '<tt>/usr/local/lib/lua/5.1</tt>' for | |||
| 57 | usually points to the directory where the Lua executable is | 57 | usually points to the directory where the Lua executable is |
| 58 | found, and <tt><LDIR></tt> points to a | 58 | found, and <tt><LDIR></tt> points to a |
| 59 | <tt>lua/</tt> directory inside <tt><CDIR></tt>. (These | 59 | <tt>lua/</tt> directory inside <tt><CDIR></tt>. (These |
| 60 | settings can be overridden by environment variables | 60 | settings can be overridden by environment variables |
| 61 | <tt>LUA_PATH</tt> and <tt>LUA_CPATH</tt>. See the Lua | 61 | <tt>LUA_PATH</tt> and <tt>LUA_CPATH</tt>. See the Lua |
| 62 | documentation for details.) Here is the standard LuaSocket | 62 | documentation for details.) Here is the standard LuaSocket |
| 63 | distribution directory structure:</p> | 63 | distribution directory structure:</p> |
| 64 | 64 | ||
| 65 | <pre class=example> | 65 | <pre class=example> |
| @@ -76,7 +76,7 @@ distribution directory structure:</p> | |||
| 76 | </pre> | 76 | </pre> |
| 77 | 77 | ||
| 78 | <p> Naturally, on Unix systems, <tt>core.dll</tt> | 78 | <p> Naturally, on Unix systems, <tt>core.dll</tt> |
| 79 | would be replaced by <tt>core.so</tt>. | 79 | would be replaced by <tt>core.so</tt>. |
| 80 | </p> | 80 | </p> |
| 81 | 81 | ||
| 82 | <h3>Using LuaSocket</h3> | 82 | <h3>Using LuaSocket</h3> |
