Package lua-dbi

Ask questions about Arch Linux ARM. Please search before making a new topic.

Package lua-dbi

Postby Maki » Fri Jun 27, 2014 10:45 am

Hi guys,

I need install lua-dbi package for my xmpp server (Prosody), specifically for my database sqlite, and i cant install it because is not available for the arch armv6h. Someone know how to fix this error?

Thanks.
Maki
 
Posts: 2
Joined: Fri Jun 27, 2014 10:34 am

Re: Package lua-dbi

Postby Geoff » Fri Jun 27, 2014 6:36 pm

I found a solution for prosody, which is to switch from lua to lua51, including lua51-dbi. Specifically, I have installed: lua51, lua51-dbi, lua51-expat, lua51-filesystem, lua51-sec, lua51-socket. Note that lua51-dbi is in AUR, so you have to build it yourself. This worked for me on armv5 and armv7h devices.
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Re: Package lua-dbi

Postby Maki » Sat Jun 28, 2014 10:39 am

Hi Geoff,

Thanks a lot, i have installed lua51-dbi package and SQlite works perfectly with Prosody. As you say is an AUR package and is necessary to build it but before you also need change one line in the PKGBUILD file, specifically the line 6--> arch=('i686' 'x86_64') and add your architecture , in me case arch=('i686' 'x86_64' 'armv6h'). You can use nano or any other editor for this task. Thanks by your response.
Maki
 
Posts: 2
Joined: Fri Jun 27, 2014 10:34 am


Return to User Questions

Who is online

Users browsing this forum: No registered users and 13 guests