The invention provides methods to treat a mycobacterium infection and methods to inhibit mycobacterial polyprenyl pyrophosphate synthesis with a compound of formula I. The invention also provides novel compounds of formula I as well as salts and prodrugs thereof.