France and Spain have deployed thousands of firefighters, and neighbouring countries have sent help.