If you plan to contribute code, pgAdmin3 requires wxWidgets 2.6.0. Use a recent GNU/Linux distro because recent versions of GTK2.2, automake and autoconf are needed. You will also need a copy of PostgreSQL on your development system to link libpq. We recommend using libpq 7.4 or newer, compiled with --enable-thread-safety.
Download wxWidgets 2.6.0 from the wxWidgets website.
# wget http://heanet.dl.sourceforge.net/sourceforge/wxWidgets/wxGTK-2.6.0.tar.gz # tar -zxf wxGTK-2.6.0.tar.gz
Install wxWidgets from source as follows:
# cd wxWidgets-2.6.0 # ./configure --with-gtk --enable-gtk2 --enable-unicode --disable-shared --enable-debug # make # make install # ldconfig
Install the wxWidgets Styled Text Control as follows:
# cd contrib/src/stc # make # make install # ldconfig
Download and unpack the pgAdmin source code.
If you wish to use SVN code: # svn co svn://svn.pgadmin.org/trunk/pgadmin3 # cd pgadmin3 # sh bootstrap or, if you wish to use the latest source tarball: # wget http://www.pgadmin.org/snapshots/pgadmin3-src.tar.gz # tar -zxvf pgadmin3-src.tar.gz # cd pgadmin3 Now the source is downloaded: # ./configure --enable-static --enable-debug # make all # make install
If you are compiling on FreeBSD, please see these additional notes.