On 15 March 2016 at 10:45, Thijs Schreijer <th...@thijsschreijer.nl> wrote:
>
>> -----Oorspronkelijk bericht-----
>> Van: Hisham [mailto:h...@hisham.hm]
>> Verzonden: Tuesday, 15 March, 2016 1:00
>> Aan: LuaRocks developers list
>> Onderwerp: [Luarocks-developers] "Quick Start" for Windows?
>>
>> Hi,
>>
>> I was wondering if it is at all possible to have a quick list of command-
>> line instructions for Windows that gets LuaRocks up and running, just like
>> we have for Unix at the luarocks.org front page:
>>
>> > Quick Start
>> >
>> > Installing LuaRocks in a Unix system:
>> >
>> > $ wget http://luarocks.org/releases/luarocks-2.3.0.tar.gz
>> > $ tar zxpf luarocks-2.3.0.tar.gz
>> > $ cd luarocks-2.3.0
>> > $ ./configure; sudo make bootstrap
>> > $ sudo luarocks install luasocket
>> > $ lua
>> > Lua 5.3.2 Copyright (C) 1994-2015 Lua.org, PUC-Rio
>> > > require "socket"
>>
>> An example of a website that includes something like this for Windows is
>> the Chocolatey package manager:
>>
>> https://chocolatey.org/
>>
>> Do you think that we could have less confusion about the default setup if
>> we put some kind of instruction like this up front in the website?
>>
>> -- Hisham
>>
>
> I don't think that the LuaRocks installation is the issue here of holding 
> back Windows users to use it. The problem lies in the harmony required 
> between the Lua version (actually the underlying runtime lib used), compiler 
> toolchain and LuaRocks
>
> Note: chocolatey only does binary distribution
>
> And within the Lua ecosystem we're leaning towards the gcc toolchain, 
> probably mainly because most Lua code is unix based and gcc/MinGW is closest 
> to that.
>
> It's a different angle, but this is mainly where I got the inspiration for my 
> luawinmake and luawinmulti projects. I might add a similar instruction to the 
> LuaWinMulti project to make it even easier. Though the culprit for the 
> average Windows user will always be the need for a compiler toolchain, which 
> is very non-Windows as Windows is basically a binary distribution platform.

I see. I wonder if we could ever do something about that, but I
believe we just don't have the resources to provide binary packages. I
don't know if there is any way we could automate this significantly
and work around the issue of external dependencies in a good way.

-- Hisham

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to