On 10 October 2014 06:51,  <alexandre.bertr...@tudor.lu> wrote:
> 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

That's not the problem, the src/luasql.c file was found. The problem
is that your compiler is failing to find string.h, a standard header.
Perhaps you need to launch it from one of the Visual-Studio-specific
command-prompts, which have all the MSVC paths correctly set?

-- Hisham

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