lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Wed, Jul 4, 2018 at 3:36 PM, Hisham <> wrote:
Hello list,

I am extremely happy to announce LuaRocks 3.0.0beta1, the
almost-finished package for the new major release of LuaRocks, the Lua
package manager.

First of all: "Why beta1?" — the code itself is release-candidate
quality, but I decided to call this one beta1 and not rc1 because the
Windows package is not ready yet, and I wanted to get some early
feedback on the Unix build while I complete the final touches of the
Windows package.

This is NOT going to be a long-or-endless beta cycle: if no major
showstoppers are reported, the final 3.0.0 release, including Unix and
Windows packages, is expected to arrive in one week. But please, if
you want to help out with LuaRocks, give this beta1 a try and report
any findings!

Yes, it's finally here! After a way-too-long gestation period,
LuaRocks 3 is about ready to see the light of day. And it includes a
lot of new stuff:

- New rockspec format
- New commands, including `luarocks init` for per-project workflows [1]
- New flags, including `--lua-dir` and `--lua-version` for using
multiple Lua installs with a single LuaRocks
- New build system, gearing towards a new distribution model [2]
- General improvements, including namespaces [3]
- User-visible changes, including some breaking changes
- Internal changes

All of the above are detailed here:


I'll try to write up more documentation between now and the final
release. Feedback is wanted regarding what needs to be
documented/explained! And help updating the wiki is especially

And without further ado, the tarball for Unix is here:

This release contains new code by Thijs Schreijer, George Roman, Peter
Melnichenko, Kim Alvefur, Alec Larson, Evgeny Shulgin, Michal Cichra,
Daniel Hahler, and myself.

Very special thanks to my employer Kong, for sponsoring my work on
LuaRocks over the last year and making this release possible. Thanks
also to my colleagues Aapo Talvensaari and Enrique García Cota for
helping out with some last-minute testing.

In the name of everyone in the LuaRocks development team, thank you
for the continued amazing support that Lua community has been giving
LuaRocks over the years: keep on rockin'!


Hisham Muhammad
-- LuaRocks lead developer


Hi Hisham,

I'm working on getting LuaRocks 3.0 into the FreeBSD ports tree. The port Makefile is here:

I am getting an error trying to build luarocks-admin. Any help would be great.

Thanks! Russ

russellh@g1 ~/f/p/d/lua-luarocks> make
===>  License MIT accepted by the user
===>   lua53-luarocks-3.0.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by lua53-luarocks-3.0.0 for building
===>  Extracting for lua53-luarocks-3.0.0
=> SHA256 Checksum OK for luarocks-3.0.0beta2.tar.gz.
===>  Patching for lua53-luarocks-3.0.0
===>   lua53-luarocks-3.0.0 depends on shared library: - found (/usr/local/lib/
===>  Configuring for lua53-luarocks-3.0.0

Configuring LuaRocks...

Lua interpreter found: /usr/local/bin/lua53
Checking if /usr/local/bin/lua53 is Lua version 5.3... yes
lua.h found: /usr/local/include/lua53/lua.h
unzip found in PATH: /usr/bin

Done configuring.

LuaRocks will be installed at......: /usr/local
LuaRocks will install rocks at.....: /usr/local
LuaRocks configuration directory...: /usr/local/etc/luarocks
Using Lua from.....................: /usr/local
Lua include directory..............: /usr/local/include/lua53

* Type make build and make install:
  to install to /usr/local as usual.
* Type make bootstrap:
  to install LuaRocks into /usr/local as a rock.

===>  Building for lua53-luarocks-3.0.0
make[2]: make[2]: don't know how to make ./luarocks-admin. Stop

make[2]: stopped in /usr/home/russellh/freebsd/ports/devel/lua-luarocks/work/luarocks-3.0.0beta2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

make[1]: stopped in /usr/home/russellh/freebsd/ports/devel/lua-luarocks
*** Error code 1

make: stopped in /usr/home/russellh/freebsd/ports/devel/lua-luarocks
russellh@g1 ~/f/p/d/lua-luarocks>