Hi Philipp,
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?
Anyway, many thanks to the community and especially to Philipp and Hisham 
for the support!
Cheers,
Alex




From:   Philipp Janda <siffie...@gmx.net>
To:     luarocks-developers@lists.sourceforge.net, 
Date:   15/10/2014 19:35
Subject:        Re: [Luarocks-developers] Problem installing 
luasql-postgresql



Am 15.10.2014 um 17:02 schröbte 
alexandre.bertr...@tudor.lu:
> Hi Philipp,

Hi!

> many thanks for your help. Unfortunately, after I've downloaded both
> luasql-postgres-2.3.0.1-1.rockspec and 
luasql-postgres-2.3.0.1-1.src.rock
> files and used
>
> luarocks install luasql-postgres-2.3.0.1-1.src.rock 
PGSQL_DIR="C:\Program
> Files\PostgreSQL\9.3"
>
> I'm now stuck with the following error:
> ..switching to build mode.
> Error: could not fetch rock file: file not found:
> luasql-postgres-2.3.0.1-1.src.rock

That should have worked -- assuming the .src.rock file is in the same 
directory you are running this from. Alternatively,

luarocks install 
C:\path\to\downloaded\luasql-postgres-2.3.0.1-1.src.rock 
PGSQL_DIR="C:\Program Files\PostgreSQL\9.3"

should work as well ...


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

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