> >>> which I managed to solve. I was just wondering: to solve the link error
> >>> issue, I added in the luarocks config. lua "LUALIB = '/lib/lua5.1.lib'",
> >>> without deleting the line "LUALIB = 'lua5.1.dll',". Is this going to
> cause
> >>> problems, shall I maybe delete the latter?
> >>
> >> Visual C can't link to a DLL directly like MinGW can, but instead must
> >> link to an import library (we probably should make sure that it does in
> >> the LuaRocks installation script).
> >
> > Considering this;
> > https://github.com/keplerproject/luarocks/blob/master/install.bat#L23-L26
> >
> > That should have worked. If you try to install again, what does the
> LuaRocks installer display for the file locations found? (you can try and
> then abort at the confirmation prompt, so nothing gets actually updated)
> 
> Yes, that should handle most cases. My guess is that the import library
> is in the `lib` subdirectory, while the DLL is in the same directory as
> the `lua` executable. So the install script found the DLL but not the
> import library and continued without warning. The OP should have
> specified a `/LIB` option. On the other hand, the install script could
> have caught this by removing *.dll and *.a from
> `variables.LUA_LIB_NAMES` when using Visual C.
> 

@alexandre; can you post the installer output as I requested, that would give 
the exact order in which files are being searched for and found by the 
installer iirc.

Thijs

> 
> 
> 
> ----------------------------------------------------------------------------
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://p.sf.net/sfu/Zoho
> _______________________________________________
> Luarocks-developers mailing list
> Luarocks-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/luarocks-developers
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to