Red Sox pitcher Chris Carpenter, who came to Boston from the Chicago Cubs as compensation for Theo Epstein, will have surgery to remove a bone spur from his throwing elbow.