[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Virtualenv Lua liketool
- From: Nagaev Boris <bnagaev@...>
- Date: Sun, 1 May 2016 16:03:23 +0000
On Sun, May 1, 2016 at 3:42 PM, Vadim A. Misbakh-Soloviov
<lua-l@mva.name> wrote:
>> https://github.com/mpeterv/hererocks/
>
> Has it something to do with changed {c,}path order, that has been changed in
> latest 5.2 and 5.3 releases?
>
> It brakes entire idea of something like virtualenv (if you won't force
> reassign {c,}path) in your init.lua.
>
> ===========================
>> $ for imp in lua{jit,5.{1,2,3}}; do $imp -e 'print((jit and (jit.version) or
>> _VERSION)..":"); print(package.path); print(package.cpath);print()'; done
>> LuaJIT 2.1.0-beta2:
>> ./?.lua;/usr/share/luajit-2.1.9999/?.lua;/usr/local/share/lua/5.1/?.lua;/
>> usr/local/share/lua/5.1/?/init.lua;/usr/share/lua/5.1/?.lua;/usr/share/lua/
>> 5.1/?/init.lua
>> ./?.so;/usr/local/lib/lua/5.1/?.so;/usr/lib/lua/5.1/?.so;/usr/local/lib/lua/
>> 5.1/loadall.so
>>
>> Lua 5.1:
>> ./?.lua;/usr/share/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua;/usr/lib64/
>> lua/5.1/?.lua;/usr/lib64/lua/5.1/?/init.lua;/usr/share/lua/5.1/?.lua;/usr/
>> share/lua/5.1/?/init.lua
>> ./?.so;/usr/lib64/lua/5.1/?.so;/usr/lib64/lua/5.1/?.so;/usr/lib64/lua/5.1/
>> loadall.so
>>
>> Lua 5.2:
>> /usr/share/lua/5.2/?.lua;/usr/share/lua/5.2/?/init.lua;/usr/lib64/lua/
>> 5.2/?.lua;/usr/lib64/lua/5.2/?/init.lua;./?.lua
>> /usr/lib64/lua/5.2/?.so;/usr/lib64/lua/5.2/loadall.so;./?.so
>>
>> Lua 5.3:
>> /usr/share/lua/5.3/?.lua;/usr/share/lua/5.3/?/init.lua;/usr/lib64/lua/
>> 5.3/?.lua;/usr/lib64/lua/5.3/?/init.lua;./?.lua;./?/init.lua
>> /usr/lib64/lua/5.3/?.so;/usr/lib64/lua/5.3/loadall.so;./?.so
> ===========================
>
>
>
>
> --
> wbr,
> mva
hererocks patches default values of LUA_PATH and LUA_CPATH in Lua
source to point to correct locations. See https://git.io/vwMDV
> that has been changed in latest 5.2 and 5.3 releases?
I can't find information about LUA_PATH and LUA_CPATH changes in Lua
5.2 and Lua 5.3 manuals. What exactly do you mean?
--
Best regards,
Boris Nagaev