I currently blocked by this issue: https://www.illumos.org/issues/12964 so I can't install the needed toolchain to build PM from source on OI.
I want to make a small correction to your tutorial: instead of gcc-7, I think we should install the build-essential package, it included git and many other libraries/headers/utilities needed to build OI itself. The compiler included with build-essential is also the compiler used to build all of OI packages, currently it's identical to your gcc-7, but it could change in the future. I think we better stick with this compiler.
I have some ideas but I can't test it myself due to mentioned bug:
Question 1: Could we use ravenports' gcc to build PM on OI?
http://www.ravenports.com/
How to setup ravenports: https://github.com/jrmarino/Ravenports/ ... tart-sunos
We install mousepad to get most of the dependencies to build PM (gtk, cairo,...): sudo ravensw install mousepad
Install gcc: sudo ravensw install gcc9-complete-standard
Other dependencies needed to build PM could be installed from ravensw as well.
Note: this mousepad can't start, we install it only to have the dependencies to build PM. If you want it to work, you have to compile the needed schemas with https://developer.gnome.org/gio/stable/ ... hemas.html
Question 2: Could we use Joyent's pkgsrc gcc to build PM on OI?
https://pkgsrc.joyent.com/install-on-illumos/
We install these packages to get most of the dependencies needed to build PM (gtk, cairo,...): sudo pkgin install gedit gnome-icon-themes gnome-icon-themes-extras gnome-icon-themes-symbolic
Other dependencies and gcc could be installed from pkgin as well. We could search for the needed packages with: sudo pkgin search [package name] before we try to install it, since the package names could be different with the package names on the official OI repo or on Linux, e.g: autoconf213 (pkgin) vs autoconf-213 (OI).
Note: these gcc need the headers from OI's gcc-7 (build-essential's gcc) installation to work. It's the reason why I can't test these ideas myself, since I currently can't install new packages on my OI system due to the bug I mentioned above.
Minor annoyances of mine on OI and workarounds (could be useful for others as well):
Annoyance 1: Pluma regularly crashes without reasons
Workaround: using pkgin to install openjdk11 and install JEdit with the Java installer: http://www.jedit.org/index.php?page=download I use JEdit as my cross platform editor, it's available everywhere, even on exotic platform like HaikuOS. And why openjdk11 but not the openjdk8 shipped with OI itself? Joyent has patched their openjdk11 to make the fonts looks better for Swing applications and it really improved JEdit's font rendering quality on OI.
Annoyance 2: Date time is wrong and it's mismatch with Linux, when Linux set clock time to UTC, OI set the clock time to local time even though it said it's using clock time as UTC
Workaround: enable NTP with sudo svcadm enable ntp. I don't know why ntp is disabled by default on OI, on Linux, ntp is enabled by default. The ntp daemon will correct the date time to the right value after each OS's boot.
Annoyance 3: ZFS ARC Cache eats all RAM so very few RAM left for the building process
Workaround: I limit ZFS ARC to 500 MB (my system has 8G total, you should choose the suitable value for yours). The guide I used: https://www.claudiokuenzler.com/blog/45 ... e-max-size
Final notes: don't use FF on OI at all, I only used it to download athenian200's PM build and then don't use it anymore because it caused more problems for mine and it doesn't have any actual advantages over PM. And I found when we shutdown/reboot the system with MATE's Logout dialog, we usually prevented from shutdown/reboot by pulseaudio. Shutdown/reboot on the terminal with sudo poweroff/sudo reboot doesn't suffer from this issue.