Disclosed herein is a process for preparing a compound of Formula (I), comprising the steps of: (a) reacting an aniline compound of Formula (II) and an carboxylic acid compound of Formula (III) or an activated carboxylic acid compound thereof, to provide a compound of Formula (IV); and (b) converting said protected amine group attached to said compound of Formula (IV) to an amine group to provide said compound of Formula (I); wherein PAm is a protected amine group. Processes to prepare the compounds of Formulae (II), (III), and (IV) are also disclosed.