A long time; the long term; an extended period.
I thought it would be a short project, but now it looks like I'm in it for the long haul.
A long distance
(usually hyphenated) Travelling a long distance.
a long-haul flight
To travel a long distance.
To transport goods over long distances.