[Freeswitch-users] not able to install luasql

Seven Du dujinfang at gmail.com
Wed Sep 1 05:35:58 PDT 2010


src/luasql.c:8:17: error: lua.h: No such file or directory

seems like you need to install lua devel package. I don't have CENT
but the package name should like lua-devel or lua51-devel etc.

On Wed, Sep 1, 2010 at 7:55 PM, ovvenkat <ovvenkatesan at gmail.com> wrote:
> Hi to all,
>
> I could not able to compile "luasql-2.1.1" on CENT 5.3 32-bit. I am getting
> following errors while compiling the source code
>
>
> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -ansi -pedantic
> -I../compat/src  -I/usr/local/include    -c -o src/luasql.o src/luasql.c
> src/luasql.c:8:17: error: lua.h: No such file or directory
> src/luasql.c:9:21: error: lauxlib.h: No such file or directory
> src/luasql.c:11:24: error: compat-5.1.h: No such file or directory
> In file included from src/luasql.c:15:
> src/luasql.h:23: error: expected ‘)’ before ‘*’ token
> src/luasql.h:24: error: expected ‘)’ before ‘*’ token
> src/luasql.h:25: error: expected ‘)’ before ‘*’ token
> src/luasql.h:26: error: expected ‘)’ before ‘*’ token
> src/luasql.c:20: error: expected ‘)’ before ‘*’ token
> src/luasql.c:31: error: expected ‘)’ before ‘*’ token
> src/luasql.c:46: error: expected ‘)’ before ‘*’ token
> src/luasql.c:78: error: expected ‘)’ before ‘*’ token
> src/luasql.c:87: error: expected ‘)’ before ‘*’ token
> make: *** [src/luasql.o] Error 1
>
> Any one faced resolved the same issue?
>
> --
>
> Regards
> Venkat.
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>



-- 
Blog: http://www.dujinfang.com
Proj:  http://www.freeswitch.org.cn



More information about the FreeSWITCH-users mailing list