PostGIS 2.0安装问题
我一直在尝试在我的计算机(Windows 7 32 位)上安装 postgis 2.0,以便从扩展功能中受益。但是我一直无法真正成功安装它。我的 postgreSQL 版本是 9.1.1-1,这是最新的 Windows 32 位二进制版本。
下载 postgis 2.0 时,下载链接包含以下说明:
对于 PostgreSQL 9.1(针对 PostgreSQL 9.1.0 编译 - 注意 beta 1 中的 9.1 结构发生了变化,因此这不适用于 alpha 版本,但应该适用于所有 beta、候选版本和最终 9.1.0 版本)w/Loader /Dumper 包括 GUI。还包括使用新 PostgreSQL 安装的扩展文件
这对我来说意味着我需要获取 postgreSQL 版本 9.1.0 才能使 Postgis 正常运行;但是我找不到这个版本的二进制文件。
我尝试在 9.1.1 postgres 安装上安装,但它失败了(当我运行 .bat 文件时,它只是创建了一系列错误)。
从那时起,我刚刚卸载了 postgres,以确保安装不会因我所有失败的努力而损坏,并删除所有预先存在的数据库,以便它们不会再次出现并可能使我的安装脱轨。
我想我可以尝试从源代码构建,但是 下载页面 声明以下内容关于该选项:
许多人都知道,尝试在 Windows 下构建 PostGIS 二进制文件的人都知道,设置环境是一个耗时的过程,而且通常是一个复杂的过程
不用说,考虑到我从未构建过任何东西,我想不惜一切代价避免这样做从之前的来源。
那么,有谁能够真正在 Windows 系统上安装并运行 postgis 2.0 及其所有功能吗?如果是这样,如果您能与我分享您的安装过程,我将不胜感激,因为我目前完全不知道该怎么做(是的,我阅读了安装程序附带的自述文件)!
I have been trying to install postgis 2.0 on my computer(windows 7 32 bit) in order to benefit from expanded features. However I have been unable to actually get it to install successfully. My version of postgreSQL is 9.1.1-1, the most current windows 32 bit binary available.
When downloading postgis 2.0 the link to the download has the following instructions:
For PostgreSQL 9.1 (compiled against PostgreSQL 9.1.0 - note 9.1 structure changed in beta 1 so this will not work with alpha releases but should be fine for all beta, release candidate releases and final 9.1.0 release) w/ Loader/Dumper including GUI. Also includes extensions files to install using new PostgreSQL
This implies to me that I need to get postgreSQL version 9.1.0 in order for Postgis to function correctly; however I cannot find the binaries for this version.
I tried installing on my 9.1.1 postgres install but it failed abysmally(when I ran the .bat file it just created a cascade stream of errors).
I have since just uninstalled postgres in order to ensure that the install isn't corrupt from all of my failed efforts, and deleted all the preexisting databases so that they will not show up again and possibly derail my install.
I suppose I could try building from source, but the download page states the following with regard to that option:
As many people know who have tried to build PostGIS binaries under windows, its a time consuming process to set up the environment and generally is rocket science
Needless to say I would like to avoid doing this at all costs, considering that I have never built anything from source before.
So, has anyone managed to actually get postgis 2.0 and all of its features up and running on a windows system? If so I would greatly appreciate it if you would share your install process with me as I am currently at a complete loss as to what to do (and yes I read the readmes that came with the installer)!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正如 user1410317 所提到的,
如果您在以下位置下载 Postgresql 的最新版本: http://www.postgresql。 org/download/windows/
安装完成后,系统会要求您继续使用 Stack Builder...(或者您可以随时在 Start/Programs/Postgresql xxx/ 中打开 Stack Builder)窗户。
Stack Builder 向导将指导您安装 Postgresql 扩展程序...只需检查 Postgis 扩展程序即可完成...
非常简单
问候
As mentionned by user1410317,
If you download the last version of Postgresql on at: http://www.postgresql.org/download/windows/
Once done the installation you will be asked to continue with the Stack Builder... (Or you can open Stack Builder at any time going in Start/Programs/Postgresql xxx/) on Windows.
The Stack Builder wizard will guide you on the install process of extension for Postgresql... Just check the Postgis extension and you are done...
Very easy
Regards