Hi Thijs,
thanks for the feedback. I updated Luarocks, unfortunately, it still 
doesn't work. When entering 
luarocks install luasql-postgres PGSQL_DIR="C:\Program 
Files\PostgreSQL\9.3"

I get:
***
Installing https://rocks.moonscript.org/luasql-postgres-2.3.0-1.src.rock..
.
Using https://rocks.moonscript.org/luasql-postgres-2.3.0-1.src.rock... 
switching to 'build' mode
cl /MD /O2 -c -Fosrc/luasql.obj -IC:/Program Files/Osmose/Lua/5.1/include/ 
src/luasql.c -IC:\Program Files\PostgreS
QL\9.3/include
Microsoft (R) C/C++ Optimizing Compiler Version 18.00.21005.1 for x86
Copyright (C) Microsoft Corporation.  All rights reserved.

luasql.c
src/luasql.c(6) : fatal error C1083: Cannot open include file: 'string.h': 
No such file or directory

Error: Build error: Failed compiling object src/luasql.obj
***
When checking, I couldn't find a "src" folder in C:/Program 
Files/Osmose/Lua/5.1/include
Cheers,
Alex



From:   Thijs Schreijer <th...@thijsschreijer.nl>
To:     "luarocks-developers@lists.sourceforge.net" 
<luarocks-developers@lists.sourceforge.net>, 
Date:   09/10/2014 15:17
Subject:        Re: [Luarocks-developers] Problem installing 
luasql-postgresql





> -----Original Message-----
> From: alexandre.bertr...@tudor.lu [mailto:alexandre.bertr...@tudor.lu]
> Sent: donderdag 9 oktober 2014 10:51
> To: luarocks-developers@lists.sourceforge.net
> Subject: [Luarocks-developers] Problem installing luasql-postgresql
> 
> Hi
> I'm trying to install luasql-postgresql with:
> PS C:\> luarocks install luasql-postgres --
> from=https://rocks.moonscript.org/
> 
> but get the error message below. I'm on Windows 7 Pro (32-bit), 
PostgreSQL
> 9.3 was freshly installed yesterday.
> Thanks for your help!
> Cheers,
> Alex
> Error: LuaRocks 2.0.2 bug (please report at luarocks-
> develop...@lists.luaforge.net).
> ...Program Files\Osmose\Lua\5.1\lua/luarocks\fs\lua.lua:526: attempt to
> concatenate local 'err' (a nil value)
> stack traceback:
> ...Program Files\Osmose\Lua\5.1\lua/luarocks\fs\lua.lua:526: in function
> 'download'
> ...\Program Files\Osmose\Lua\5.1\lua/luarocks\fetch.lua:33: in function
> 'fetch_url'
> ...\Program Files\Osmose\Lua\5.1\lua/luarocks\fetch.lua:70: in function
> 'fetch_url_at_temp_dir'
> ...\Program Files\Osmose\Lua\5.1\lua/luarocks\manif.lua:95: in function
> 'load_manifest'
> ...Program Files\Osmose\Lua\5.1\lua/luarocks\search.lua:175: in function
> 'manifest_search'
> ...Program Files\Osmose\Lua\5.1\lua/luarocks\search.lua:204: in function
> 'search_repos'
> ...Program Files\Osmose\Lua\5.1\lua/luarocks\search.lua:268: in function
> 'find_suitable_rock'
> ...rogram Files\Osmose\Lua\5.1\lua/luarocks\install.lua:108: in function
> <...rogram
> Files\Osmose\Lua\5.1\lua/luarocks\install.lua:95>
> (tail call): ?
> [C]: in function 'xpcall'
> ...m Files\Osmose\Lua\5.1\lua\luarocks\command_line.lua:143: in function
> 'run_command'
> C:\Program Files\Osmose\Lua\5.1\luarocks.lua:20: in main chunk
> [C]: ?

Just I few days ago I installed this, went fine. Your LuaRocks @ 2.0.2 is 
outdated, try and see whether updating that helps.

Thijs

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk

_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to