zainstalowałem luarocks w moim windows xp systemu (32 bit) postępując zgodnie z instrukcjami dostępny naMontaż luasocket użyciu luarocks
http://luarocks.org/en/Installation_instructions_for_Windows
zainstalować luasocket z luarocks I komenda używanych "luarocks zainstalować luasocket" w komendzie skłonić. ale zakończył się z błędem:
**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.**
, więc nie był w stanie znaleźć pliku luasocket.rock. Pobrałem plik luasocket-2.0.2-5.src.rock z linkiem:
http://luarocks.org/repositories/rocks/
Teraz próbowałem zainstalować ten plik .rock poleceniem luarocks zainstalować luarocks zainstalować „C : \ Documents and Settings \ Ankur_Gupta37 \ Pulpit \ LuaRocks \ 2.1 \ lua \ luarocks "
(kładę luasocket-2.0.2-5.src.rock w lokalizacji" C : \ Documents and Settings \ Ankur_Gupta37 \ Pulpit \ LuaRocks \ 2.1 \ lua \ luarocks \ luasocket-2.0.2- 5.src.rock ")
ale znowu skończyło się z błędem:
**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.**
każdy organ mi problemu i jego rozwiązanie ..
oczywiście potrzebujesz kompilatora C. Możesz sprawdzić [MinGW] (http://sourceforge.net/projects/mingw). Ma instalator systemu Windows. – moteus
Miał ten sam problem, ale na Linuksie to rozwiązało, miał wrażenie, że było to spowodowane wersją. – dead