This is a threaded headset? Take the length of the steer tube, and subtract the stack height of the headset and the length of the headtube. For it to fit, the result should be zero, or a few mm above zero.
For chainline/crank/bb compatibility, you need to know what kind of crank you are using. Each crank has a specific bb for a given chainline. Track chainline is usually 42mm (if i remember correctly). Once you get the crank, figure out what length BB spindle will give you this.
For the BB, measure the shell. If 70mm, get ital BB. If 68, get ISO.