lua-users home
lua-l archive

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


Hi,

I'm trying to install Stratagus game on Mac OS X 10.4 (PPC) and I have
problems with lua...

I followed:

http://www.stratagus.org/install.shtml
http://www.schwedischejungfrauen.de/stratagus-on-mac-os-x/

(Patches suggested by author of second linked page aren't needed on
2.4.2 version. I tried also version used by author + patches, it doesn't
work either.)

After './configure' I get errors:
(...)
checking lua.h usability... yes
checking lua.h presence... yes
checking for lua.h... yes
checking for library containing lua_getfenv... no
configure: error: Lua5 is required

...and the script stops.

The problem is that I installed Lua from sources, that I got from
lua.org, and it works:
$ lua
Lua 5.1.2  Copyright (C) 1994-2007 Lua.org, PUC-Rio
>

Lua files:
$ find /usr 2> /dev/null | awk '/lua/{print;}'
/usr/local/bin/lua
/usr/local/bin/luac
/usr/local/include/lua.h
/usr/local/include/lua.hpp
/usr/local/include/luaconf.h
/usr/local/include/lualib.h
/usr/local/lib/liblua.a
/usr/local/lib/lua
/usr/local/lib/lua/5.1
/usr/local/man/man1/lua.1
/usr/local/man/man1/luac.1
/usr/local/share/lua
/usr/local/share/lua/5.1
/usr/share/vim/vim62/ftplugin/lua.vim
/usr/share/vim/vim62/indent/lua.vim
/usr/share/vim/vim62/syntax/lua.vim
/usr/X11R6/lib/X11/doc/html/XSetDeviceValuators.3.html
/usr/X11R6/man/man3/XSetDeviceValuators.3

Here are similar problems with earlier versions of Stratagus:
http://www.bebits.com/talkback/4074

I googled for more, but got nothing helpful...

What's wrong? Do you have any ideas?

Thanx in advance,
Timo