[MacPorts] #40423: luarocks @2.0.13_2 is broken when Lua 5.1 is installed
MacPorts
noreply at macports.org
Wed Apr 2 09:22:22 PDT 2014
#40423: luarocks @2.0.13_2 is broken when Lua 5.1 is installed
-------------------------+--------------------------
Reporter: agladysh@… | Owner: and.damore@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Resolution: | Keywords:
Port: luarocks |
-------------------------+--------------------------
Comment (by and.damore@…):
Replying to [comment:6 agladysh@…]:
> Tell me if you need more details.
Yes, there's need for more details because I installed lua 5.1.4, then
luarocks and I was able to install rocks that way:
* What outcome did you get?
* What were you expecting instead?
Port luarocks being installed in $prefix/lib/lua/5.2 even if you have 5.1
is due to the fact that binary packages are built using the latest ports
tree so when you install a previous port lua version, like 5.1, and then
run ''port install luarocks'' you're fetching a luarocks package that has
been built with 5.2 .
You also wrote:
> but it looks it up in /5.1.
This is most likely just due to the default package.[path|cpath] for lua
5.1
If you're using a local repository for keeping port lua at a previous like
I suggested in ticket:40421#comment:11 then you'll have to use ''-s''
option when installing luarocks. This way luarocks will build from source
and it will reflect your installed lua version.
We cannot possibly support every configuration of mixed previous port
versions on users' local repository.
--
Ticket URL: <https://trac.macports.org/ticket/40423#comment:8>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list