您好我正在通过psql在Debian机器上安装PostGis(实际上是crunchbang)。在Debian上安装PostGis时出错
我已经完成以下步骤:
$ 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)
我已经在两台机器上检查过相同的配置,并得到相同的错误。我在这里错过了什么?
以下是一些有用的指示:http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS20Debian70src –