首先下载postgis source code,然后解开:
运行传统的安装方法:
./configure
make
注意若提示缺少相关的lib,如pam,krb5等库,可从库中安装。
然后:
checkinstall -D
sudo dpkg -i
若不想用deb安装,也可以直接:
make install
近期评论
分类目录
标签
anjuta apache apache2 backup breezy c++ convert dapper debian dns edgy evolution feisty firefox flash gnome gobang GRASS gutsy humor intrepid Linux mailman MapServer mysql openoffice Oracle php phpbb postfix PostGIS postgresql qgis sarge scim skype subversion svn tomcat ubuntu utf8 westdc Windows wordpress 中文
博主:您好!
我装的是postgresql 8.2里面带有postgis,有一个template_postgis数据库名,现在我自己新建了一个数据库mydb没有postgis功能,我想把postgis类型定义,函数定义等扩展内容加载到数据库中,引入postgis支持.
用了psql -U username -d mydb -f lwpostgis.sql 回车
说没有这个文件和目录,不知为什么?谢谢!