lua-users home
lua-l archive

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

On 7/30/07, Stephane Bortzmeyer <> wrote:
On Tue, Jul 31, 2007 at 08:39:35AM +1200,
Geoff Leyland <> wrote
a message of 25 lines which said:

> Does lfs help?

In theory, yes, thanks.

But I cannot compile it. I downloaded version 1.1 (apparently, the
latest version of lfs requires Lua 5.1), edited ./config to indicate
the Lua includes directory but:

% make
gcc -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -I/usr/include/lua50 -I../compat/src   -c -o src/lfs.o src/lfs.c
src/lfs.c:38:24: compat-5.1.h: No such file or directory
make: *** [src/lfs.o] Error 1

And I have no idea where to find this compat-5.1.h.

It appears that you have Lua 5.0 installed the lfs requires Lua 5.1. I don't use lfs, but your error says "-I/usr/include/lua50"
Get the Lua 5.1 package for Debian.
RJP Computing