安装步骤:
1.
上传
cmake-2.8.11.2.tar.gz
、
wxGTK-2.8.10.tar.gz
、
pgagent-d6c5a80.tar.gz
、
wxWidgets-2.9.5.zip
2.
如果没有安装
gcc
包,需要安装,如果已安装可忽略此步
rpm -ivh gcc-4.1.2-51.e15
3.
安装
cmake
tar -zxf
cmake-2.8.11.2.tar.gz
cd cmake-2.8.11.2
./bootstrap --prefix /opt/cmake-2.8.11.2
gmake
gmake install
#
增加
cmake bin
目录到环境变量下
vi ~/.bash_profile
export PATH= /opt/cmake-2.8.11.2/bin:$PATH
source ~/.bash_profile
4.
安装
wxGTK
tar -zxf wxGTK-2.8.10.tar.gz
cd wxGTK-2.8.10
. /configure --enable-shared-no --enable-unicode=yes --prefix=/opt/wxGTK2.8.10
make
make install
#
增加
wxGTK
的
bin
目录到环境变量下
vi ~/.bash_profile
export PATH= /opt/wxGTK-2.8.10/bin:$PA
TH
export LD_LIBRARY_PATH=/opt/wxGTK-2.8.10/lib:$LD_LIBRARY_PATH
source ~/.bash_profile
5.
安装
pgagent
切换到
pgagent
的解压目录下
ccmake ./
#
修改截图中的配置项
cmake-install_prefix /opt/pgagent