Book Image

PostgreSQL Replication, Second Edition

Book Image

PostgreSQL Replication, Second Edition

Overview of this book

Table of Contents (22 chapters)
PostgreSQL Replication Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Installing SkyTools


SkyTools is an open source package, and can be downloaded freely from pgfoundry.org. For the purpose of this chapter, we have used version 3.2 which can be found at http://pgfoundry.org/frs/download.php/3622/skytools-3.2.tar.gz.

To install the software, we first need to extract the .tar file and run configure. The important thing here is that we have to tell configure where to find pg_config. This is important in order to ensure that SkyTools knows how to compile the code and where to look for libraries.

Tip

The configure command will successfully execute if all the dependencies are met. If you are going to build from Git, you will need git, autoconf, automake, asciidoc, xmlto, and libtool. In addition to these, you will always need rsync, psycopg2, and Python (including the development libraries).

Once this has been executed successfully, we can run make and make install (which might have to be run as root if PostgreSQL has been installed as the root user):

./configure ...