The present invention is a process comprising contacting a compound of formula 6: or a pharmaceutically acceptable salt thereof with a deprotecting reagent to form a compound of formula A: or a pharmaceutically acceptable salt thereof where R is H or OR1 R1 and each R1&prime are protecting groups R1&Prime is H or OH, and n is 0, 1, 2, 3, 4 , or 5.