We generally treat Gb and F# as the same note, but if you actually count perfect Pythagorean fifths (frequency ratios of 3:2) in both directions from C, Gb and F# don't actually perfectly meet in the middle!
That's the cause of that famous piece being called the Wohl Temperierte Klavier, those little rounding errors add up, once you have settled on a system that works for everybody by convention Gb and F# have to be the same notes (since there is only the one key for them...).
The circle is a Procrustean bed - the real way to derive the scale is to use a line of fifths that never returns to the starting pitch. Circle any group of seven consecutive fifths, and the group's major scale tonic is the one second from the left. This line goes into double and triple sharps/flats, etc.
"Perfect" pitch isn't necessary, as slight deviations produce interesting sounds related to the "flanger" effect. It's the reason why pianos have more than one string per key: it is the intention that they are slightly detuned, or else you wouldn't hear that there's more than one string.
The deviation should preferably be less than, say, 1Hz, because you hear the difference in frequency as the beat frequency.
We generally treat Gb and F# as the same note, but if you actually count perfect Pythagorean fifths (frequency ratios of 3:2) in both directions from C, Gb and F# don't actually perfectly meet in the middle!