2010-04-01 64 views
2

这里建立PostGIS的1.5.x版本为PG 8.4安装事情:问题在Ubuntu 9.10

$ 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

而你的问题是...? – 2010-04-01 20:34:11

回答

1

只是出于好奇,为什么你会麻烦编译自己的postgis时,从Ubuntu的maverick宇宙包仓库可用相同的版本?

如果你真的想要自己构建它,我会建议在ubuntu上检查postgis的源代码包。它将有一个描述它的构建过程的debian/rules文件。您可以使用“apt-get source postgis”将源代码包下载到当前目录中,假设您的apt套件包含Universe回购。

+0

我刚刚意识到你正在运行9.10,而不是10.10。我仍然会在特立独行的提示中看看postgis的源代码包。 – 2011-02-17 09:58:42