Haven't got mining technology yet. I can't build on a gold site in my territory, but I can build on an iron ore one. The former cites correctly that I lack the technology. The second simply says an iron mine will cost ten gildar, and as I've got 25, it's highlighted rather than grayed out.