Skip to content
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

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

Open
setzer22 opened this issue Aug 27, 2020 · 2 comments
Open

Comments

@setzer22
Copy link

setzer22 commented Aug 27, 2020

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

@apt1002
Copy link

apt1002 commented Sep 2, 2020

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

@hishamhm
Copy link
Owner

hishamhm commented Sep 2, 2020

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants