Package Details: luadbi 0.5-3

Package Base: luadbi
Description: Database interface library for Lua
Upstream URL: http://code.google.com/p/luadbi/
Category: devel
Licenses: MIT
Submitter: lstarnes
Maintainer: lstarnes
Last Packager: lstarnes
Votes: 5
First Submitted: 2011-04-10 04:29
Last Updated: 2014-06-27 11:16

Dependencies (9)

Required by (0)

Sources

Latest Comments

Comment by lstarnes

2014-06-27 10:33

@maki I don't think I have a device available that uses armv6h, but does it work when you manually add 'armv6h' to the arch array?

Comment by maki

2014-06-27 10:30

I need this package for my xmpp server (Prosody) and i cant install it because is not available for armv6h (Im using arm archlinux). Someone can help me please?

Comment by sl1pkn07

2013-10-16 21:20

DBI.lua have hardcoded the path of lua executable. for this, namcap say need lua instead lua5.1 (change lua in dependens)

to fix need:

sed 's|#!/usr/bin/lua|#!/usr/bin/lua5.1|g' -i DBI.lua


and another "patch" to build with postgresql

sed 's|internal|server|g' -i Makefile

or change in Makefile.diff

/usr/include/postgresql/internal

to
/usr/include/postgresql/server

greetings

Comment by moebius_eye

2013-08-21 15:33

This installed nicely on my Rspberry pi.

Please, consider adding the armv6h architecture to the arch variable.

Thank you.

Comment by lstarnes

2012-11-16 02:18

I'm not getting those errors when I build it. Did you make any changes to the PKGBUILD?

Anonymous comment

2012-11-14 22:21

Problem

patching file Makefile
mkdir -p build
gcc -c -o build/dbd_common.o dbd/common.c -g -pedantic -Wall -O2 -shared -fpic -I /usr/include/lua5.1 -I /usr/include/mysql -I /usr/include/postgresql/internal -I /opt/ibm/db2exc/V9.5/include/ -I /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/rdbms/public/ -I .
gcc -c -o build/dbd_mysql_main.o dbd/mysql/main.c -g -pedantic -Wall -O2 -shared -fpic -I /usr/include/lua5.1 -I /usr/include/mysql -I /usr/include/postgresql/internal -I /opt/ibm/db2exc/V9.5/include/ -I /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/rdbms/public/ -I .
In file included from /usr/include/mysql/mysql.h:71:0,
from dbd/mysql/dbd_mysql.h:6,
from dbd/mysql/main.c:1:
/usr/include/mysql/mysql_version.h:1:1: warning: null character(s) ignored [enabled by default]
In file included from /usr/include/mysql/mysql.h:72:0,
from dbd/mysql/dbd_mysql.h:6,
from dbd/mysql/main.c:1:
/usr/include/mysql/mysql_com.h:1:30: error: expected ')' before '*' token
/usr/include/mysql/mysql_com.h:52:2: warning: ISO C does not allow extra ';' outside of a function [-pedantic]
/usr/include/mysql/mysql_com.h:550:2: error: #endif without #if
/usr/include/mysql/mysql_com.h:551:1: warning: null character(s) ignored [enabled by default]
In file included from /usr/include/mysql/mysql.h:73:0,
from dbd/mysql/dbd_mysql.h:6,
from dbd/mysql/main.c:1:
/usr/include/mysql/mysql_time.h:1:1: warning: data definition has no type or storage class [enabled by default]
/usr/include/mysql/mysql_time.h:1:1: warning: type defaults to 'int' in declaration of 'type' [-Wimplicit-int]
/usr/include/mysql/mysql_time.h:2:1: error: expected identifier or '(' before '}' token
/usr/include/mysql/mysql_time.h:2:3: warning: data definition has no type or storage class [enabled by default]
/usr/include/mysql/mysql_time.h:2:3: warning: type defaults to 'int' in declaration of 'MYSQL_TIME' [-Wimplicit-int]
/usr/include/mysql/mysql_time.h:4:2: error: #endif without #if
/usr/include/mysql/mysql_time.h:5:1: warning: null character(s) ignored [enabled by default]
In file included from /usr/include/mysql/mysql.h:73:0,
from dbd/mysql/dbd_mysql.h:6,
from dbd/mysql/main.c:1:
/usr/include/mysql/mysql_time.h:5:0: error: unterminated #ifndef
In file included from dbd/mysql/dbd_mysql.h:6:0,
from dbd/mysql/main.c:1:
/usr/include/mysql/mysql.h:127:23: warning: ISO C90 does not support 'long long' [-Wlong-long]
In file included from /usr/include/mysql/mysql.h:131:0,
from dbd/mysql/dbd_mysql.h:6,
from dbd/mysql/main.c:1:
/usr/include/mysql/typelib.h:2:43: error: unknown type name 'TYPELIB'
/usr/include/mysql/typelib.h:3:45: error: unknown type name 'TYPELIB'
/usr/include/mysql/typelib.h:15:1: error: unknown type name 'TYPELIB'
/usr/include/mysql/typelib.h:16:48: error: unknown type name 'TYPELIB'
/usr/include/mysql/typelib.h:17:29: error: unknown type name 'TYPELIB'
/usr/include/mysql/typelib.h:18:1: error: unknown type name 'TYPELIB'
/usr/include/mysql/typelib.h:18:30: error: unknown type name 'MEM_ROOT'
/usr/include/mysql/typelib.h:18:46: error: unknown type name 'TYPELIB'
/usr/include/mysql/typelib.h:20:1: error: unknown type name 'TYPELIB'
/usr/include/mysql/typelib.h:22:1: error: unknown type name 'TYPELIB'
/usr/include/mysql/typelib.h:27:2: error: #endif without #if
/usr/include/mysql/typelib.h:28:1: warning: null character(s) ignored [enabled by default]
In file included from /usr/include/mysql/mysql.h:146:0,
from dbd/mysql/dbd_mysql.h:6,
from dbd/mysql/main.c:1:
/usr/include/mysql/my_alloc.h:1:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'for'
/usr/include/mysql/my_alloc.h:5:1: error: expected identifier or '(' before '}' token
/usr/include/mysql/my_alloc.h:5:3: warning: data definition has no type or storage class [enabled by default]
/usr/include/mysql/my_alloc.h:5:3: warning: type defaults to 'int' in declaration of 'USED_MEM' [-Wimplicit-int]
/usr/include/mysql/my_alloc.h:10:3: error: expected specifier-qualifier-list before 'USED_MEM'
/usr/include/mysql/my_alloc.h:8:16: warning: struct has no members [-pedantic]
/usr/include/mysql/my_alloc.h:30:2: error: #endif without #if
/usr/include/mysql/my_alloc.h:31:1: warning: null character(s) ignored [enabled by default]
make: *** [build/dbd_mysql_main.o] Error 1