您好我正在通過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 –