Thanks @TheCableGUI, I did all the above. However, Clang 16.0.0 is not available for Ubuntu 22.04.5. I installed Clang 16.0.1 with an assupmtion it would be compatible. The installation runs and terminates after hours.
Is there a work around this?
I appreciate all the replies. Peace.