I finally upgraded from Catalina to Monterey. An important use of my Mac is for development for a LAMP stack. Ever since Sierra, when upgrading the OS, there are just some standard tweaks that I have to do to reconfigure the development environment. I have used MacPorts for many years for installing the components.
However on this upgrade, it seems that MacPorts installs are not workable at this time. In particular, no recent version of mariadb will install, always erroring with a clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=12.0'. Since I am on macOS 12.4, I am guessing that 12.0 is the last supported version.
I have tried mariadb versions 10.5, 10.6, 10.7, 10.8 and 10.9. All hit the same error.
Has anyone solved this problem?