"Zsolt Udvari" <[EMAIL PROTECTED]>
writes:

>> luaextl.c:21:17: error: lua.h: No such file or directory
>> luaextl.c:22:20: error: lualib.h: No such file or directory
>> luaextl.c:23:21: error: lauxlib.h: No such file or directory
> Maybe try to install lua-dev.

I haven't that package on Debian Etch.

If I try to install lua with command:

sudo aptitude install lua <Tab>

then I get the following options:

lua
lua40
lua40-doc
lua50
lua50-doc
lua5.1
lua5.1-doc
lua5.1-policy
lua5.1-policy-dev
lua-mode
luasocket
luasocket-dev
luasocket-doc

You can see that that there one can't find lua-dev. :(

I have installed now:
lua5.1-policy-dev
luasocket
luasocket-dev

When I run 'make clean' and then 'make' I still get error messages:


gcc -Os -W -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs
-Wformat -Wchar-subscripts -Wparentheses -pedantic -Wuninitialized
-DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I./.. -I/usr/local/include    -c
luaextl.c -o luaextl.o 

luaextl.c:21:17: error: lua.h: No such file or directory
luaextl.c:22:20: error: lualib.h: No such file or directory
luaextl.c:23:21: error: lauxlib.h: No such file or directory

luaextl.c:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token 

luaextl.c:42: error: expected ‘)’ before ‘*’ token
luaextl.c:46: error: expected ‘)’ before ‘*’ token
luaextl.c:60: error: expected ‘)’ before ‘*’ token
luaextl.c:67: error: expected ‘)’ before ‘*’ token
luaextl.c:74: error: expected ‘)’ before ‘*’ token
luaextl.c:81: error: expected ‘)’ before ‘*’ token
luaextl.c:88: error: expected ‘)’ before ‘*’ token
luaextl.c:101: error: expected ‘)’ before ‘*’ token

luaextl.c:105: error: expected specifier-qualifier-list before
‘ExtlCPCallFn’ 

luaextl.c:108: warning: struct has no members
luaextl.c:111: error: expected ‘)’ before ‘*’ token
luaextl.c:126: error: expected ‘)’ before ‘*’ token

luaextl.c:158: error: ‘LUA_NOREF’ undeclared here (not in a
function) 

luaextl.c:161: error: expected ‘)’ before ‘*’ token
luaextl.c:204: error: expected ‘)’ before ‘*’ token
luaextl.c: In function ‘extl_uncache’:

luaextl.c:221: warning: implicit declaration of function ‘extl_cpcall’
luaextl.c:221: error: ‘l_st’ undeclared (first use in this function)
luaextl.c:221: error: (Each undeclared identifier is reported only once
luaextl.c:221: error: for each function it appears in.)

luaextl.c:221: error: ‘ExtlCPCallFn’ undeclared (first use in this
function) 

luaextl.c:221: error: expected expression before ‘)’ token
luaextl.c: At top level:
luaextl.c:225: error: expected ‘)’ before ‘*’ token
luaextl.c:285: error: expected ‘)’ before ‘*’ token

...
etc.


-- 
Regards, Paul Csanyi
http://www.freewebs.com/csanyi-pal/index.htm

Reply via email to