Tôi đã cài đặt luarocks trong cửa sổ xp của tôi hệ thống (32 bit) theo hướng dẫn có sẵn trênLắp đặt luarocks luasocket sử dụng
http://luarocks.org/en/Installation_instructions_for_Windows
để cài đặt luasocket từ luarocks tôi đã sử dụng lệnh "luarocks cài đặt luasocket" trong lệnh lời nhắc. nhưng đã kết thúc với lỗi:
**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.**
để không thể tìm ra tệp luasocket.rock. Tôi đã tải về tập tin luasocket-2.0.2-5.src.rock từ liên kết:
http://luarocks.org/repositories/rocks/
Bây giờ tôi đã cố gắng để cài đặt tập tin .rock này sử dụng lệnh luarocks cài đặt luarocks cài đặt "C : \ Documents and Settings \ Ankur_Gupta37 \ Desktop \ LuaRocks \ 2.1 \ lua \ luarocks "
(tôi đặt luasocket-2.0.2-5.src.rock tại địa điểm" C : \ Documents and Settings \ Ankur_Gupta37 \ Desktop \ LuaRocks \ 2.1 \ lua \ luarocks \ luasocket-2.0.2- 5.src.rock ")
nhưng một lần nữa đã kết thúc với một lỗi:
**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.**
bất kỳ cơ thể cho tôi biết vấn đề và giải pháp của nó ..
tất nhiên bạn cần trình biên dịch C. Bạn có thể kiểm tra [MinGW] (http://sourceforge.net/projects/mingw). Nó có cửa sổ cài đặt. – moteus
Có cùng một vấn đề nhưng trên Linux, điều này giải quyết nó, có cảm giác đó là do phiên bản. – dead