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

Ubuntu/Debian package installation not included in the instructions #15

Open
JJ opened this issue Jun 12, 2021 · 4 comments
Open

Ubuntu/Debian package installation not included in the instructions #15

JJ opened this issue Jun 12, 2021 · 4 comments

Comments

@JJ
Copy link

JJ commented Jun 12, 2021

You will need to install make and gcc to make this work. This is probably installed almost everywhere nowadays, but I was just trying to use this in a bare-bones VPS and it was not. It's also using git, so you might want to warn about that too.
Additionally, maybe include a simple detection of needed programs in the script, so that ugly errors don't show up. I can do that myself.

@patrickbkr
Copy link
Member

download works fine without any of those. So a check must only happen, when build is actually used.

For the build command only git and perl are needed unconditionally. Those are already checked here.

gcc is not needed when building on JVM or when building with clang. make is highly platform dependent (nmake, gmake, make are all possibilities). All of these are already checked by the Configure.pl of Rakudo itself (not as pretty as it could, but it does the checking). Thus I opted to not try to reproduce the checks in Rakubrew. This means less duplication and less potential for running out of sync. Also reproducing the logic in Rakubrew is bound to be very fragile, as the actual requirements are dependent on the options passed to Configure.pl and other factors such as which programs are first found in PATH.

If one desires to have prettier error messages, I'd favour that we improve them in Rakudos Configure.pl than trying to reproduce the logic in Configure.pl in Rakubrew.

@JJ
Copy link
Author

JJ commented Jun 12, 2021 via email

@patrickbkr
Copy link
Member

@JJ Did you manage to do some digging into why this failed for you?

@JJ
Copy link
Author

JJ commented Jun 24, 2021

I would probably need to dig up a different VM with similar characteristics to do it, since it's already installed into the VPS...

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

2 participants