Free web servers - CHAPTER 25 INSTALLING POSTGRESQL 583 %> ./configure

CHAPTER 25 INSTALLING POSTGRESQL 583 %> ./configure –without-docdir Table 25-1 offers a list of some of the more commonplace configuration options. A complete list of configuration options is available by executing configure as follows (note that two dashes precede the help option, which may be difficult to distinguish in print): %> ./configure –help Table 25-1. Useful Configuration Options Option Description –prefix=prefix Install PostgreSQL in the directory specified by prefix. The default directory is /usr/local/pgsql. –bindir=dir Install the application directories in the directory specified by dir. The default directory is prefix/bin. –datadir=dir Designate the data directory as dir. The default directory is prefix/XXX. –with-docdir=dir Install documentation in the directory specified by dir. The default directory is prefix/doc. –without-docdir Do not install the documentation. –with-perl Enable support for Perl-based stored procedures (Pl/Perl). –with-pgport=port Set PostgreSQL s default port to port. –with-python Enable support for Python-based stored procedures (Pl/Python). –with-tcl Enable support for Tcl-based stored procedures (P/Tcl). Therefore, to install PostgreSQL from source, simply execute configure with any appropriate options, execute make, and then change to the superuser and execute make install. Note To minimize the amount of installation space, some Linux variants do not install the readline-devel and zlib-devel packages by default. Because the availability of Readline improves the psql client s capabilities, and zlib is used to compress dumped data, you need to install them if you receive messages during the configuration step indicating the script s inability to locate them. If they are by chance installed in a nonstandard location, you can use the option –with-libs to point to them. If you choose to forego these capabilities, pass –without-readline and –without-zlib when configuring PostgreSQL. Linux Post-Installation Steps Once PostgreSQL has been successfully installed on the Linux/Unix operating system, you need to carry out a few more steps before the database server is fully operational. Those steps are outlined in this section.
Visit our web design programs services for an affordable and reliable webhost to suit all your needs.

Leave a Reply