Requirements For Postgresql

  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Requirements For Postgresql as PDF for free.

More details

  • Words: 549
  • Pages: 2
Requirements for PostgreSQL The following software packages are required for building PostgreSQL: •

GNU make is required; other make programs will not work. GNU make is often installed under the name gmake; this document will always refer to it by that name. (On some systems GNU make is the default tool with the name make.) To test for GNU make enter Gmake --version It is recommended to use version 3.76.1 or later. •

You need an ISO/ANSI C compiler. Recent versions of GCC are recommendable, but PostgreSQL is known to build with a wide variety of compilers from different vendors. •

Tar is required to unpack the source distribution in the first place, in addition to either gzip or bzip2. •

The GNU Readline library (for simple line editing and command history retrieval) is used

by default. If you don't want to use it then you must specify the --without-readline option for configure. As an alternative, you can often use the BSD-licensed libedit library, originally developed on NetBSD. The libedit library is GNU Readline-compatible and is used if libreadline is not found, or if --with-libedit-preferred is used as an option to configure. If you are using a package-based Linux distribution, be aware that you need both the readline and readline-devel packages, if those are separate in your distribution. •

The zlib compression library will be used by default. If you don't want to use it then you

must specify the --without-zlib option for configure. Using this option disables support for compressed archives in pg_dump and pg_restore. Not required in the default configuration •

To build the PL/Python server programming language, you need a Python installation

with the header files and the distutils module. The distutils module is included by default with Python 1.6 and later; users of earlier versions of Python will need to install it. Since PL/Python will be a shared library, the libpython library must be a shared library also on most platforms. This is not the case in a default Python installation. If after building and installing you have a file called plpython.so (possibly a different extension), then everything went well. Otherwise you should have seen a notice like this flying by: *** Cannot build PL/Python because libpython is not a shared library. *** You might have to rebuild your Python installation. Refer to

*** The documentation for details. That means you have to rebuild (part of) your Python installation to supply this shared library. If you have problems, run Python 2.3 or later's configure using the --enable-shared flag. On some operating systems you don't have to build a shared library, but you will have to convince the PostgreSQL build system of this. Consult the Make file in the src/pl/plpython directory for details. Also check that you have sufficient disk space. You will need about 65 MB for the source tree during compilation and about 15 MB for the installation directory. An empty database cluster takes about 25 MB; databases take about five times the amount of space that a flat text file with the same data would take. If you are going to run the regression tests you will temporarily need up to an extra 90 MB. Use the df command to check free disk space.

Downloads Postgres-- http://downloads.enterprisedb.com/postgresql/postgresql-8.3.7-1-windows.exe GNU--ftp://ftp.gnu.org/pub/gnu/make/make-3.81.tar.gz Getting The Source--ftp://ftp.postgresql.org/pub/source/v8.0.21/postgresql-8.0.21.tar.gz. http://www.codegear.com/downloads/free/cppbuilder-- compiler

Related Documents

Postgresql
May 2020 12
Postgresql
June 2020 4
Postgresql Pratico.pdf
December 2019 19
Requirements
June 2020 18