i get the error : Addon 'CUP_Buildings2_config' requires addon 'Cup_Buildings2_Data'
This is not a bug, your mod got corrupted during download. I guess you downloaded it from steam.
Go to your @CUP Terrains - Core Modfolder, delete all cup_terrains_ca_buildings*.pbo files and verify your arma installation.
After you've done that, steam will redownload the missing files and you are good to go.