[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Errors with Lua on WinXP and minGW
- From: Ben Aurel <ben.aurel@...>
- Date: Sun, 25 Jan 2009 01:35:30 +0100
hi
I'd like to report some minor problems and workarounds. Maybe the
Makefile for "mingw" should be modified.
In case I do something wrong please tell me so.
Setup
====
- windows xp, (version 5.1, sp3)
- minGW 5.1.3
- gcc version 3.4.5 (mingw-vista special r3)
Problem 1: Builderrors
=================
$ make mingw
[this runs OK]
$ make install
cd src && mkdir -p /usr/local/bin /usr/local/include /usr/local/lib
/usr/local/man/man1 /usr/local/share/lua/5.1 /usr/local/lib/lua/5.1
cd src && install -p -m 0755 lua luac /usr/local/bin
install: cannot change ownership of `/usr/local/bin/lua': No such file
or directory
install: cannot change ownership of `/usr/local/bin/luac': No such
file or directory
make: *** [install] Error 1
Workaround
-----------------
Linking the exes:
$ ln -s /usr/local/bin/lua.exe /usr/local/bin/lua
ln -s /usr/local/bin/luac.exe /usr/local/bin/luac
Problem 2: Runtimeerror
==================
When I run lua from the command line (rvxt) I get an error pop-up
" ... has failed to start because lua51.dll was not found ..."
Workaround
----------------
Copying the dll's manually
$ mv src/*.dll /usr/local/bin/
thanks
ben