1. Assuming that all of the internal components of the bolt are assembled correctly, place the tip of the firing pin in that convenient hole in the buttstock, push down to compress the striker spring and rotate the safety to the straight up position.
2. Screw the complete firing pin assembly into the bolt body until you see that spring-loaded plunger click into position.
3. Put the bolt back into the rifle and test for correct function of the safety in all positions.
It sounds like the cocking piece is not assembled all the way down onto the end of the striker(firing pin). The end of the striker should be flush with the back of the cocking piece when assembled correctly. Not having the cocking piece on correctly would account for the rifle not firing (the sears are too far apart) and for the safety not working the way it should.