0
我尝试安装了PostGIS适用于MacOS X和uptil现在这是我得到无法在Mac OS X创建GeoDjango内置空间数据库
PostGIS is now configured for x86_64-apple-darwin10.8.0
-------------- Compiler Info -------------
C compiler: gcc -g -O2
C++ compiler: g++ -g -O2
-------------- Dependencies --------------
GEOS config: /usr/local/bin/geos-config
GEOS version: 3.3.3
PostgreSQL config: /usr/local/pgsql/bin/pg_config
PostgreSQL version: PostgreSQL 9.1.3
PROJ4 version: 48
Libxml2 config: /usr/bin/xml2-config
Libxml2 version: 2.7.3
JSON-C support: yes
PostGIS debug level: 0
Perl: /usr/bin/perl
--------------- Extensions ---------------
PostGIS Raster: disabled
PostGIS Topology: enabled
-------- Documentation Generation --------
xsltproc: /usr/bin/xsltproc
xsl style sheets:
dblatex:
convert:
mathml2.dtd: http://www.w3.org/Math/DTD/mathml2/mathml2.dtd
这是否意味着PostGIS的现在安装?为什么禁用PostGIS Raster?
此外,当我按照tutorial我收到此错误
createdb -E UTF8 template_postgis
createdb: could not connect to database postgres: FATAL: role "root" does not exist
然后我检查的命令
sudo su - postgres
,并为echo $?