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
compile ocaml sources on a chrome-book #12797
Comments
I'm surprised to learn this. I have used HP x360 14c chromebooks since the beginning of the pandemic, and I build/run OCaml from opam-on-up, all the time. I do development on Camlp5 and the pa_ppx suite of PPX rewriters, and all of that builds just fine in the Chromeos Linux container. Maybe it's a question of the specific Chromebook? Mine is intel-based: maybe you're on an ARM-based machine? |
It’s a Chromebook Asus C423.
Here is the error message:
if I manually make a |
OK, it appears that this is a bug of the environment the command |
It's difficult to compile ocaml sources on a chrome-book computer.
It's seems that the linux provided with a chrome-book is a kind of Debian inside a container, but we notice some small differences with a real Linux box.
While compiling ocaml sources it was quite difficult because I had to replace all the
ln
commands bycp
commands, becauseln
commands produce errors, and so stop the build of the Makefile.Also After reaching a result only the bytecode compiler does work, the ocamlopt command produces an error:
I probably didn't install
libasmrun.a
because I was unable to compile it, indeed the build script doesn't work out of the box as I explained above and I had to run the build manually. (I had to install everything manually, and I have only been able to get a bytecode compiler working).I had the same problem with different versions of ocaml
4.14.1
or other versions.If you want to make the test by yourself you can find cheap chrome-books for 200 euros.
The text was updated successfully, but these errors were encountered: