8000 A couple of fixes needed to be able to build/run this on my system · Issue #10 · hishamhm/userland-prototype · GitHub
[go: up one dir, main page]

Skip to content

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

Open

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

Activity

  1. apt1002 commented on Sep 2, 2020

    @apt1002

    A couple more packages I had to install on my Ubuntu system: clang and llvm.

  2. hishamhm commented on Sep 2, 2020

    @hishamhm
    Owner

    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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      0