【发布时间】:2014-11-25 22:01:02
【问题描述】:
我正在尝试在我的 ubuntu 系统上为 django 框架安装 Postgis。但是每次我运行命令 ./configure 时都会出现错误
error: the PGXS Makefile /usr/lib/postgresql/9.3/lib/pgxs/src/makefiles/pgxs.mk cannot be found. Please install the PostgreSQL server development packages and re-run configure.
我已经在我的系统上安装了 postgres 并且还创建了用户。但我无法在我的系统上安装 Postgis。我已经浏览了我在 Internet 上找到的许多说明,但未能安装它。
请告诉我这个错误的解决方案,以便我可以在 ubuntu 上安装 Postgis。 帮助将不胜感激
【问题讨论】:
-
供将来参考,这确实更适合 superuser.com 或 serverfault.com 而不是 stackoverflow.com;查看导览和常见问题解答。
-
你为什么要从头开始构建 postgis?试试apt repository。
-
好的@Craig Ringer,我会在你提到的网站上进一步提问。谢谢
-
@BurhanKhalid 同意,应该只是
apt-get install postgis2_93。见postgis.net/install
标签: django postgresql ubuntu postgis geodjango