Am 16.10.2014 um 11:36 schröbte 
alexandre.bertr...@tudor.lu:
> Hi Philipp,

Hi!

> thanks for the tip, that was my error. I still encountered 2 problems
> (described here: https://github.com/keplerproject/luafilesystem/issues/22
> and here http://comments.gmane.org/gmane.comp.lang.lua.luarocks/4299),
> 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). Since you can only have one value per 
key in a Lua table, you already have overwritten the old `LUALIB` entry, 
and you can remove it. (Normally the `/lib/` part should go to 
`LUA_LIBDIR` instead of `LUALIB`, but I think the two variables are 
always used together anyway.)

The `pq.lib` issue should be fixed in the rockspec (and unless I miss 
something should have affected MinGW builds as well).

> Anyway, many thanks to the community and especially to Philipp and Hisham
> for the support!
> Cheers,
> Alex
>

Philipp




------------------------------------------------------------------------------
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