I wanted to set up a self-contained luarocks installation, in order to ship
an application written in lua.
I followed the instruction on
http://luarocks.org/en/Installation_instructions_for_Windows, and the setup
worked fine.

However, on trying to install the first package, xavante, I get the
following error:

cl /MD /O2 -c -Fosrc/luasocket.obj -IC:/luasc/2.1/include src/luasocket.c
-DLUAS
OCKET_DEBUG -DNDEBUG -DLUASOCKET_API=__declspec(dllexport)
-DMIME_API=__declspec
(dllexport)
Optimierender Microsoft (R) 32-Bit C/C++-Compiler, Version 12.00.8804, fuer
x86
Copyright (C) Microsoft Corp 1984-1998. Alle Rechte vorbehalten.

luasocket.c
src/wsocket.h(15) : error C2061: Syntaxfehler : Bezeichner
't_sockaddr_storage'
src/wsocket.h(15) : error C2059: Syntaxfehler : ';'

so it's reporting a syntax error in src/luasocket.c.

However, on searching in my self-contained luarocks, there is no file
luasocket.c. Looks to me as if there's something
going wrong with selfcontainedness. Note that lfs installs fine, but
luasocket gives the error.

Regards
carsten
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&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