Updates docs on libaries and quickstart#96
Conversation
release-scripts/mandrel-release.java
Outdated
| "On Ubuntu-like systems with:\n" + | ||
| "```bash\n" + | ||
| "apt install gcc zlib1g-dev build-essential\n" + | ||
| "apt install gcc zlib1g-dev build-essential libfreetype6-dev\n" + |
There was a problem hiding this comment.
We might want to reconsider build-essential as it's probably installing more than what we need
There was a problem hiding this comment.
@zakkak The reason why I added t was that it was the very thing that brings the correct static glibc and it works on 18.x and 20.x
There was a problem hiding this comment.
It looks like build-essential installs:
- dpkg-dev (I don't see why we would need that)
- g++
- gcc
- libc6-dev
- make (I don't think we use make anywhere)
We already install gcc and libc6-dev so it looks like the addition that could possibly fix the issues you observed is g++ (which judging by the addition of libstdc++-static in centos makes sense). Unfortunately we don't have some setup to test this so it will have to be done by hand. I might give it a go later this week.
There was a problem hiding this comment.
I tested on both 18.04 and 20.04 and the following packages seem enough:
- g++ (this brings gcc as well, which also installs libc6-dev as "recommends")
- zlib1g-dev
- libfreetype6-dev
3f04acb to
285a22c
Compare
Fixes graalvm/mandrel#189