Retail solutions specialist Alphameric Retail has bought the Compass Software Group in a deal worth £9.1 million.