- 论坛徽章:
- 0
|
似乎是解决了
又自己琢磨了一下。我用的是官方最新版pgAdmin3-1.8.4。看其安装文档,有如下安装要求:
Linux, FreeBSD, Solaris and other unix variants
-----------------------------------------------
You will need:
- A modern development environment:
- GTK 2.2 or above.
- GNU automake 1.9 or above.
- GNU autoconf 2.59 or above.
- GNU gcc 3.4 or above.
- wxGTK 2.8.x from http://www.wxwidgets.org/
- libxml2 2.6.18 or above from http://www.xmlsoft.org/
- libxslt 1.1.x or above from http://www.xmlsoft.org/
- PostgreSQL 8.1 or above from http://www.postgresql.org/
查看本机安装的关联软件版本没有达到要求。于是卸了已经安装好的PostgreSQL,改装pgAdmin3-1.8.1,成功了。连接数据库,没问题。
需要说明的是:
1、pgAdmin3-1.8.4是源码编译安装,pgAdmin3-1.8.1是rpm包安装
($ rpm -Uvh pgadmin3-1.8.1-1.i586.rpm)
2、虽然卸了已经安装好PostgreSQL成功安装了pgAdmin3-1.8.1,但是我注意到pgAdmin3-1.8.1的README中也有一段话:
Notes:
pgAdmin3 requires wxWidgets (API for writing GUI applications),The
combination of versions of these tools and libraries is sensitive,
therefore, the binary was created statically linked with the versions
listed as under:
Versions being used:
wxWidgets-2.8.6
PostgreSQL-8.2.6(libpq)
As for the running environment, ver 8.1 and 8.2 is also possible.
我怀疑是否我先前安装PostgreSQL-8.2.6时已经安装了pgAdmin3所需的软件包(libpq),虽然后来卸载了PostgreSQL(gmake uninstall),但是pgAdmin3所需的软件包并未随PostgreSQL一起被卸载。
那么就带来一个问题:那个libpq就是包含在PostgreSQL中的pgAdmin3所需的唯一软件包么?用yast查看,只找到libpqxx,并且是未安装!!!彻底晕了!装不上不明白为什么,装上了还是不明白为什么!求各位大大解惑。
[ 本帖最后由 chn2k 于 2008-6-16 00:28 编辑 ] |
|