Postgis 2.2.0 on Raspian error

المشرف العام

Administrator
طاقم الإدارة
Installed postgresql 9.4 following this tutorial using the method of already compiled pkg. All seems fine with postgres installation.

testdb=# SELECT name, setting FROM pg_settings where category='File Locations'; name | setting -------------------+------------------------------------------ config_file | /etc/postgresql/9.4/main/postgresql.conf data_directory | /var/lib/postgresql/9.4/main external_pid_file | /var/run/postgresql/9.4-main.pid hba_file | /etc/postgresql/9.4/main/pg_hba.conf ident_file | /etc/postgresql/9.4/main/pg_ident.conf (5 rows) Then tried to install postgis 2.2.0 folowing the steps at this trac page (im fairly new with *nix env's and this build from source stuff stills confusing me a lot so go gentle with me) .


  1. So downloaded postgis-2.2.0.tar.gz in a /temp_postgis and untarred .
  2. List item Folowed steps for install from source in this trac for debian whezzypage

  3. During the install it requested many librarys like geos , proj4 and others that i installed.

Now the problem when in try to create postgis extension it gives me an error and i can see the extension at the pgadmin as option to install extension on databases.

receiving the following error:

testdb=# CREATE EXTENSION postgis; ERROR: could not open extension control file "/usr/share/postgresql/9.4/extension/postgis.control": No such file or directory testdb=# Any clues what could have go wrong ? Regards.



أكثر...
 
أعلى