Getting PCRE to compile on Solaris 9 SPARC

So there are some folks who are still trying to run modern things on old SPARC machines still. I pulled out my old Solaris server that I used to host a backup of my website back in 2013, dusted it off and booted it up
Without missing a beat, not taking backups or snapshots other than the existing website and database itself, I decided to apply these updates and and just let it fly. Oh boy how we crashed and burned.