What steps will reproduce the problem?
1. clone git repo
2. edit Makefile
2.1 adjust LUA paths (non-standard lua install):
export LUA_INCLUDE=-I/W/include
export LUA_LINK=-L/W/lib -llua
3. make prefix=/W
What is the expected output? What do you see instead?
==
[....]
make[2]: Entering directory `/W/tmp/gazelle/lang_ext/lua'
gcc -Wall -g -O6 -std=c99 -o bc_read_stream.o -c bc_read_stream.c
-I../../runtime/include -I/usr/include/lua5.1
bc_read_stream.c:15:17: error: lua.h: No such file or directory
bc_read_stream.c:16:20: error: lualib.h: No such file or directory
bc_read_stream.c:17:21: error: lauxlib.h: No such file or directory
bc_read_stream.c:19: error: parse error before '*' token
[....]
bc_read_stream.c:86: warning: implicit declaration of function 'luaL_register'
make[2]: *** [bc_read_stream.o] Error 1
make[2]: Leaving directory `/W/tmp/gazelle/lang_ext/lua'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/W/tmp/gazelle/lang_ext'
==
What version of the product are you using? On what operating system?
Version:
http://github.com/haberman/gazelle/tree/e3d2566a0f805cc67b44f1f065d57eb99b9ed141
OS: Mac OS X 10.4
Please provide any additional information below.
Patch attached
--
aurelian