Hi MCMic!
MCMic {l Wrote}:Hello, trying to make an archlinux package here.
I uploaded a non working version on aur :
https://aur.archlinux.org/packages/valyria-tear/I get these lua errors, is that fixable? (from what I understood the solution would either be to depend to lua51 and link to it somehow or to depend to luabind aur package - is it even working? - and link to it with the cmake option valyria provide).
Thanks for packaging Valyria!!
Valyria Tear has been successfully packaged for Fedora and qubodup had those lua errors too, so I'm quite sure I ironed out the compilation problems both for lua 5.1 and 5.2. I now depends on whether archlinux wants you to compile valyria against the system luabind or with the one provided in the source, but in anyway, here is a handful of flags that you might want to add to your pkgbuild cmake parameters:
USE_SYSTEM_LUABIND : Permits to use the system luabind when compiling, i.e:
- {l Code}: {l Select All Code}
cmake -DUSE_SYSTEM_LUABIND=on .
Also, if you specifically need to build against lua5.1: Here is what worked earlier for qubodup (you might have to check the paths below against the ones used in arch):
- {l Code}: {l Select All Code}
cmake -DLUA_LIBRARIES=/usr/lib/liblua5.1.so -DLUA_INCLUDE_DIR=/usr/include/lua5.1/ .
Everything together, it does:
- {l Code}: {l Select All Code}
cmake -DLUA_LIBRARIES=/usr/lib/liblua5.1.so -DLUA_INCLUDE_DIR=/usr/include/lua5.1/ -DUSE_SYSTEM_LUABIND=on -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .
Feel free to redirect any error output here, and again, thanks a lot!
Best regards,