2010-04-01 51 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