@@ -32,9 +32,9 @@ in a standalone-ignore clause.
32
32
<para>
33
33
<synopsis>
34
34
./configure
35
- gmake
35
+ make
36
36
su
37
- gmake install
37
+ make install
38
38
adduser postgres
39
39
mkdir /usr/local/pgsql/data
40
40
chown postgres /usr/local/pgsql/data
@@ -77,14 +77,11 @@ su - postgres
77
77
78
78
<acronym>GNU</> <application>make</> version 3.80 or newer is required; other
79
79
<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>
85
82
<application>make</application> enter:
86
83
<screen>
87
- <userinput>gmake --version</userinput>
84
+ <userinput>make --version</userinput>
88
85
</screen>
89
86
</para>
90
87
</listitem>
@@ -422,7 +419,7 @@ su - postgres
422
419
<userinput>mkdir build_dir</userinput>
423
420
<userinput>cd build_dir</userinput>
424
421
<userinput>/path/to/source/tree/configure [options go here]</userinput>
425
- <userinput>gmake </userinput>
422
+ <userinput>make </userinput>
426
423
</screen>
427
424
</para>
428
425
@@ -1441,7 +1438,7 @@ su - postgres
1441
1438
source code lines. If you get confused while trying to debug
1442
1439
optimized code, recompile the specific files of interest with
1443
1440
<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</>.
1445
1442
</para>
1446
1443
</note>
1447
1444
</step>
@@ -1452,7 +1449,7 @@ su - postgres
1452
1449
<para>
1453
1450
To start the build, type:
1454
1451
<screen>
1455
- <userinput>gmake </userinput>
1452
+ <userinput>make </userinput>
1456
1453
</screen>
1457
1454
(Remember to use <acronym>GNU</> <application>make</>.) The build
1458
1455
will take a few minutes depending on your
@@ -1467,7 +1464,7 @@ All of PostgreSQL is successfully made. Ready to install.
1467
1464
documentation (HTML and man pages), and the additional modules
1468
1465
(<filename>contrib</filename>), type instead:
1469
1466
<screen>
1470
- <userinput>gmake world</userinput>
1467
+ <userinput>make world</userinput>
1471
1468
</screen>
1472
1469
The last line displayed should be:
1473
1470
<screen>
@@ -1490,7 +1487,7 @@ PostgreSQL, contrib and HTML documentation successfully made. Ready to install.
1490
1487
runs on your machine in the way the developers expected it
1491
1488
to. Type:
1492
1489
<screen>
1493
- <userinput>gmake check</userinput>
1490
+ <userinput>make check</userinput>
1494
1491
</screen>
1495
1492
(This won't work as root; do it as an unprivileged user.)
1496
1493
<![%standalone-include[The file
@@ -1518,7 +1515,7 @@ PostgreSQL, contrib and HTML documentation successfully made. Ready to install.
1518
1515
<para>
1519
1516
To install <productname>PostgreSQL</> enter:
1520
1517
<screen>
1521
- <userinput>gmake install</userinput>
1518
+ <userinput>make install</userinput>
1522
1519
</screen>
1523
1520
This will install files into the directories that were specified
1524
1521
in <xref linkend="configure">. Make sure that you have appropriate
@@ -1531,21 +1528,21 @@ PostgreSQL, contrib and HTML documentation successfully made. Ready to install.
1531
1528
<para>
1532
1529
To install the documentation (HTML and man pages), enter:
1533
1530
<screen>
1534
- <userinput>gmake install-docs</userinput>
1531
+ <userinput>make install-docs</userinput>
1535
1532
</screen>
1536
1533
</para>
1537
1534
1538
1535
<para>
1539
1536
If you built the world above, type instead:
1540
1537
<screen>
1541
- <userinput>gmake install-world</userinput>
1538
+ <userinput>make install-world</userinput>
1542
1539
</screen>
1543
1540
This also installs the documentation.
1544
1541
</para>
1545
1542
1546
1543
<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
1549
1546
libraries as they are installed. This will save some space. If
1550
1547
you built with debugging support, stripping will effectively
1551
1548
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.
1560
1557
The standard installation provides all the header files needed for client
1561
1558
application development as well as for server-side program
1562
1559
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
1564
1561
install-all-headers</> command was needed for the latter, but this
1565
1562
step has been folded into the standard install.)
1566
1563
</para>
@@ -1571,10 +1568,10 @@ PostgreSQL, contrib and HTML documentation successfully made. Ready to install.
1571
1568
If you want to install only the client applications and
1572
1569
interface libraries, then you can use these commands:
1573
1570
<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</>
1578
1575
</screen>
1579
1576
<filename>src/bin</> has a few binaries for server-only use,
1580
1577
but they are small.
@@ -1586,7 +1583,7 @@ PostgreSQL, contrib and HTML documentation successfully made. Ready to install.
1586
1583
<formalpara>
1587
1584
<title>Uninstallation:</title>
1588
1585
<para>
1589
- To undo the installation use the command <command>gmake
1586
+ To undo the installation use the command <command>make
1590
1587
uninstall</>. However, this will not remove any created directories.
1591
1588
</para>
1592
1589
</formalpara>
@@ -1596,11 +1593,11 @@ PostgreSQL, contrib and HTML documentation successfully made. Ready to install.
1596
1593
1597
1594
<para>
1598
1595
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
1600
1597
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 </>
1602
1599
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
1604
1601
build for several platforms within the same source tree you must do
1605
1602
this and re-configure for each platform. (Alternatively, use
1606
1603
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.
1612
1609
If you perform a build and then discover that your <command>configure</>
1613
1610
options were wrong, or if you change anything that <command>configure</>
1614
1611
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
1616
1613
rebuilding. Without this, your changes in configuration choices
1617
1614
might not propagate everywhere they need to.
1618
1615
</para>
@@ -1904,7 +1901,7 @@ kill `cat /usr/local/pgsql/data/postmaster.pid`
1904
1901
<listitem>
1905
1902
<para>
1906
1903
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
1908
1905
tests before installation, you should definitely do it now. This
1909
1906
is also explained in the documentation.
1910
1907
</para>
@@ -2358,12 +2355,6 @@ createlang: language installation failed: ERROR: could not load library "/opt/d
2358
2355
</para>
2359
2356
</listitem>
2360
2357
2361
- <listitem>
2362
- <para>
2363
- The GNU make command is called <command>make</command>, not <command>gmake</command>.
2364
- </para>
2365
- </listitem>
2366
-
2367
2358
<listitem>
2368
2359
<para>
2369
2360
The <command>adduser</command> command is not supported; use
@@ -2647,9 +2638,7 @@ PHSS_30849 s700_800 u2comp/be/plugin library Patch
2647
2638
<para>
2648
2639
You need to use the GNU Make program, which is on the Skunkware
2649
2640
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>.
2653
2642
</para>
2654
2643
2655
2644
<para>
@@ -2902,7 +2891,7 @@ AbortTransaction utils/probes.o
2902
2891
CommitTransaction utils/probes.o
2903
2892
ld: fatal: Symbol referencing errors. No output written to postgres
2904
2893
collect2: ld returned 1 exit status
2905
- gmake : *** [postgres] Error 1
2894
+ make : *** [postgres] Error 1
2906
2895
</screen>
2907
2896
your DTrace installation is too old to handle probes in static
2908
2897
functions. You need Solaris 10u4 or newer.
0 commit comments