libbz2-dev libpq-dev libgeos-dev libgeos++-dev libproj-dev \
postgresql-server-dev-9.5 postgresql-9.5-postgis-2.2 postgresql-contrib-9.5 \
apache2 php php-pgsql libapache2-mod-php php-pear php-db \
- git
+ php-intl git
# If you want to run the test suite, you need to install the following
# additional packages:
cd $USERHOME #DOCS:
fi #DOCS:
+# When installing the latest source from github, you also need to
+# download the country grid:
+
+if [ ! -f data/country_osm_grid.sql.gz ]; then #DOCS:
+ wget -O data/country_osm_grid.sql.gz http://www.nominatim.org/data/country_grid.sql.gz
+fi #DOCS:
+
# The code must be built in a separate directory. Create this directory,
# then configure and build Nominatim in there: