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

Reply via email to