以下是已安装的内容:
$ 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 :)
发布于 2011-02-17 17:54:49
出于好奇,既然可以从ubuntu maverick宇宙包库获得相同版本的postgis,为什么还要费心去编译自己的postgis呢?
如果你真的想自己构建它,我建议你在ubuntu上查看postgis的源码包。它将有一个描述其构建过程的debian/rules文件。你可以使用" apt -get source postgis“将源码包下载到当前目录下,假设你的apt repos中包含了语义库。
https://stackoverflow.com/questions/2563434
复制相似问题