(2)The Collector shall thereupon give notice in writing to the persons interested in such land of the purpose for which the same is needed, and shall, for the occupation and use thereof, for such term as aforesaid, and for the materials (if any) to be taken therefrom, pay to them such compensation, either in a gross sum of money, or by monthly or other periodical payments, as shall be agreed upon in writing between him and such persons respectively.