[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Need help setting up luasocket
- From: "mark morreny" <markmorreny@...>
- Date: Fri, 16 May 2008 23:22:45 +0800
Hi,
I am trying to install luasocket 2.0.2 on lua 5.1.3. I am getting error during the "make" process. The site has very little about installation so I really have no clue. Can someone offer a hint?
linux:/usr/src/luasocket-2.0.2# lua
Lua 5.1.3 Copyright (C) 1994-2008 Lua.org, PUC-Rio
>
linux:/usr/src/luasocket-2.0.2#
linux:/usr/src/luasocket-2.0.2# make
cd src; make all
make[1]: Entering directory `/usr/src/luasocket-2.0.2/src'
gcc -DLUASOCKET_DEBUG -pedantic -Wall -O2 -fpic -c -o luasocket.o luasocket.c
luasocket.c:20:17: error: lua.h: No such file or directory
In file included from luasocket.c:21:
/usr/local/include/lauxlib.h:15:17: error: lua.h: No such file or directory
In file included from luasocket.c:21:
/usr/local/include/lauxlib.h:37: error: expected specifier-qualifier-list before 'lua_CFunction'
/usr/local/include/lauxlib.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/usr/local/include/lauxlib.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/usr/local/include/lauxlib.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/local/include/lauxlib.h:47: error: expected '=', ',', ';', 'asm'
Thank,
Mark