Not meaning to contradict Mark & remember I'm just some random guy on an internet forum however:Ok will do. Any other ac system parts, condenser or anything?
Its an older truck & the compressor has failed so since you're going to the trouble of changing the compressor if it was me I'd replace the condenser and receiver/dryer at the same time and obviously the orifice tube as well. I'd also blow some kind of flush through the lines while you've got everything apart. Personally I just use gunwash but there's more expensive options available if you are so inclined.
BTW - I had exactly the same failure you experienced except that I had really good batteries and I persisted cranking until the truck fired. Then I got a really impressive smoke show while the serpentine belt shredded itself. It all happened while I was stopped for fuel so I had an audience.