以下是安装的东西:
$ sudo apt-get install postgresql-server-dev-8.4 libpq5 libpq-dev
以下是我的config.out的过去:http://pastebin.com/8Nk6pr96
而且,这里有一些我从IRC得到的提示(名字隐藏)
< foo> it's NOT failing to find libpq.
< foo> libpq is present, but not compilable without adding a boatload of other -l flags
< foo> and postgis' configure doesn't let you specify that via LIBS
< foo> his paste contains the config.out, which shows this
配置模具,configure: error: could not find libpq
我打算为mapfish安装postgis:)
答案 0 :(得分:1)
出于好奇,当你从ubuntu maverick宇宙包软件库获得相同的版本时,为什么还要编写你自己的postgis呢?
如果您真的想自己构建它,我建议您在ubuntu上查看postgis的源包。它将有一个描述它的构建过程的debian / rules文件。您可以使用“apt-get source postgis”将源包下载到当前目录,假设您的apt repos包含Universe仓库。