pgpool-II 4.2.3 Documentation | |||
---|---|---|---|
Prev | Up | Chapter 2. Installation of Pgpool-II | Next |
In general, a modern Unix-compatible platform should be able to run Pgpool-II. Windows is not supported.
The following software packages are required for building Pgpool-II:
GNU make version 3.80 or newer is required; other make programs or older GNU make versions will not work. (GNU make is sometimes installed under the name gmake.) To test for GNU make enter:
make --version
You need an ISO/ANSI C compiler (at least C89-compliant). Recent versions of GCC are recommended, but Pgpool-II is known to build using a wide variety of compilers from different vendors.
tar is required to unpack the source distribution, in addition to gzip.
Several packages of PostgreSQL are required to install Pgpool-II. You install postgresql-libs and postgresql-devel packages from rpm.
If you are building from a Git tree instead of using a released source package, or if you want to do server development, you also need the following packages:
Flex and Bison are needed to build from a Git checkout, or if you changed the actual scanner and parser definition files. If you need them, be sure to get Flex 2.5.31 or later and Bison 1.875 or later. Other lex and yacc programs cannot be used.
If you need to get a GNU package, you can find it at your local GNU mirror site (see http://www.gnu.org/order/ftp.html for a list) or at ftp://ftp.gnu.org/gnu/.
Also check that you have sufficient disk space. You will need about 40 MB for the source tree during compilation and about 20 MB for the installation directory. If you are going to run the regression tests you will temporarily need up to an extra 4 GB. Use the df command to check free disk space.