If you know the diameter of the sun you should be able to measure the distance by just measuring the size of the sun in the sky and using some simple geometry. I.e. if the sun takes up x degrees of space in the sky then tan(x) = (radius of sun / distance to sun).
But... how do you measure the diameter of the sun?