-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building on Arch Linux. #275
Comments
Wew, more reason to keep around the makefile support. Does it build fine on the With that said, a PR based against the dev branch for findlua.sh would be good. Another PR for getting it to work with CMake would also be good but make sure you somehow have it working - if it doesn't work, just post what you have to and if someone's interested they may be able to help. |
In
|
Thanks for the patch. I'd recommend running with LuaJIT where possible though. |
In Arch (or at least a fork of it, Parabola, which I use) Lua5.1 is in package lua51 and the .pc file is located at /usr/lib/pkgconfig/lua51.pc. So I added another elif to findlua.sh and now I can build with root make file:
Initially I was trying to build with cmake, and did make some progress.
There doesn't seem to be a Findzlib.cmake in zlib package. This worked instead:
I'm not sure if there is an easy way to use both without issues.
I was then getting errors regarding
So I needed to use library/include variables for LUA51 instead of LUA:
This got me to linking, where I got some incomprehensible (to me) errors. I think the LUA51 variables where different from the LUA counterparts, apart from how they obviously would be. I can post that if anyone wants to pursue it further. Personally, trying to compile with cmake made me an alcoholic.
The text was updated successfully, but these errors were encountered: