[postgis-users] PostGIS installation problem

White, Richard Richard.White at infoterra-global.com
Mon Dec 10 01:01:45 PST 2012


I am having a problem Installing PostGIS 1.5.8 or 2.0.2 on RHEL 6.1 by
compiling from source.

Compiling with the configuration "./configure
--with-pgsql=/usr/local/pgsql/bin/pg_config" works fine.

The problem is the Post Compile PostGIS Configuration.

"/usr/local/pgsql/bin/createlang plpgsql test" This works ok.

"/usr/local/pgsql/bin/psql -d test -f
/usr/local/pgsql/share/postgresql/contrib/postgis.sql" This fails with
the following error message;

"psql:/usr/share/pgsql/contrib/postgis-2.0/postgis.sql:3368: ERROR:
current transaction is aborted, commands ignored until end of
transaction block"

The above has worked on Ubuntu and SUSE in the past.

Any ideas or advice.



Infoterra Ltd. Is part of the Astrium GEO-Information Services Division and a wholly owned subsidiary of Astrium, Europe's leading space systems and services specialist.

Disclaimer. The information contained in this e-mail and its attachments are confidential and intended only for the use of the named addressee(s). If you are not the intended addressee, please do not read, copy, use or disclose this message or its attachments. If you have received this message in error, please notify the sender immediately and delete or destroy all copies of this message and attachments in all media. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Infoterra Ltd and shall not form part of any binding agreement.

Infoterra Limited a company registered in England under number 2359955 and having its registered office at Atlas House, 41 Wembley Road, Leicester, LE3 1UT. VAT number GB 476 0468 27. 

P Before printing, think about the environment 

More information about the postgis-users mailing list