[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: slnunicode failed compilation
- From: Georgios Petsagourakis <petsagouris+lual@...>
- Date: Wed, 4 Dec 2013 14:38:23 +0000 (UTC)
Hello all,
lunamark fails to install due to the slnunicode's compilation errors.
I am posting on lua-l not knowing who can be contacted for a fix on slnunicode.
>From what I can understand there is no compatibility with Lua 5.2 API at the
moment.
Here is the output:
$ luarocks install lunamark
Installing http://www.luarocks.org/repositories/rocks/lunamark-0.3-1.src.rock...
Using http://www.luarocks.org/repositories/rocks/lunamark-0.3-1.src.rock...
switching to 'build' mode
Missing dependencies for lunamark:
slnunicode >= 1.1
Using
http://www.luarocks.org/repositories/rocks/slnunicode-1.1-2.src.rock...
switching to 'build' mode
Applying patch fix.patch...
successfully patched slnunico.c
Do not use 'module' as a build type. Use 'builtin' instead.
gcc -O2 -fPIC -I/usr/local/include -c slnunico.c -o slnunico.o
slnunico.c:445:12: error: ‘LUA_MAXCAPTURES’ undeclared here (not in a function)
slnunico.c: In function ‘addintlen’:
slnunico.c:1140:23: error: ‘LUA_INTFRMLEN’ undeclared (first use in this
function)
slnunico.c:1140:23: note: each undeclared identifier is reported only once
for each function it appears in
slnunico.c: In function ‘str_format’:
slnunico.c:1158:14: error: ‘LUA_INTFRMLEN’ undeclared (first use in this
function)
slnunico.c:1180:9: error: ‘LUA_INTFRM_T’ undeclared (first use in this function)
slnunico.c:1180:23: error: expected ‘)’ before ‘luaL_checknumber’
slnunico.c:1191:18: error: expected ‘)’ before ‘LUA_INTFRM_T’
slnunico.c: At top level:
slnunico.c:1285:1: error: unknown type name ‘luaL_reg’
slnunico.c:1286:2: warning: braces around scalar initializer [enabled by
default]
slnunico.c:1286:2: warning: (near initialization for ‘uniclib[0]’) [enabled
by default]
slnunico.c:1286:2: warning: initialization makes integer from pointer
without a cast [enabled by default]
slnunico.c:1286:2: warning: (near initialization for ‘uniclib[0]’) [enabled
by default]
slnunico.c:1286:2: error: initializer element is not computable at load time
slnunico.c:1286:2: error: (near initialization for ‘uniclib[0]’)
slnunico.c:1286:2: warning: excess elements in scalar initializer [enabled
by default]
slnunico.c:1286:2: warning: (near initialization for ‘uniclib[0]’) [enabled
by default]
slnunico.c:1287:2: warning: braces around scalar initializer [enabled by
default]
slnunico.c:1287:2: warning: (near initialization for ‘uniclib[1]’) [enabled
by default]
slnunico.c:1287:2: warning: initialization makes integer from pointer
without a cast [enabled by default]
slnunico.c:1287:2: warning: (near initialization for ‘uniclib[1]’) [enabled
by default]
slnunico.c:1287:2: error: initializer element is not computable at load time
slnunico.c:1287:2: error: (near initialization for ‘uniclib[1]’)
slnunico.c:1287:2: warning: excess elements in scalar initializer [enabled
by default]
slnunico.c:1287:2: warning: (near initialization for ‘uniclib[1]’) [enabled
by default]
slnunico.c:1288:2: warning: braces around scalar initializer [enabled by
default]
slnunico.c:1288:2: warning: (near initialization for ‘uniclib[2]’) [enabled
by default]
slnunico.c:1288:2: warning: initialization makes integer from pointer
without a cast [enabled by default]
slnunico.c:1288:2: warning: (near initialization for ‘uniclib[2]’) [enabled
by default]
slnunico.c:1288:2: error: initializer element is not computable at load time
slnunico.c:1288:2: error: (near initialization for ‘uniclib[2]’)
slnunico.c:1288:2: warning: excess elements in scalar initializer [enabled
by default]
slnunico.c:1288:2: warning: (near initialization for ‘uniclib[2]’) [enabled
by default]
slnunico.c:1289:2: warning: braces around scalar initializer [enabled by
default]
slnunico.c:1289:2: warning: (near initialization for ‘uniclib[3]’) [enabled
by default]
slnunico.c:1289:2: warning: initialization makes integer from pointer
without a cast [enabled by default]
slnunico.c:1289:2: warning: (near initialization for ‘uniclib[3]’) [enabled
by default]
slnunico.c:1289:2: error: initializer element is not computable at load time
slnunico.c:1289:2: error: (near initialization for ‘uniclib[3]’)
slnunico.c:1289:2: warning: excess elements in scalar initializer [enabled
by default]
slnunico.c:1289:2: warning: (near initialization for ‘uniclib[3]’) [enabled
by default]
slnunico.c:1290:2: warning: braces around scalar initializer [enabled by
default]
slnunico.c:1290:2: warning: (near initialization for ‘uniclib[4]’) [enabled
by default]
slnunico.c:1290:2: warning: initialization makes integer from pointer
without a cast [enabled by default]
slnunico.c:1290:2: warning: (near initialization for ‘uniclib[4]’) [enabled
by default]
slnunico.c:1290:2: error: initializer element is not computable at load time
slnunico.c:1290:2: error: (near initialization for ‘uniclib[4]’)
slnunico.c:1290:2: warning: excess elements in scalar initializer [enabled
by default]
slnunico.c:1290:2: warning: (near initialization for ‘uniclib[4]’) [enabled
by default]
slnunico.c:1291:2: warning: braces around scalar initializer [enabled by
default]
slnunico.c:1291:2: warning: (near initialization for ‘uniclib[5]’) [enabled
by default]
slnunico.c:1291:2: warning: initialization makes integer from pointer
without a cast [enabled by default]
slnunico.c:1291:2: warning: (near initialization for ‘uniclib[5]’) [enabled
by default]
slnunico.c:1291:2: error: initializer element is not computable at load time
slnunico.c:1291:2: error: (near initialization for ‘uniclib[5]’)
slnunico.c:1291:2: warning: excess elements in scalar initializer [enabled
by default]
slnunico.c:1291:2: warning: (near initialization for ‘uniclib[5]’) [enabled
by default]
slnunico.c:1292:2: warning: braces around scalar initializer [enabled by
default]
slnunico.c:1292:2: warning: (near initialization for ‘uniclib[6]’) [enabled
by default]
slnunico.c:1292:2: warning: initialization makes integer from pointer
without a cast [enabled by default]
slnunico.c:1292:2: warning: (near initialization for ‘uniclib[6]’) [enabled
by default]
slnunico.c:1292:2: error: initializer element is not computable at load time
slnunico.c:1292:2: error: (near initialization for ‘uniclib[6]’)
slnunico.c:1292:2: warning: excess elements in scalar initializer [enabled
by default]
slnunico.c:1292:2: warning: (near initialization for ‘uniclib[6]’) [enabled
by default]
slnunico.c:1293:2: warning: braces around scalar initializer [enabled by
default]
slnunico.c:1293:2: warning: (near initialization for ‘uniclib[7]’) [enabled
by default]
slnunico.c:1293:2: warning: initialization makes integer from pointer
without a cast [enabled by default]
slnunico.c:1293:2: warning: (near initialization for ‘uniclib[7]’) [enabled
by default]
slnunico.c:1293:2: error: initializer element is not computable at load time
slnunico.c:1293:2: error: (near initialization for ‘uniclib[7]’)
slnunico.c:1293:2: warning: excess elements in scalar initializer [enabled
by default]
slnunico.c:1293:2: warning: (near initialization for ‘uniclib[7]’) [enabled
by default]
slnunico.c:1294:2: warning: braces around scalar initializer [enabled by
default]
slnunico.c:1294:2: warning: (near initialization for ‘uniclib[8]’) [enabled
by default]
slnunico.c:1294:2: warning: initialization makes integer from pointer
without a cast [enabled by default]
slnunico.c:1294:2: warning: (near initialization for ‘uniclib[8]’) [enabled
by default]
slnunico.c:1294:2: error: initializer element is not computable at load time
slnunico.c:1294:2: error: (near initialization for ‘uniclib[8]’)
slnunico.c:1294:2: warning: excess elements in scalar initializer [enabled
by default]
slnunico.c:1294:2: warning: (near initialization for ‘uniclib[8]’) [enabled
by default]
slnunico.c:1295:2: warning: braces around scalar initializer [enabled by
default]
slnunico.c:1295:2: warning: (near initialization for ‘uniclib[9]’) [enabled
by default]
slnunico.c:1295:2: warning: initialization makes integer from pointer
without a cast [enabled by default]
slnunico.c:1295:2: warning: (near initialization for ‘uniclib[9]’) [enabled
by default]
slnunico.c:1295:2: error: initializer element is not computable at load time
slnunico.c:1295:2: error: (near initialization for ‘uniclib[9]’)
slnunico.c:1295:2: warning: excess elements in scalar initializer [enabled
by default]
slnunico.c:1295:2: warning: (near initialization for ‘uniclib[9]’) [enabled
by default]
slnunico.c:1296:2: warning: braces around scalar initializer [enabled by
default]
slnunico.c:1296:2: warning: (near initialization for ‘uniclib[10]’) [enabled
by default]
slnunico.c:1296:2: warning: initialization makes integer from pointer
without a cast [enabled by default]
slnunico.c:1296:2: warning: (near initialization for ‘uniclib[10]’) [enabled
by default]
slnunico.c:1296:2: error: initializer element is not computable at load time
slnunico.c:1296:2: error: (near initialization for ‘uniclib[10]’)
slnunico.c:1296:2: warning: excess elements in scalar initializer [enabled
by default]
slnunico.c:1296:2: warning: (near initialization for ‘uniclib[10]’) [enabled
by default]
slnunico.c:1297:2: warning: braces around scalar initializer [enabled by
default]
slnunico.c:1297:2: warning: (near initialization for ‘uniclib[11]’) [enabled
by default]
slnunico.c:1297:2: warning: initialization makes integer from pointer
without a cast [enabled by default]
slnunico.c:1297:2: warning: (near initialization for ‘uniclib[11]’) [enabled
by default]
slnunico.c:1297:2: error: initializer element is not computable at load time
slnunico.c:1297:2: error: (near initialization for ‘uniclib[11]’)
slnunico.c:1297:2: warning: excess elements in scalar initializer [enabled
by default]
slnunico.c:1297:2: warning: (near initialization for ‘uniclib[11]’) [enabled
by default]
slnunico.c:1298:2: warning: braces around scalar initializer [enabled by
default]
slnunico.c:1298:2: warning: (near initialization for ‘uniclib[12]’) [enabled
by default]
slnunico.c:1298:2: warning: initialization makes integer from pointer
without a cast [enabled by default]
slnunico.c:1298:2: warning: (near initialization for ‘uniclib[12]’) [enabled
by default]
slnunico.c:1298:2: error: initializer element is not computable at load time
slnunico.c:1298:2: error: (near initialization for ‘uniclib[12]’)
slnunico.c:1298:2: warning: excess elements in scalar initializer [enabled
by default]
slnunico.c:1298:2: warning: (near initialization for ‘uniclib[12]’) [enabled
by default]
slnunico.c:1299:2: warning: braces around scalar initializer [enabled by
default]
slnunico.c:1299:2: warning: (near initialization for ‘uniclib[13]’) [enabled
by default]
slnunico.c:1299:2: warning: initialization makes integer from pointer
without a cast [enabled by default]
slnunico.c:1299:2: warning: (near initialization for ‘uniclib[13]’) [enabled
by default]
slnunico.c:1299:2: error: initializer element is not computable at load time
slnunico.c:1299:2: error: (near initialization for ‘uniclib[13]’)
slnunico.c:1299:2: warning: excess elements in scalar initializer [enabled
by default]
slnunico.c:1299:2: warning: (near initialization for ‘uniclib[13]’) [enabled
by default]
slnunico.c:1300:2: warning: braces around scalar initializer [enabled by
default]
slnunico.c:1300:2: warning: (near initialization for ‘uniclib[14]’) [enabled
by default]
slnunico.c:1300:2: warning: initialization makes integer from pointer
without a cast [enabled by default]
slnunico.c:1300:2: warning: (near initialization for ‘uniclib[14]’) [enabled
by default]
slnunico.c:1300:2: error: initializer element is not computable at load time
slnunico.c:1300:2: error: (near initialization for ‘uniclib[14]’)
slnunico.c:1300:2: warning: excess elements in scalar initializer [enabled
by default]
slnunico.c:1300:2: warning: (near initialization for ‘uniclib[14]’) [enabled
by default]
slnunico.c:1301:2: warning: braces around scalar initializer [enabled by
default]
slnunico.c:1301:2: warning: (near initialization for ‘uniclib[15]’) [enabled
by default]
slnunico.c:1301:2: warning: initialization makes integer from pointer
without a cast [enabled by default]
slnunico.c:1301:2: warning: (near initialization for ‘uniclib[15]’) [enabled
by default]
slnunico.c:1301:2: warning: excess elements in scalar initializer [enabled
by default]
slnunico.c:1301:2: warning: (near initialization for ‘uniclib[15]’) [enabled
by default]
Error: Failed installing dependency:
http://www.luarocks.org/repositories/rocks/slnunicode-1.1-2.src.rock - Build
error: Failed compiling object slnunico.