aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-02-16 20:49:53 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-02-16 20:49:53 +0000
commitd02c56d5f5dc1d2a8bea323b95acb48cb940051e (patch)
tree3bd064cbb45f1f31fcbf358539df5d8cad5de5d3 /chapter06
parent8b69ae47340020f78d57b1be48a93cf5f507f5d6 (diff)
Update to man-pages-3.5.9.
Incorporate beta FHS. Add /usr/share/ppd, /usr/libexec, /usr/share/color, /usr/local/share/color, /var/lib/color, and /usr/share/dict. Remove overrides for /usr/libexec: coreutils, findutils, gawk, gcc, glibc, inetutils, man-db, and tar. Move grub sbin executables from /usr/sbin to /sbin. Document two new glibc errors in the regression tests. Move man-db after util-linux to satisfy a test dependency in /tools and to speed the test up. Restore building the flex static library. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10469 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/automake.xml16
-rw-r--r--chapter06/chapter06.xml2
-rw-r--r--chapter06/coreutils.xml1
-rw-r--r--chapter06/creatingdirs.xml4
-rw-r--r--chapter06/findutils.xml1
-rw-r--r--chapter06/flex.xml5
-rw-r--r--chapter06/gawk.xml2
-rw-r--r--chapter06/gcc.xml1
-rw-r--r--chapter06/glibc.xml18
-rw-r--r--chapter06/grub.xml1
-rw-r--r--chapter06/inetutils.xml1
-rw-r--r--chapter06/man-db.xml1
-rw-r--r--chapter06/tar.xml3
13 files changed, 26 insertions, 30 deletions
diff --git a/chapter06/automake.xml b/chapter06/automake.xml
index 64323dfe7..e4c862f4e 100644
--- a/chapter06/automake.xml
+++ b/chapter06/automake.xml
@@ -49,11 +49,17 @@
<screen><userinput remap="make">make</userinput></screen>
- <note><para>The tests take a very long time: over 30 SBUs.</para></note>
-
- <para>To test the results, issue:</para>
-
-<screen><userinput remap="test">make check</userinput></screen>
+ <para>There are a couple of tests that incorrectly link to the
+ wrong version of the flex library, so we temporarily work around
+ the problem. Also, using the -j4 make option speeds up the tests, even on
+ systems with only one processor due to internal delays in individual
+ tests. To test the results, issue:</para>
+
+<screen><userinput remap="test">mv -v /usr/lib/libfl.{so,save}
+ln -sv libfl.a /usr/lib/libfl.so
+make -j4 check
+rm -v /usr/lib/libfl.so
+mv -v /usr/lib/libfl.{save,so}</userinput></screen>
<para>Install the package:</para>
diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml
index 842b30a91..7fe9d5ee7 100644
--- a/chapter06/chapter06.xml
+++ b/chapter06/chapter06.xml
@@ -65,7 +65,6 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libpipeline.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="make.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="man-db.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="patch.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sysklogd.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sysvinit.xml"/>
@@ -73,6 +72,7 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="texinfo.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="systemd.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="util-linux.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="man-db.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="vim.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="aboutdebug.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="strippingagain.xml"/>
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml
index 6bed1c8e3..f95ce767b 100644
--- a/chapter06/coreutils.xml
+++ b/chapter06/coreutils.xml
@@ -61,7 +61,6 @@
<screen><userinput remap="configure">FORCE_UNSAFE_CONFIGURE=1 ./configure \
--prefix=/usr \
- --libexecdir=/usr/lib \
--enable-no-install-program=kill,uptime</userinput></screen>
<variablelist>
diff --git a/chapter06/creatingdirs.xml b/chapter06/creatingdirs.xml
index 65553e8d5..9a3713ebf 100644
--- a/chapter06/creatingdirs.xml
+++ b/chapter06/creatingdirs.xml
@@ -18,7 +18,7 @@ mkdir -pv /{media/{floppy,cdrom},sbin,srv,var}
install -dv -m 0750 /root
install -dv -m 1777 /tmp /var/tmp
mkdir -pv /usr/{,local/}{bin,include,lib,sbin,src}
-mkdir -pv /usr/{,local/}share/{doc,info,locale,man}
+mkdir -pv /usr/{,local/}share/{color,dict,doc,info,locale,man}
mkdir -v /usr/{,local/}share/{misc,terminfo,zoneinfo}
mkdir -pv /usr/{,local/}share/man/man{1..8}
for dir in /usr /usr/local; do
@@ -30,7 +30,7 @@ esac
mkdir -v /var/{log,mail,spool}
ln -sv /run /var/run
ln -sv /run/lock /var/lock
-mkdir -pv /var/{opt,cache,lib/{misc,locate},local}</userinput></screen>
+mkdir -pv /var/{opt,cache,lib/{color,misc,locate},local}</userinput></screen>
<para>Directories are, by default, created with permission mode 755, but
this is not desirable for all directories. In the commands above, two
diff --git a/chapter06/findutils.xml b/chapter06/findutils.xml
index 96f9a5133..c7424bf0c 100644
--- a/chapter06/findutils.xml
+++ b/chapter06/findutils.xml
@@ -46,7 +46,6 @@
<para>Prepare Findutils for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \
- --libexecdir=/usr/lib/findutils \
--localstatedir=/var/lib/locate</userinput></screen>
<variablelist>
diff --git a/chapter06/flex.xml b/chapter06/flex.xml
index 4f6cef1f4..45364de3f 100644
--- a/chapter06/flex.xml
+++ b/chapter06/flex.xml
@@ -48,7 +48,6 @@
<para>Prepare Flex for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \
- --disable-static \
--docdir=/usr/share/doc/flex-&flex-version;</userinput></screen>
<para>Compile the package:</para>
@@ -98,7 +97,7 @@ chmod -v 755 /usr/bin/lex</userinput></screen>
<seglistitem>
<seg>flex, flex++ (link to flex), and lex</seg>
- <seg>libfl.so and libfl_pic.so</seg>
+ <seg>libfl.{so,a} and libfl_pic.{so.a}</seg>
<seg>/usr/share/doc/flex-&flex-version;</seg>
</seglistitem>
</segmentedlist>
@@ -143,7 +142,7 @@ chmod -v 755 /usr/bin/lex</userinput></screen>
</varlistentry>
<varlistentry id="libfl.so">
- <term><filename class="libraryfile">libfl.a</filename></term>
+ <term><filename class="libraryfile">libfl.so</filename></term>
<listitem>
<para>The <filename class="libraryfile">flex</filename> library</para>
<indexterm zone="ch-system-flex libfl.so">
diff --git a/chapter06/gawk.xml b/chapter06/gawk.xml
index 3db79a01c..6328b2c4c 100644
--- a/chapter06/gawk.xml
+++ b/chapter06/gawk.xml
@@ -42,7 +42,7 @@
<para>Prepare Gawk for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
<para>Compile the package:</para>
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index a418f43a7..7fe9fe94d 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -72,7 +72,6 @@ cd ../gcc-build</userinput></screen>
<screen><userinput remap="configure">SED=sed \
../gcc-&gcc-version;/configure --prefix=/usr \
- --libexecdir=/usr/lib \
--enable-shared \
--enable-threads=posix \
--enable-__cxa_atexit \
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index 343b5a17a..4d198ca1b 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -77,22 +77,12 @@ cd ../glibc-build</userinput></screen>
--prefix=/usr \
--disable-profile \
--enable-kernel=&min-kernel; \
- --libexecdir=/usr/lib/glibc \
--enable-obsolete-rpc</userinput></screen>
<variablelist>
<title>The meaning of the new configure options:</title>
<varlistentry>
- <term><parameter>--libexecdir=/usr/lib/glibc</parameter></term>
- <listitem>
- <para>This changes the location of some auxillary files from the
- default of <filename class="directory">/usr/libexec</filename> to
- <filename class="directory">/usr/lib/glibc</filename>.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
<term><parameter>--enable-obsolete-rpc</parameter></term>
<listitem>
<para>Installs NIS and RPC related headers that are not installed by
@@ -156,8 +146,14 @@ grep Error glibc-check-log</userinput></screen>
</listitem>
<listitem>
+ <para>libio/tst-ftell-partial-wide.out fails because it needs a locale
+ that has not yet been generated.</para>
+ </listitem>
+
+ <listitem>
<para>Other tests known to fail on some architectures are posix/bug-regex32,
- misc/tst-writev, elf/check-textrel, nptl/tst-getpid2, and stdio-common/bug22.</para>
+ misc/tst-writev, elf/check-textrel, nptl/tst-getpid2, nptl/tst-robust8,
+ and stdio-common/bug22.</para>
</listitem>
</itemizedlist>
diff --git a/chapter06/grub.xml b/chapter06/grub.xml
index 6354a4777..7941debd6 100644
--- a/chapter06/grub.xml
+++ b/chapter06/grub.xml
@@ -47,6 +47,7 @@
<para>Prepare GRUB for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \
+ --sbindir=/sbin \
--sysconfdir=/etc \
--disable-grub-emu-usb \
--disable-efiemu \
diff --git a/chapter06/inetutils.xml b/chapter06/inetutils.xml
index 136b6383f..639d04da9 100644
--- a/chapter06/inetutils.xml
+++ b/chapter06/inetutils.xml
@@ -48,7 +48,6 @@
<para>Prepare Inetutils for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \
- --libexecdir=/usr/sbin \
--localstatedir=/var \
--disable-logger \
--disable-syslogd \
diff --git a/chapter06/man-db.xml b/chapter06/man-db.xml
index 196f41dd3..372ee08aa 100644
--- a/chapter06/man-db.xml
+++ b/chapter06/man-db.xml
@@ -44,7 +44,6 @@
<para>Prepare Man-DB for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \
- --libexecdir=/usr/lib \
--docdir=/usr/share/doc/man-db-&man-db-version; \
--sysconfdir=/etc \
--disable-setuid \
diff --git a/chapter06/tar.xml b/chapter06/tar.xml
index f02d88867..c3c3c0738 100644
--- a/chapter06/tar.xml
+++ b/chapter06/tar.xml
@@ -48,8 +48,7 @@
<screen><userinput remap="configure">FORCE_UNSAFE_CONFIGURE=1 \
./configure --prefix=/usr \
- --bindir=/bin \
- --libexecdir=/usr/sbin</userinput></screen>
+ --bindir=/bin</userinput></screen>
<variablelist>
<title>The meaning of the configure options:</title>