setup postgresql and compile postgis from scratch