Re: [Luarocks-developers] [ANN] LuaRocks 2.4.2
It was thus said that the Great Hisham once stated: > On 1 December 2016 at 04:03, Sean Connerwrote: > > > > First off, the latest version of LuaRocks I see on the LuaRocks site is > > 2.4.1. > > Ouch, that was fixed now, sorry. Thanks. > > Second off, I have luarocks installed locally in $HOME/.luarocks. When I > > attempt to do "luarocks install luarocks", this is what happens: > > [ snip ] > > Error: Build error: Failed installing. > > [spc]lucy:~> > > What was your current LuaRocks version at that point? 2.4.1? Yes, I am running 2.4.1. > Thank you for your feedback and sorry about the inconvenience, Hey, I work with computers---stuff happens. -spc (Don't ask me about the time one record was accidentally removed, which caused our entire service to collapse in on itself ... ) -- ___ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers
Re: [Luarocks-developers] [ANN] LuaRocks 2.4.2
On Wed, Nov 30, 2016 at 11:25 PM, Deepak Joiswrote: > > My luarocks installation on OS X comes from the lua installed via > Homebrew. [...] > > Error: Your user does not have write permissions in /usr/local > -- you may want to run as a privileged user or use your local tree with > --local. > > Homebrew requires /usr/local to be writeable; Homebrew recommend fixes: sudo chown -R $(whoami) /usr/local or sudo chgrp -R admin /usr/local sudo chmod -R g+w /usr/local You will need to do one of these to continue using Homebrew. LuaRocks specific options, such as using a local tree, may be fine in general, but you'll still have the Homebrew problem. e -- ___ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers
Re: [Luarocks-developers] [ANN] LuaRocks 2.4.2
On 1 December 2016 at 04:03, Sean Connerwrote: > It was thus said that the Great Hisham once stated: >> Hello, list! >> >> I'm happy to announce LuaRocks 2.4.2. LuaRocks is the Lua package >> manager. (For more information, please visit http://luarocks.org ) >> >> http://luarocks.org/releases/luarocks-2.4.2.tar.gz >> http://luarocks.org/releases/luarocks-2.4.2-win32.zip >> >> Those of you on Unix who are running LuaRocks as a rock (i.e. those >> who previously installed using `make bootstrap`) can install it using: >> >>luarocks install luarocks >> >> What's new since 2.4.1: >> >> * Fixed conflict resolution on deploy/delete >> * Improved dependency check messages >> * Performance improvements when removing packages >> * Support user-defined `platforms` array in config file >> * Improvements in Lua interpreter version detection in Unix configure script >> * Relaxed Lua version detection to improve support for alternative >> implementations (e.g. Ravi) >> * Plus assorted bugfixes and improvements >> >> This release contains commits by Peter Melnichenko, Robert Karasek and >> myself. >> >> As always, all kinds of feedback is greatly appreciated. >> >> Thank you, enjoy! > > First off, the latest version of LuaRocks I see on the LuaRocks site is > 2.4.1. Ouch, that was fixed now, sorry. > Second off, I have luarocks installed locally in $HOME/.luarocks. When I > attempt to do "luarocks install luarocks", this is what happens: > > [spc]lucy:~>luarocks install luarocks > Installing http://rocks.moonscript.org/luarocks-2.4.1-1.src.rock > Warning: variable CFLAGS was not passed in build_variables > mkdir -p "/home/spc/.luarocks/lib/luarocks/rocks/luarocks/2.4.1-1/bin" > cd src/bin && \ > luaver="" && [ -n "$luaver" ] || luaver=`lua -e 'print(_VERSION:sub(5))'`; \ > for f in luarocks luarocks-admin; \ > do \ >cp "$f" > "/home/spc/.luarocks/lib/luarocks/rocks/luarocks/2.4.1-1/bin/$f-$luaver"; \ >chmod +rx > "/home/spc/.luarocks/lib/luarocks/rocks/luarocks/2.4.1-1/bin/$f-$luaver"; \ >ln -nfs "$f-$luaver" > "/home/spc/.luarocks/lib/luarocks/rocks/luarocks/2.4.1-1/bin/$f"; \ > done > mkdir -p > "/home/spc/.luarocks/lib/luarocks/rocks/luarocks/2.4.1-1/lua/luarocks" > cd src/luarocks && for f in fs/tools.lua fs/unix/tools.lua fs/unix.lua > fs/win32/tools.lua fs/win32.lua fs/lua.lua persist.lua list.lua require.lua > repos.lua dir.lua make_manifest.lua command_line.lua config_cmd.lua > install.lua build/command.lua build/cmake.lua build/make.lua > build/builtin.lua fetch/cvs.lua fetch/git.lua fetch/sscm.lua tools/patch.lua > fetch/svn.lua tools/zip.lua tools/tar.lua pack.lua type_check.lua make.lua > remove.lua fs.lua manif.lua add.lua deps.lua build.lua search.lua show.lua > manif_core.lua fetch.lua unpack.lua validate.lua cfg.lua download.lua > help.lua util.lua index.lua cache.lua refresh_cache.lua loader.lua > admin_remove.lua fetch/hg.lua fetch/git_file.lua new_version.lua lint.lua > purge.lua path.lua path_cmd.lua write_rockspec.lua doc.lua upload.lua > upload/api.lua upload/multipart.lua fetch/git_http.lua fetch/hg_http.lua > fetch/hg_https.lua fetch/hg_ssh.lua fetch/git_https.lua fetch/git_ssh.lua; \ > do \ > > d="/home/spc/.luarocks/lib/luarocks/rocks/luarocks/2.4.1-1/lua/luarocks"/`dirname > "$f"` && \ >mkdir -p "$d" && \ >cp "$f" "$d" || exit 1; \ > done > luaver="" && [ -n "$luaver" ] || luaver=`lua -e 'print(_VERSION:sub(5))'`; \ > mkdir -p > "/home/spc/.luarocks/lib/luarocks/rocks/luarocks/2.4.1-1/lua/luarocks"; \ > lprefix=`echo "/home/spc/.luarocks/lib/luarocks/rocks/luarocks/2.4.1-1/lua" | > sed 's,/lib/luarocks/.*,,'`; sed > "s,LUAROCKS_PREFIX=.*,LUAROCKS_PREFIX=[[$lprefix]],g" > /home/spc/.luarocks/share/lua/$luaver/luarocks/site_config.lua > > "/home/spc/.luarocks/lib/luarocks/rocks/luarocks/2.4.1-1/lua/luarocks/site_config.lua" > sed: can't read /home/spc/.luarocks/share/lua/5.1/luarocks/site_config.lua: > No such file or directory > make: *** [copy_site_config] Error 2 > > Error: Build error: Failed installing. > [spc]lucy:~> What was your current LuaRocks version at that point? 2.4.1? Thank you for your feedback and sorry about the inconvenience, -- Hisham -- ___ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers
Re: [Luarocks-developers] [ANN] LuaRocks 2.4.2
On 1 December 2016 at 02:25, Deepak Joiswrote: > On Wed, Nov 30, 2016 at 8:30 PM, Hisham wrote: >> >> Those of you on Unix who are running LuaRocks as a rock (i.e. those >> who previously installed using `make bootstrap`) can install it using: >> >>luarocks install luarocks >> > > My luarocks installation on OS X comes from the lua installed via > Homebrew. That was a while ago. Since then I have been upgrading > luarocks using the above method, and it has worked. I recently > upgraded to OS X Sierra, but now I get: > > > $ luarocks install luarocks > > Error: Your user does not have write permissions in /usr/local > -- you may want to run as a privileged user or use your local tree with > --local. > > > Any way to work around that, because the /usr/local/ subfolders seems > to be writable. What LuaRocks version do you currently have installed? Is /usr/local itself writable? What about /usr/local/lib/luarocks, /usr/share/lua and /usr/lib/lua (and their immediate subdirectories)? -- Hisham -- ___ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers
Re: [Luarocks-developers] [ANN] LuaRocks 2.4.2
It was thus said that the Great Hisham once stated: > Hello, list! > > I'm happy to announce LuaRocks 2.4.2. LuaRocks is the Lua package > manager. (For more information, please visit http://luarocks.org ) > > http://luarocks.org/releases/luarocks-2.4.2.tar.gz > http://luarocks.org/releases/luarocks-2.4.2-win32.zip > > Those of you on Unix who are running LuaRocks as a rock (i.e. those > who previously installed using `make bootstrap`) can install it using: > >luarocks install luarocks > > What's new since 2.4.1: > > * Fixed conflict resolution on deploy/delete > * Improved dependency check messages > * Performance improvements when removing packages > * Support user-defined `platforms` array in config file > * Improvements in Lua interpreter version detection in Unix configure script > * Relaxed Lua version detection to improve support for alternative > implementations (e.g. Ravi) > * Plus assorted bugfixes and improvements > > This release contains commits by Peter Melnichenko, Robert Karasek and myself. > > As always, all kinds of feedback is greatly appreciated. > > Thank you, enjoy! First off, the latest version of LuaRocks I see on the LuaRocks site is 2.4.1. Second off, I have luarocks installed locally in $HOME/.luarocks. When I attempt to do "luarocks install luarocks", this is what happens: [spc]lucy:~>luarocks install luarocks Installing http://rocks.moonscript.org/luarocks-2.4.1-1.src.rock Warning: variable CFLAGS was not passed in build_variables mkdir -p "/home/spc/.luarocks/lib/luarocks/rocks/luarocks/2.4.1-1/bin" cd src/bin && \ luaver="" && [ -n "$luaver" ] || luaver=`lua -e 'print(_VERSION:sub(5))'`; \ for f in luarocks luarocks-admin; \ do \ cp "$f" "/home/spc/.luarocks/lib/luarocks/rocks/luarocks/2.4.1-1/bin/$f-$luaver"; \ chmod +rx "/home/spc/.luarocks/lib/luarocks/rocks/luarocks/2.4.1-1/bin/$f-$luaver"; \ ln -nfs "$f-$luaver" "/home/spc/.luarocks/lib/luarocks/rocks/luarocks/2.4.1-1/bin/$f"; \ done mkdir -p "/home/spc/.luarocks/lib/luarocks/rocks/luarocks/2.4.1-1/lua/luarocks" cd src/luarocks && for f in fs/tools.lua fs/unix/tools.lua fs/unix.lua fs/win32/tools.lua fs/win32.lua fs/lua.lua persist.lua list.lua require.lua repos.lua dir.lua make_manifest.lua command_line.lua config_cmd.lua install.lua build/command.lua build/cmake.lua build/make.lua build/builtin.lua fetch/cvs.lua fetch/git.lua fetch/sscm.lua tools/patch.lua fetch/svn.lua tools/zip.lua tools/tar.lua pack.lua type_check.lua make.lua remove.lua fs.lua manif.lua add.lua deps.lua build.lua search.lua show.lua manif_core.lua fetch.lua unpack.lua validate.lua cfg.lua download.lua help.lua util.lua index.lua cache.lua refresh_cache.lua loader.lua admin_remove.lua fetch/hg.lua fetch/git_file.lua new_version.lua lint.lua purge.lua path.lua path_cmd.lua write_rockspec.lua doc.lua upload.lua upload/api.lua upload/multipart.lua fetch/git_http.lua fetch/hg_http.lua fetch/hg_https.lua fetch/hg_ssh.lua fetch/git_https.lua fetch/git_ssh.lua; \ do \ d="/home/spc/.luarocks/lib/luarocks/rocks/luarocks/2.4.1-1/lua/luarocks"/`dirname "$f"` && \ mkdir -p "$d" && \ cp "$f" "$d" || exit 1; \ done luaver="" && [ -n "$luaver" ] || luaver=`lua -e 'print(_VERSION:sub(5))'`; \ mkdir -p "/home/spc/.luarocks/lib/luarocks/rocks/luarocks/2.4.1-1/lua/luarocks"; \ lprefix=`echo "/home/spc/.luarocks/lib/luarocks/rocks/luarocks/2.4.1-1/lua" | sed 's,/lib/luarocks/.*,,'`; sed "s,LUAROCKS_PREFIX=.*,LUAROCKS_PREFIX=[[$lprefix]],g" /home/spc/.luarocks/share/lua/$luaver/luarocks/site_config.lua > "/home/spc/.luarocks/lib/luarocks/rocks/luarocks/2.4.1-1/lua/luarocks/site_config.lua" sed: can't read /home/spc/.luarocks/share/lua/5.1/luarocks/site_config.lua: No such file or directory make: *** [copy_site_config] Error 2 Error: Build error: Failed installing. [spc]lucy:~> Just an FYI. -spc -- ___ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers