【发布时间】:2014-01-15 19:17:48
【问题描述】:
我正在 Debian 机器上通过 psql 安装 PostGis(实际上是 crunchbang)。
我已完成以下步骤:
$ wget http://download.osgeo.org/postgis/source/postgis-2.0.3.tar.gz
$ tar xzf postgis-2.0.3.tar.gz
$ cd postgis-2.0.3
$ ./configure
在最后一步我收到以下错误:
configure: error: the PGXS Makefile /usr/lib/postgresql/9.1/lib/pgxs/src/makefiles/pgxs.mk cannot be found. Please install the PostgreSQL server development packages and re-run configure.
问题是我已经安装了 Postgres:
$ psql --version
psql (9.1.9)
我已经在两台具有相同配置的机器上进行了检查,并得到相同的错误。我在这里错过了什么?
【问题讨论】:
标签: postgresql gis postgis