In "Environment variables", I had two entries for PATH, one for JRuby and the other for MinGW, both entry are separate by ";" :
Code:
C:\Program Files\jruby-1.5.6\bin;D:\LUADEC\MinGW\bin
I temporarily add MSYS to my system path using command :
Code:
SET PATH=%PATH%;D:\LUADEC\MinGW\msys\1.0\bin
Then, I have a strange behaviour in the cmd prompt.
When I add the command :
Code:
CD D:\LUADEC\lua-5.1
to change folder, it doesn't work first.
I have to add the command :
[code]d:[code]
to get the right folder.
But it doesn't matter as the two first steps work now that I launch cmd as administrator :
Now, it's with the last step I have a problem :
Code:
D:\LUADEC\lua-5.1>make install INSTALL_TOP=D:/LUADEC/LUA/5.1 TO_BIN="lua.exe luac.exe lua51.dll"
cd src && mkdir -p D:/LUADEC/LUA/5.1/bin D:/LUADEC/LUA/5.1/include D:/LUADEC/LUA/5.1/lib D:/LUADEC/LUA/5.1/man/man1 D:/LUADEC/LUA/5.1/share/lua/5.1 D:/LUADEC/LUA/5.1/lib/lua/5.1
cd src && cp lua.exe luac.exe lua51.dll D:/LUADEC/LUA/5.1/bin
cp: cannot stat `luac.exe': No such file or directory
make: *** [install] Error 1
When I should obtain something like this
Code:
c:\temp\lua-5.1.5>make install INSTALL_TOP=c:/temp/lua/5.1 TO_BIN="lua.exe luac.exe lua51.dll"
cd src && mkdir -p c:/temp/lua/5.1/bin c:/temp/lua/5.1/include c:/temp/lua/5.1/lib c:/temp/lua/5.1/man/man1 c:/temp/lua/5.1/share/lua/5.1 c:/temp/lua/5.1/lib/lua/5.1
cd src && install -p -m 0755 lua.exe luac.exe lua51.dll c:/temp/lua/5.1/bin
cd src && install -p -m 0644 lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp c:/temp/lua/5.1/include
cd src && install -p -m 0644 liblua.a c:/temp/lua/5.1/lib
cd doc && install -p -m 0644 lua.1 luac.1 c:/temp/lua/5.1/man/man1
What I want is to store the new file in a LUA folder (D:\LUADEC\LUA).
Folder is created as well as several other sub-folders and files.