日期:2014-05-16  浏览次数:20383 次

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/目录下编译

?

?