On 10 April 2013 18:34, Thijs Schreijer <[email protected]> wrote:
>
>
>> -----Original Message-----
>> From: Hisham [mailto:[email protected]]
>> Sent: woensdag 10 april 2013 23:04
>> To: [email protected]
>> Subject: Re: [Luarocks-developers] Error installing Penlight
>>
>> On 9 April 2013 09:45, Thijs Schreijer <[email protected]> wrote:
>> > See below.
>> >
>> > No idea why, but somewhere at the end, LR starts calling GCC to compile
>> some stuff, even though this is a pure lua rock.
>>
>> There is something weird in that rock, with the ["pl.platf.luajava"] =
>> "lua/pl/platf/luajava" entry. Steve, what is that for?
>
> I think the problem is in this line;
>     ["pl.platf.luajava"] = "lua/pl/platf/luajava"
> Where the '.lua' extension on the right hand side is missing.

I think there's some weird explanation for this being there (I vaguely
recall something) but I don't know what it is.

> But what surprises me is the message;
>    mingw32-gcc: fatal error: no input files
>
> and then LR happily continues and ends with
>    penlight 1.1.0-2 is now built and installed in c:\users\public\lua\5.1/ 
> (license: MIT/X11)

LR's builtin mode handles .lua extensions and lua and hands everything
else to the C compiler. (Probably not the wisest thing to do, but
that's what it currently does.) What's weird is the part of happily
continuing. I would think it would abort...

-- Hisham
http://hisham.hm/

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to