Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUbuntu 18.04 needs llvm to build mozjs_sys #22267
Closed
Comments
|
Maybe it's good to send a PR to update the README :) |
|
This looks like it has been done, https://github.com/servo/servo#on-debian-based-linuxes Can be closed. |
|
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When attempting to compile servo on Ubuntu 18.04, I encountered a number of errors when it reached the step of building mozjs_sys:
One of the pages I found while searching (which I've now misplaced) was about encountering a similar error on macOS, and the apparent fix involved installing llvm through brew.
After finding no other useful solution, I decided to attempt
sudo apt-get install llvm-dev. When rerunning the build, I was able to get past the point I used to error at. This seems to suggest that llvm or llvm-dev is a prerequisite for building servo, at least on Ubuntu 18.04. (I didn't have llvm installed, either, so I can't say for sure which one is the dependency.)The bootstrap and/or README should probably be updated to indicate that.