Changeset 1612f40 for chapter06/gawk-inst.xml
- Timestamp:
- 10/22/2003 10:26:19 PM (21 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 360e2c4
- Parents:
- 7e55cc4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/gawk-inst.xml
r7e55cc4 r1612f40 4 4 <title>Installation of Gawk</title> 5 5 6 <para>Before installing the Gawk package you have to apply a patch, 7 which fixes the following issues:</para> 6 <para>First apply a patch to fix the following issues:</para> 8 7 9 8 <itemizedlist> 10 <listitem><para>Gawk's default location for libexecdir is <filename 11 class="directory">$prefix/libexecdir/awk</filename>. This location doesn't 12 comply with FHS (which never mentions a directory called 13 libexecdir).</para></listitem> 9 <listitem><para>Gawk's default location for some of its executables is 10 <filename>$prefix/libexec/awk</filename>. This location doesn't comply 11 with the FHS, which never even mentions a directory called 12 <filename>libexec</filename>. The patch makes it possible to pass a 13 <emphasis>--libexecdir</emphasis> switch to the configure script, so that we 14 can use a more appropriate location for the <userinput>grcat</userinput> and 15 <userinput>pwcat</userinput> binaries: 16 <filename>/usr/bin</filename>.</para></listitem> 14 17 15 <listitem><para>The patch allows us to pass 16 <emphasis>--libexecdir</emphasis> to the configure script (without gawk 17 tacking on /awk to the end), so that we can use a more appropriate location 18 for gawk's libexecdir (<filename class="directory">/usr/bin</filename> in 19 the book).</para></listitem> 18 <listitem><para>Gawk's default data directory is 19 <filename>$prefix/share/awk</filename>. But package-specific 20 directories should be named using the package name and version number 21 (for example: <filename>gawk-7.7.2.</filename>) and not simply the package 22 name, as there may be different versions of a package installed on the system. 23 The patch changes the name of the data directory to the correct 24 <filename>$prefix/share/gawk-&gawk-version;</filename>.</para></listitem> 20 25 21 <listitem><para>The default data directory for gawk is <filename 22 class="directory">$prefix/share/awk</filename>. A package specific 23 directory should be named using the package and version (like 24 gawk-&gawk-version; instead of awk) because there may be more than one awk 25 interpreter on a system (and more than one version of gawk). The patch changes 26 this to <filename class="directory">$prefix/share/gawk-&gawk-version;</filename> 27 to be more correct.</para></listitem> 28 29 <listitem><para>The patch ensures that this directory (<filename 30 class="directory">$prefix/share/gawk-&gawk-version;</filename>) is removed along 31 with its contents on a make uninstall.</para></listitem> 26 <listitem><para>The patch also ensures that this data directory, including its 27 contents, is removed on a <emphasis>make uninstall</emphasis>.</para></listitem> 32 28 </itemizedlist> 33 29
Note:
See TracChangeset
for help on using the changeset viewer.