@@ -32,9 +32,9 @@ in a standalone-ignore clause.
3232 <para>
3333<synopsis>
3434./configure
35- gmake
35+ make
3636su
37- gmake install
37+ make install
3838adduser postgres
3939mkdir /usr/local/pgsql/data
4040chown postgres /usr/local/pgsql/data
@@ -77,14 +77,11 @@ su - postgres
7777
7878 <acronym>GNU</> <application>make</> version 3.80 or newer is required; other
7979 <application>make</> programs or older <acronym>GNU</> <application>make</> versions will <emphasis>not</> work.
80- <acronym>GNU</> <application>make</> is often installed under
81- the name <filename>gmake</filename>; this document will always
82- refer to it by that name. (On some systems
83- <acronym>GNU</acronym> <application>make</> is the default tool with the name
84- <filename>make</>.) To test for <acronym>GNU</acronym>
80+ (<acronym>GNU</> <application>make</> is sometimes installed under
81+ the name <filename>gmake</filename>.) To test for <acronym>GNU</acronym>
8582 <application>make</application> enter:
8683<screen>
87- <userinput>gmake --version</userinput>
84+ <userinput>make --version</userinput>
8885</screen>
8986 </para>
9087 </listitem>
@@ -422,7 +419,7 @@ su - postgres
422419<userinput>mkdir build_dir</userinput>
423420<userinput>cd build_dir</userinput>
424421<userinput>/path/to/source/tree/configure [options go here]</userinput>
425- <userinput>gmake </userinput>
422+ <userinput>make </userinput>
426423</screen>
427424 </para>
428425
@@ -1441,7 +1438,7 @@ su - postgres
14411438 source code lines. If you get confused while trying to debug
14421439 optimized code, recompile the specific files of interest with
14431440 <option>-O0</>. An easy way to do this is by passing an option
1444- to <application>make</>: <command>gmake PROFILE=-O0 file.o</>.
1441+ to <application>make</>: <command>make PROFILE=-O0 file.o</>.
14451442 </para>
14461443 </note>
14471444 </step>
@@ -1452,7 +1449,7 @@ su - postgres
14521449 <para>
14531450 To start the build, type:
14541451<screen>
1455- <userinput>gmake </userinput>
1452+ <userinput>make </userinput>
14561453</screen>
14571454 (Remember to use <acronym>GNU</> <application>make</>.) The build
14581455 will take a few minutes depending on your
@@ -1467,7 +1464,7 @@ All of PostgreSQL is successfully made. Ready to install.
14671464 documentation (HTML and man pages), and the additional modules
14681465 (<filename>contrib</filename>), type instead:
14691466<screen>
1470- <userinput>gmake world</userinput>
1467+ <userinput>make world</userinput>
14711468</screen>
14721469 The last line displayed should be:
14731470<screen>
@@ -1490,7 +1487,7 @@ PostgreSQL, contrib and HTML documentation successfully made. Ready to install.
14901487 runs on your machine in the way the developers expected it
14911488 to. Type:
14921489<screen>
1493- <userinput>gmake check</userinput>
1490+ <userinput>make check</userinput>
14941491</screen>
14951492 (This won't work as root; do it as an unprivileged user.)
14961493 <![%standalone-include[The file
@@ -1518,7 +1515,7 @@ PostgreSQL, contrib and HTML documentation successfully made. Ready to install.
15181515 <para>
15191516 To install <productname>PostgreSQL</> enter:
15201517<screen>
1521- <userinput>gmake install</userinput>
1518+ <userinput>make install</userinput>
15221519</screen>
15231520 This will install files into the directories that were specified
15241521 in <xref linkend="configure">. Make sure that you have appropriate
@@ -1531,21 +1528,21 @@ PostgreSQL, contrib and HTML documentation successfully made. Ready to install.
15311528 <para>
15321529 To install the documentation (HTML and man pages), enter:
15331530<screen>
1534- <userinput>gmake install-docs</userinput>
1531+ <userinput>make install-docs</userinput>
15351532</screen>
15361533 </para>
15371534
15381535 <para>
15391536 If you built the world above, type instead:
15401537<screen>
1541- <userinput>gmake install-world</userinput>
1538+ <userinput>make install-world</userinput>
15421539</screen>
15431540 This also installs the documentation.
15441541 </para>
15451542
15461543 <para>
1547- You can use <literal>gmake install-strip</literal> instead of
1548- <literal>gmake install</literal> to strip the executable files and
1544+ You can use <literal>make install-strip</literal> instead of
1545+ <literal>make install</literal> to strip the executable files and
15491546 libraries as they are installed. This will save some space. If
15501547 you built with debugging support, stripping will effectively
15511548 remove the debugging support, so it should only be done if
@@ -1560,7 +1557,7 @@ PostgreSQL, contrib and HTML documentation successfully made. Ready to install.
15601557 The standard installation provides all the header files needed for client
15611558 application development as well as for server-side program
15621559 development, such as custom functions or data types written in C.
1563- (Prior to <productname>PostgreSQL</> 8.0, a separate <literal>gmake
1560+ (Prior to <productname>PostgreSQL</> 8.0, a separate <literal>make
15641561 install-all-headers</> command was needed for the latter, but this
15651562 step has been folded into the standard install.)
15661563 </para>
@@ -1571,10 +1568,10 @@ PostgreSQL, contrib and HTML documentation successfully made. Ready to install.
15711568 If you want to install only the client applications and
15721569 interface libraries, then you can use these commands:
15731570<screen>
1574- <userinput>gmake -C src/bin install</>
1575- <userinput>gmake -C src/include install</>
1576- <userinput>gmake -C src/interfaces install</>
1577- <userinput>gmake -C doc install</>
1571+ <userinput>make -C src/bin install</>
1572+ <userinput>make -C src/include install</>
1573+ <userinput>make -C src/interfaces install</>
1574+ <userinput>make -C doc install</>
15781575</screen>
15791576 <filename>src/bin</> has a few binaries for server-only use,
15801577 but they are small.
@@ -1586,7 +1583,7 @@ PostgreSQL, contrib and HTML documentation successfully made. Ready to install.
15861583 <formalpara>
15871584 <title>Uninstallation:</title>
15881585 <para>
1589- To undo the installation use the command <command>gmake
1586+ To undo the installation use the command <command>make
15901587 uninstall</>. However, this will not remove any created directories.
15911588 </para>
15921589 </formalpara>
@@ -1596,11 +1593,11 @@ PostgreSQL, contrib and HTML documentation successfully made. Ready to install.
15961593
15971594 <para>
15981595 After the installation you can free disk space by removing the built
1599- files from the source tree with the command <command>gmake
1596+ files from the source tree with the command <command>make
16001597 clean</>. This will preserve the files made by the <command>configure</command>
1601- program, so that you can rebuild everything with <command>gmake </>
1598+ program, so that you can rebuild everything with <command>make </>
16021599 later on. To reset the source tree to the state in which it was
1603- distributed, use <command>gmake distclean</>. If you are going to
1600+ distributed, use <command>make distclean</>. If you are going to
16041601 build for several platforms within the same source tree you must do
16051602 this and re-configure for each platform. (Alternatively, use
16061603 a separate build tree for each platform, so that the source tree
@@ -1612,7 +1609,7 @@ PostgreSQL, contrib and HTML documentation successfully made. Ready to install.
16121609 If you perform a build and then discover that your <command>configure</>
16131610 options were wrong, or if you change anything that <command>configure</>
16141611 investigates (for example, software upgrades), then it's a good
1615- idea to do <command>gmake distclean</> before reconfiguring and
1612+ idea to do <command>make distclean</> before reconfiguring and
16161613 rebuilding. Without this, your changes in configuration choices
16171614 might not propagate everywhere they need to.
16181615 </para>
@@ -1904,7 +1901,7 @@ kill `cat /usr/local/pgsql/data/postmaster.pid`
19041901 <listitem>
19051902 <para>
19061903 Run the regression tests against the installed server (using
1907- <command>gmake installcheck</command>). If you didn't run the
1904+ <command>make installcheck</command>). If you didn't run the
19081905 tests before installation, you should definitely do it now. This
19091906 is also explained in the documentation.
19101907 </para>
@@ -2358,12 +2355,6 @@ createlang: language installation failed: ERROR: could not load library "/opt/d
23582355 </para>
23592356 </listitem>
23602357
2361- <listitem>
2362- <para>
2363- The GNU make command is called <command>make</command>, not <command>gmake</command>.
2364- </para>
2365- </listitem>
2366-
23672358 <listitem>
23682359 <para>
23692360 The <command>adduser</command> command is not supported; use
@@ -2647,9 +2638,7 @@ PHSS_30849 s700_800 u2comp/be/plugin library Patch
26472638 <para>
26482639 You need to use the GNU Make program, which is on the Skunkware
26492640 CD. By default, it installs
2650- as <filename>/usr/local/bin/make</filename>. To avoid confusion
2651- with the SCO <filename>make</filename> program, you may want to rename GNU <filename>make</filename> to
2652- <filename>gmake</filename>.
2641+ as <filename>/usr/local/bin/make</filename>.
26532642 </para>
26542643
26552644 <para>
@@ -2902,7 +2891,7 @@ AbortTransaction utils/probes.o
29022891CommitTransaction utils/probes.o
29032892ld: fatal: Symbol referencing errors. No output written to postgres
29042893collect2: ld returned 1 exit status
2905- gmake : *** [postgres] Error 1
2894+ make : *** [postgres] Error 1
29062895</screen>
29072896 your DTrace installation is too old to handle probes in static
29082897 functions. You need Solaris 10u4 or newer.
0 commit comments