The RSS
在Ubuntu下编译安装pgAdmin
原文链接:https://8gua.me/mental/entry/228/my_weblog
分类:(未分类)
TAG:
本文被浏览了199次
作者:猛禽 | 2011-11-24 16:06:00 | 0评

Ubuntu 10.04的apt里带的pgAdmin是1.10,只能连接pg8.4及以下,但是我要连一个服务器是9.1的,只好装个高版本。结果编译源码安装碰到些问题,google了英文资料也不多,自己试了几下解决的。记录一下:

OS: Ubuntu 10.04 LTS
pgAdmin: 1.14 source code

Install:

./configure
make
make install

Trouble shooting:

1. configure: error: Could not find your PostgreSQL installation. You might need to use the --with-pgsql=DIR configure option

apt-get install libpg-dev

2. configure: error: Could not find your wxWidgets installation. You might need to use the --with-wx=DIR configure option

apt-get install wx-common libwxgtk2.8-dev

3. configure: error: Could not find your libxml2 installation. You might need to use the --with-libxml2=DIR configure option

apt-get install libxml2-dev

4. configure: error: Could not find your libxslt installation. You might need to use the --with-libxslt=DIR configure option

apt-get install libxslt1-dev

5. ./db/keywords.c:33:27: error: parser/kwlist.h:...

apt-get install postgresql-server-dev-8.4

推送到[go4pro.org]

为了保证评论的有效性,我们需要对评论做出审核后进行发布。另外敬请在表单的Approved字段中随便填写一些东西——这是为了防止spam。

Ver 2.0,2009 - 2012,Go4Pro.org
知识共享许可协议
Go4Pro.org is licensed under a Creative Commons 署名-非商业性使用-相同方式共享 3.0 Unported License.
Go4Pro老版请访问:legacy.go4pro.org | Q & A

Valid XHTML 1.0 Transitional  Valid CSS!