You are not logged in.

#1 2015-07-16 18:09:14

andradx
Member
From: Portugal
Registered: 2015-07-16
Posts: 10

lua51-posix will not build

I was trying to install ulatencyd but I'm stuck at not being able to compile lua51.

Essentially, without a change to the PKGBUILD, if lua5.3 is installed /usr/bin/lua picks version 5.3. So I modified the PKGBUILD to read instead of

 ./configure \
      LUA=/usr/bin/lua \

which complained about lua not being >51 and <53 to

 ./configure \
      LUA=/usr/bin/lua5.1 \

but then I get

checking if Lua header version matches 5.1... no

and installation breaks, so I've added


 ./configure \
      LUA=/usr/bin/lua5.1 \
      --includedir=/usr/share/lua5.1

but again an error, and the same

checking if Lua header version matches 5.1... no

How do I solve this? Is there an equivalent version of update-alternatives that sorts this out? I can't install ulatencyd on account of this.

Thank you.


I like my offshore with longboard and shorts

Offline

#2 2015-07-16 19:00:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: lua51-posix will not build

Why not install lua51 from the repos?

Edit: Have you tried https://aur.archlinux.org/packages/ulatencyd-git/ ?

Last edited by karol (2015-07-16 19:04:08)

Offline

#3 2015-07-16 21:01:49

andradx
Member
From: Portugal
Registered: 2015-07-16
Posts: 10

Re: lua51-posix will not build

My bad, should have made that clear. I'm installing it from the repos, though I was using ulatencyd and not ulatencyd-git.

yaourt -S ulantecyd

Regardless of that, lua51-posix is a dependency that is compiled in the process. The errors above occur in that process. When it is compiling lua51-posix prior to doing so for ulatencyd, I get

checking if /usr/bin/lua is a Lua interpreter... yes
checking whether /usr/bin/lua version >= 5.1, < 5.3... no
configure: error: version is out of range for specified LUA

Maybe I should rollback lua to 5.1, install this and move to 5.3 after it.


I like my offshore with longboard and shorts

Offline

#4 2015-07-17 01:28:54

anatolik
Developer
Registered: 2012-09-27
Posts: 458

Re: lua51-posix will not build

Are you compiling lua51-posix from AUR? https://aur.archlinux.org/packages/lua51-posix/


Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster

Offline

Board footer

Powered by FluxBB