![]() ![]() ![]() The regression tests are a test suite to verify that PostgreSQL runs on your machine in the way the developers expected it to. If you want to test the newly built server before you install it, you can run the regression tests at this point. If you want to invoke the build from another makefile rather than manually, you must unset MAKELEVEL or set it to zero, for instance like this:įailure to do that can lead to strange error messages, typically about missing header files. If you want to build everything that can be built, including the additional modules ( contrib), but without the documentation, type instead: make world-bin If you want to build everything that can be built, including the documentation (HTML and man pages), and the additional modules ( contrib), type instead: make world (Remember to use GNU make.) The build will take a few minutes depending on your hardware. To start the build, type either of: make make all These provide additional ways to customize the configuration. configure has a large number of options, which are described in Section 17.4.1.Īlso, configure responds to certain environment variables, as described in Section 17.4.2. Typically you would customize the install location, or the set of optional features that are built. You can customize the build and installation process by supplying one or more command line options to configure. All files will be installed under /usr/local/pgsql by default. ![]() The default configuration will build the server and utilities, as well as all client applications and interfaces that require only a C compiler. Here's how: mkdir build_dir cd build_dir /path/to/source/tree/configure make You can also run configure in a directory outside the source tree, and then build there, if you want to keep the build directory separate from the original source files. This script will run a number of tests to determine values for various system dependent variables and detect any quirks of your operating system, and finally will create several files in the build tree to record what it found. ![]() This is done by running the configure script. The first step of the installation procedure is to configure the source tree for your system and choose the options you would like. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |