Stratmanjimbo, that's why it's important to have multiple things you are learning at the same time. Moving onto other things (other songs, other parts of the song, scales drills, chord drills, etc.) can help prevent a rut, prevent boredom, and ward off frustration.
Try to focus on the positive. Perhaps you haven't mastered a solo yet, but maybe you have the opening lick down. Celebrate that!!! Take great pride and joy in that!! And continue moving foward. You WILL get there.
It's perhaps cliche, but it is very true...learning guitar is a journey, not a destination. Try to take joy in the journey.