A theoretical treatment of the sliding of glaciers in the absense of cavitation