userland-prototype
userland-prototype copied to clipboard
A couple of fixes needed to be able to build/run this on my system
Hi. First of all, thanks for this awesome piece of software! :D
I was trying to get this up and running, and following the steps in your README did not fully work. Here's a couple of things that need to be fixed:
- Your program also depends on the
bit32
lua package. I had to add it to the list of luarock dependencies insideuserland-dev-1.rockspec
- The
userland
script at the root of this repository does not work. The program requires lua 5.1 to run, but the script starts by evaluating the path witheval './luarocks path\'
. This fails because the lua version is missing. It should beeval './luarocks --lua-version 5.1 path'
. Additionally, the dot-slash before luarocks did not work. This assumes luarocks is on the same folder as userland. In my case, since it was a system package, I had to runeval 'luarocks --lua-version 5.1 path'
, with which I was finally able to run the program. NOTE: I used ' instead of the backtick above to avoid github messing up my formatting. This is not part of the fix.
Again, thanks for working on this!
Cheers
A couple more packages I had to install on my Ubuntu system: clang and llvm.
Thanks for the notes! This is of course a project in a very early stage so I haven't put a lot of effort in making it a seamless experience yet (the code itself is very much proof-of-concept-y still!) but I'm glad you managed to get it running :)