Created
March 7, 2012 01:16
-
-
Save rainly/1990246 to your computer and use it in GitHub Desktop.
Installing pgAdmin3 from source on linux(mint)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
准备: | |
libxml2 2.6.18 or above from http://www.xmlsoft.org/ | |
libxslt 1.1.x or above from http://www.xmlsoft.org/ | |
先查看当前系统中是否有安装libxml2,libxslt这两个库,如果没有请到下面的网站中去下载安装 | |
# sudo apt-get install libxml2-dev | |
# sudo apt-get install libxslt1-dev | |
由于安装pgAdmin3需要wxGTK,所以也要下载wxGTK | |
wxGTK 2.8.x from http://www.wxwidgets.org/ | |
pgAdmin3的源码: | |
http://ftp.postgresql.org/pub/pgadmin3/release/v1.14.2/src/pgadmin3-1.14.2.tar.gz | |
# cd /usr/src | |
# sudo wget -c http://cdnetworks-kr-1.dl.sourceforge.net/project/wxwindows/2.8.12/wxGTK-2.8.12.tar.gz | |
# sudo tar -zxvf wxGTK-2.8.12.tar.gz | |
# sudo wget -c http://ftp.postgresql.org/pub/pgadmin3/release/v1.14.2/src/pgadmin3-1.14.2.tar.gz | |
# sudo tar -zxvf pgadmin3-1.14.2.tar.gz | |
# cd /usr/src/pgadmin3-1.14.2/xtra/wx-build | |
# sudo ./build-wxgtk /usr/src/wxGTK-2.8.12 | |
# /usr/local/pgadmin3/bin/pgadmin3 | |
参考:http://git.postgresql.org/gitweb/?p=pgadmin3.git;a=blob;f=INSTALL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment