The house I want to buy is landlocked, and the neighbour refuses to let me cross his land. Can I compel him to grant me a right of way?

Yes. Article 682 of the French Civil Code gives the owner of land that has no access to a public road, or insufficient access, the right to claim sufficient passage over neighbouring land in return for compensation proportionate to the damage that may be caused.