Making linings by compacting a refractory mass in the space defined by a backing mould or pattern and the furnace wall