lua-users home
lua-l archive

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

Can be a bunch of issues. First you should see how the ./configure of your game is trying to find liblua5 (or similar). Most likely it's not looking under /usr/local, and/or your Lua isn't even installed there ("make install").

You can also use the OS X Fink distro of Lua 5, by "sudo fink install lua51-dev" (worth at least if you're otherwise using Fink).

Send me your ./configure if you wish 1-on-1 help.


Tymek W kirjoitti 9.12.2007 kello 18:01:


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

I followed:

(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, and it works:
$ lua
Lua 5.1.2  Copyright (C) 1994-2007, PUC-Rio

Lua files:
$ find /usr 2> /dev/null | awk '/lua/{print;}'

Here are similar problems with earlier versions of Stratagus:

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

What's wrong? Do you have any ideas?

Thanx in advance,