A number of compounds and use of the compounds in a method for treating or preventing cancer in a subject by administering to the subject a pharmaceutical composition including a compound of formula I or a pharmaceutically acceptable salt thereof are described. The compounds can also be used to inhibit integrin-linked kinase in a cell, which has an effect on the Akt signaling pathway.