Dozens of firefighters were injured, authorities said, but no deaths were reported in either country.