diff options
| author | Ignacio Burgueño <ignaciob@inconcertcc.com> | 2013-09-22 17:28:49 -0300 |
|---|---|---|
| committer | Ignacio Burgueño <ignaciob@inconcertcc.com> | 2013-09-22 17:31:06 -0300 |
| commit | f8b54323986eb619772d6faae40db0b7a1379054 (patch) | |
| tree | 75ad649c3bd03929ecfd10efc95a5ccc75eb4840 | |
| parent | 2e999a15fa6de929cf7640054554844d27a20174 (diff) | |
| download | luarocks-f8b54323986eb619772d6faae40db0b7a1379054.tar.gz luarocks-f8b54323986eb619772d6faae40db0b7a1379054.tar.bz2 luarocks-f8b54323986eb619772d6faae40db0b7a1379054.zip | |
When you supply an existing Lua installation, the suggested value for LUA_CPATH is wrong.
```sh
install /P c:\LuaRocks /LUA d:\trunk_git\packages\Lua5.1 /F
(...)
You may want to add the following elements to your paths;
PATH : d:\trunk_git\packages\Lua5.1\bin\;c:\LuaRocks\2.1
LUA_PATH :
c:\LuaRocks\share\lua\5.1\?.lua;c:\LuaRocks\share\lua\5.1\?\init.lua
LUA_CPATH: d:\trunk_git\packages\Lua5.1\lib\lua\5.1\?.dll
```
Even `luarocks path` shows the correct values:
```sh
SET LUA_CPATH=c:\LuaRocks/lib/lua/5.1/?.dll;c:\LuaRocks\lib\lua\5.1\?.dll
```
| -rw-r--r-- | install.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install.bat b/install.bat index 8222454e..abf680a4 100644 --- a/install.bat +++ b/install.bat | |||
| @@ -643,7 +643,7 @@ print(S[[ | |||
| 643 | You may want to add the following elements to your paths; | 643 | You may want to add the following elements to your paths; |
| 644 | PATH : $LUA_BINDIR;$FULL_PREFIX | 644 | PATH : $LUA_BINDIR;$FULL_PREFIX |
| 645 | LUA_PATH : $ROCKS_TREE\share\lua\$LUA_VERSION\?.lua;$ROCKS_TREE\share\lua\$LUA_VERSION\?\init.lua | 645 | LUA_PATH : $ROCKS_TREE\share\lua\$LUA_VERSION\?.lua;$ROCKS_TREE\share\lua\$LUA_VERSION\?\init.lua |
| 646 | LUA_CPATH: $LUA_LIBDIR\lua\$LUA_VERSION\?.dll | 646 | LUA_CPATH: $ROCKS_TREE\lib\lua\$LUA_VERSION\?.dll |
| 647 | 647 | ||
| 648 | ]]) | 648 | ]]) |
| 649 | os.exit(0) | 649 | os.exit(0) |
