lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


thanks i downlaod GNU make and source but after run make mingw i get these error :

cd src && make mingw
make[1]: Entering directory `C:/Tools/Lua/Libs/lua-5.1.4/src'
make "LUA_A=lua51.dll" "LUA_T=lua.exe" \
        "AR=gcc -shared -o" "RANLIB=strip --strip-unneeded" \
        "MYCFLAGS=-DLUA_BUILD_AS_DLL" "MYLIBS=" "MYLDFLAGS=-s" lua.exe
make[2]: Entering directory `C:/Tools/Lua/Libs/lua-5.1.4/src'
gcc -O2 -Wall -DLUA_BUILD_AS_DLL   -c -o lua.o lua.c
process_begin: CreateProcess(NULL, gcc -O2 -Wall -DLUA_BUILD_AS_DLL -c -o lua.o
lua.c, ...) failed.
make (e=2): The system cannot find the file specified.
make[2]: *** [lua.o] Error 2
make[2]: Leaving directory `C:/Tools/Lua/Libs/lua-5.1.4/src'
make[1]: *** [mingw] Error 2
make[1]: Leaving directory `C:/Tools/Lua/Libs/lua-5.1.4/src'
make: *** [mingw] Error 2

Download the original sources.

I use Msys. With Lua 5.1.4, run:

  make mingw

I hope your mind is saved.

-- Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia