Hermes
|
Hermes is compiled for the following operating systems:
Hermes requires:
Optional requirements:
$ sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' $ sudo apt-get install wget ca-certificates $ wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - $ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get install postgresql-9.4 postgresql-contrib-9.4 postgresql-server-dev-9.4
$ pg_config --pkglibdir $ /usr/lib/postgresql/9.4/lib $ sudo cp Hermes.so 'pg_config --pkglibdir'
$ sudo -u postgres psql -f script.installation
$ sudo apt-get install postgis $ sudo -u postgres psql -d postgres -c "CREATE EXTENSION postgis;" $ sudo -u postgres psql -d postgres -c "CREATE EXTENSION postgis_topology;" $ sudo -u postgres psql -d postgres -c "CREATE EXTENSION fuzzystrmatch;" $ sudo -u postgres psql -d postgres -c "CREATE EXTENSION postgis_tiger_geocoder;"
If you are compiling the Hermes MOD from source, except from the PostgreSQL you will also need to install the postgresql-server-dev-9.4
sudo apt-get install postgresql-server-dev-9.4
Afterwards insert the project in Eclispe and try to compile it. There might be a possibility that the PostgreSQL was not detected and you will have to change the location of the library. Afterwards try compiling it until you don't get compiler-warnings anymore.