lua-users home
lua-l archive

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


I am trying to compile and install LuaFileSystem. From what I understand from the docs, I need Compat-5.1 only if I use LUA 5.0, but not LUA 5.1. I use the latter, so I did not install Compat-5.1.

However, when compiling LuaFileSystem 1.2 (for Mac OS X) I get

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

which makes me think that I am wrong about Compat-5.1, as I miss 'compat-5.1.h'.

Do I need to install Compat-5.1 with LUA 5.1?

Thanks and regards
- Stefan