The first sentence needs a comma before but.
The second sentence has the wrong verb. Used in such a way, were says survival is an impossibility, which is obviously not what the writer intended.
It wasn’t winter yet, but it was getting close. He needed to take stock of many things before then if he was to survive.