Fatal stabbing suspect tried to buy a gun