I installed luarocks on my Windows XP system (32 bit) following the instructions available on
http://luarocks.org/en/Installation_instructions_for_Windows
to install luasocket from luarocks I used the command "luarocks install luasocket" on the command line. but ended up with an error:
**Warning: Failed searching manifest: Failed loading manifest: Failed fetching man ifest for http://luarocks.org/repositories/rocks - Error fetching file: Failed d ownloading http://luarocks.org/repositories/rocks/manifest Error: No results matching query were found.**
therefore, he could not find the luasocket.rock file. I downloaded the luasocket-2.0.2-5.src.rock file from the link:
http://luarocks.org/repositories/rocks/
Now I tried to install this .rock file using the install luarocks luarocks install command "C: \ Documents and Settings \ Ankur_Gupta37 \ Desktop \ LuaRocks \ 2.1 \ lua \ luarocks"
(I put luasocket-2.0.2-5.src.rock in the folder "C: \ Documents and Settings \ Ankur_Gupta37 \ Desktop \ LuaRocks \ 2.1 \ lua \ luarocks \ luasocket-2.0.2-5.src.rock")
but the error ended again:
**set INCLUDE=C:/Documents and Settings/Ankur_Gupta37/Desktop/LuaRocks/2.1/include ;%INCLUDE% &set LIB=C:/Documents and Settings/Ankur_Gupta37/Desktop/LuaRocks/2.1 ;%LIB% &msbuild /p:"VCBuildAdditionalOptions= /useenv" luasocket.sln &mkdir mime & mkdir socket &cp src/mime.dll mime/core.dll &cp src/socket.dll socket/core.dl l 'msbuild' is not recognized as an internal or external command, operable program or batch file. cp: cannot stat `src/mime.dll': No such file or directory cp: cannot stat `src/socket.dll': No such file or directory Error: Build error: Failed building.**
any body will tell me the problem and its solution.
source share