传统的postgis安装方法@dapper

首先下载postgis source code,然后解开:
运行传统的安装方法:
./configure
make
注意若提示缺少相关的lib,如pam,krb5等库,可从库中安装。
然后:
checkinstall -D
sudo dpkg -i
若不想用deb安装,也可以直接:
make install

This entry was posted in Linux, PostGIS and tagged , , . Bookmark the permalink.

One Response to 传统的postgis安装方法@dapper

  1. 陈峰 says:

    博主:您好!
    我装的是postgresql 8.2里面带有postgis,有一个template_postgis数据库名,现在我自己新建了一个数据库mydb没有postgis功能,我想把postgis类型定义,函数定义等扩展内容加载到数据库中,引入postgis支持.
    用了psql -U username -d mydb -f lwpostgis.sql 回车
    说没有这个文件和目录,不知为什么?谢谢!

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please copy the string Wkkb6e to the field below:

以新浪微博帐号登录