On 16 February 2012 19:28, Daniel Klein <[email protected]>wrote:
> I s'pose, more succinctly, my question is --
>
> What is the role of LUA_INTERPRETER? If it's to keep the exe name, then
> it's capturing too much and install.bat needs a patch. If it's just fine
> and should be capturing the absolute path to the Lua executable, then
> wrap_script() is doing too much by using LUA_BINDIR.
>
>
> Cheers, and happy to provide patches in either case,
>
> D
>
Hi Daniel,
I just checked the latest RC, and neither your modification to detect and
use Luajit, nor my interpreter selection patch from last June were picked
up. So LR still doesn't work out-of-the-box with Luajit on Windows.
Could you include your patch to detect and use Luajit too, then?
Oisín
>
> On Thu, Feb 16, 2012 at 2:21 PM, Daniel Klein <
> [email protected]> wrote:
>
>> Greetings!
>>
>> I'm wondering about the configuration / behaviour of wrap_script().
>>
>> In win32.lua, wrap_script() composes the script invocation line using the
>> config parameters LUA_BINDIR and LUA_INTERPRETER.
>>
>> In the install.bat script, LUA_INTERPRETER is set such that it has a full
>> path.
>>
>> Consequently, if LUA_BINDIR=C:\foo\bar, then
>> LUA_INTERPRETER=C:\foo\bar\lua5.1.exe, then wrap_script() ends up with
>> C:\foo\bar\C:\foo\bar\lua5.1.exe.
>>
>> Manually re-jiggering site_config.lua would sort this out, but in the
>> case where I'd like to do an automated install (by having an installer call
>> the luarocks installer), it creates a more complicated situation.
>>
>> Any suggestions / workarounds?
>>
>>
>> Cheers,
>>
>> DMK
>>
>
> NOTICE OF CONFIDENTIAL AND PRIVILEGED INFORMATION
>
> This e-mail message, including any attachments, may contain information that
> is
> confidential, privileged, subject to copyright, or exempt from disclosure.
> Any
> unauthorized distribution, disclosure, copying, review, retransmission or
> other use
> of or reliance on this information may be unlawful and is strictly
> prohibited. You
> may contact us at: [email protected]
>
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Luarocks-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/luarocks-developers
>
>
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers