Skip to content

A couple of fixes needed to be able to build/run this on my system #10

@setzer22

Description

@setzer22

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 inside userland-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 with eval './luarocks path\'. This fails because the lua version is missing. It should be eval './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 run eval '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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions