I'm trying to get rid of the Lua for Windows installation and do a clean
install, including compiling source rocks

 

I removed all unnecessary stuff from the Lua for Windows directory.
Installed LuaRocks in its own directory, referencing the existing lua.exe
folders. 

LuaRocks is now working, but when I try to install Copas, the depend for
LuaSocket fails to build.

 

After installing I modified the Path environment variable to include both
the /LuaRocks/2.0/ directory, and the path to MSBuild. I've tried several
MSBuild versions (.NET 2.0, 3.5 and 4.0), but in all cases I get a build
error, telling me I need to update the .sln (solution) file.

 

How to get this going without having to use visual studio manually to update
those files? Any ideas?

 

Thijs

 

 

Results from last one from .Net 2.0 MSBuild;

 

Folders: 6

Files: 89

Size:       477216

Compressed: 552960

set INCLUDE=c:/users/public/lua/5.1/include/;%INCLUDE% &set
LIB=c:/users/public/lua/5.1/lib/;%LIB% &msbuild
/p:"VCBuildAdditionalOptions= /useenv" luasocket.sln

&mkdir mime & mkdir socket &cp src/mime.dll mime/core.dll &cp src/socket.dll
socket/core.dll

Microsoft (R) Build Engine Version 2.0.50727.5420

[Microsoft .NET Framework, Version 2.0.50727.5456]

Copyright (C) Microsoft Corporation 2005. All rights reserved.

 

luasocket.sln : Solution file error MSB4054: The solution file must be
opened in the Visual Studio IDE and converted to the latest version before
it can be built by MSBuild.

cp: cannot stat `src/mime.dll': No such file or directory

cp: cannot stat `src/socket.dll': No such file or directory

 

Error: Failed installing dependency:
http://luarocks.org/repositories/rocks/luasocket-2.0.2-5.src.rock - Build
error: Failed building.

 

C:\Users\Public\Lua\LuaRocks\2.0>

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to