ubuntu pgadmin3 源码安装 问题

Ubuntu 10.04的apt里带的pgAdmin是1.14,只能连接pg9.1及以下,但是我要连一个服务器是9.2的,只好装个高版本。结果编译源码安装碰到些问题

OS: Ubuntu 10.04 LTS

pgAdmin: 1.16 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 libpgsql-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-9.2

 


6.wxStyledTextEvent’ has not been declared
没有 进入wxWidgets解压后的目录的contrib/src/stc/目录下编译

 

 

 

补充postgresql9.0源

deb http://ppa.launchpad.net/pitti/postgresql/ubuntu lucid main
deb-src http://ppa.launchpad.net/pitti/postgresql/ubuntu lucid main
 
update 报错:
GPG签名验证错误: http://ppa.launchpad.net hardy Release: 由于没有公钥,下列签名无法进行验证: NO_PUBKEY 6AF0E1940624A220
解决

gpg --keyserver subkeys.pgp.net --recv 99B656EA8683D8A2

gpg --export --armor 99B656EA8683D8A2 | sudo apt-key add -

http://www.cnblogs.com/lexus/archive/2010/10/05/1842924.html 

 

你可能感兴趣的:(ubuntu)