[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua 5.3 module
- From: Ulrich Schmidt <u.sch.zw@...>
- Date: Sat, 26 Nov 2016 11:31:43 +0100
Hi.
1: Please think about using tdm-gcc[1] on windows32/64 instead mingw-gcc.
I have the strong feeling, mingw is not well maintained and outdated.
2: You may give my maketool[2] a try. It comes with example makefiles, that
compiles luajit, lua52, lua53, a minimal iuplua, lanes, lfs, lpeg,
lsqlite, luasocket, penlight and winapi.
You need a "svn.exe" command line tool to checkout and update module
sources. (I use svn.exe provided by tortoisesvn[3])
You can build 32 or 64 bit executables.
The tools in luaRUN subfolder can be used to create self contained lua
executables using statically linked libs or dynamically linked libs.
I created this project for my personal needs. Its not perfect nor complete
but it works and it is up to date.
I run the make process about once a week to pull updates and compile.
best wishes.
Ulrich.
[1]: https://tdm-gcc.tdragon.net/
[2]: https://github.com/Fuzzlix/omm
[3]: https://tortoisesvn.net/
Am 26.11.2016 um 10:58 schrieb Михайло Галушка:
> Hello, this situation, decided to make a collection of Lua 5.3.3
> MinGW compiler, All Coll, but the module is not possible to tie, I set
> luarocks 2.4.1, example:
>
> F:\Program Files\lua533\bin>lua luasock.lua
> lua: luasock.lua:2: module 'socket' not found:
> no field package.preload['socket']
> no file 'F:\Program Files\lua533\bin\lua\socket.luac'
> no file 'F:\Program Files\lua533\lib\lua\5.3'
> stack traceback:
> [C]: in function 'require'
> luasock.lua:2: in main chunk
> [C]: in ?
> F:\Program Files\lua533\bin>ec
> 'ec' is not recognized as an internal or external command,
> operable program or batch file.
> F:\Program Files\lua533\bin>echo %LUA_CPATH%
> F:\Program Files\lua533\lib\lua\5.3;
> F:\Program Files\lua533\bin>echo %LUA_PATH%
> F:\Program Files\lua533\bin\lua\?.luac
>
>
> luasotsket compiled, want tsvoryty modern collection of Lua 5.3
> Can someone is already ready?
> Windovs 10 OS x64
> thanks
>
> --
> relab2500.blogspot.com <http://relab2500.blogspot.com>
> Мій блог