On Sat, Oct 23, 2010 at 6:34 PM, Thijs Koerselman <[email protected] > wrote:
> Hi, > I'm using a script to install some rocks in a sandbox environment. Whenever > I run the script a second time some of the rocks get in trouble. To me it > looks like they extract their tmp files to the same directory in > /private/tmp. I get asked whether I want to overwrite the rockspec and then > regardless of my answer, the error below occurs. This doesn't seem to happen > for all rocks, but in my case only luadoc and lualogging. I'm installing > these rocks without sudo /root privileges. > > I have a better idea of where the problem is now. For example with lualogging. During install it creates a directory like: /private/tmp/luarocks_luarocks-manifest-http___luarocks.org_repositories_rocks-695/ The second time around there is a conflict with this. I'm running luarocks without sudo, version 2.0.3. Below is my output, you can see that the first time the installer works fine, the second time there is a problem. Hope someone knows a fix for this. Now I just have to manually delete the tmp directory. Thijs laptop-3:bin thijskoerselman$ ./luarocks install lualogging Installing http://luarocks.org/repositories/rocks/lualogging-1.1.4-1.all.rock... Archive: /private/tmp/luarocks_luarocks-rock-lualogging-1.1.4-1-2584/lualogging-1.1.4-1.all.rock creating: lua/ creating: lua/logging/ inflating: lua/logging/email.lua inflating: lua/logging/file.lua inflating: lua/logging/sql.lua inflating: lua/logging/console.lua inflating: lua/logging/socket.lua inflating: lua/logging.lua inflating: lualogging-1.1.4-1.rockspec Updating manifest for /Users/thijskoerselman/Documents/Projects/IM3I/svn/bintje/audiomodule/sandbox/lib/luarocks/rocks lualogging 1.1.4-1 is now installed in /Users/thijskoerselman/Documents/Projects/IM3I/svn/bintje/audiomodule/sandbox (license: MIT/X11) laptop-3:bin thijskoerselman$ ./luarocks install lualogging Installing http://luarocks.org/repositories/rocks/lualogging-1.1.4-1.all.rock... Archive: /private/tmp/luarocks_luarocks-rock-lualogging-1.1.4-1-8368/lualogging-1.1.4-1.all.rock creating: lua/ creating: lua/logging/ inflating: lua/logging/email.lua inflating: lua/logging/file.lua inflating: lua/logging/sql.lua inflating: lua/logging/console.lua inflating: lua/logging/socket.lua inflating: lua/logging.lua replace lualogging-1.1.4-1.rockspec? [y]es, [n]o, [A]ll, [N]one, [r]ename:
_______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
