[ Pobierz całość w formacie PDF ]
.Since groff does no recoding of input characters, the formatted result is really in the same encoding as input, and therefore it is usable as the input for a pager.This does not solve the problem of a non-working man2dvi program for localized man pages in non-ISO8859-1 locales.Also, it does not work with multibyte character sets.The first problem does not currently have a solution.The second issue is not of concern because the LFS installation does not support multibyte character sets.Additional information with regards to the compression of man and info pages can be found in the BLFS bookat http://www.linuxfromscratch.org/blfs/view/cvs/postlfs/compressdoc.html.6.48.2.Contents of ManInstalled programs: apropos, makewhatis, man, man2dvi, man2html, and whatisShort DescriptionsaproposSearches the whatis database and displays the short descriptions of system commands thatcontain a given stringmakewhatisBuilds the whatis database; it reads all the man pages in the MANPATH and writes the nameand a short description in the whatis database for each pagemanFormats and displays the requested on-line man pageman2dviConverts a man page into dvi formatman2htmlConverts a man page into HTMLwhatisSearches the whatis database and displays the short descriptions of system commands thatcontain the given keyword as a separate word182Linux From Scratch - Version 6.16.49.Make-3.80The Make package contains a program for compiling packages.Approximate build time: 0.2 SBURequired disk space: 7.1 MBInstallation depends on: Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc, Grep, and Sed6.49.1.Installation of MakePrepare Make for compilation:./configure --prefix=/usrCompile the package:makeTo test the results, issue: make check.Install the package:make install6.49.2.Contents of MakeInstalled program: makeShort DescriptionsmakeAutomatically determines which pieces of a package need to be (re)compiled and then issues therelevant commands183Linux From Scratch - Version 6.16.50.Module-Init-Tools-3.1The Module-Init-Tools package contains programs for handling kernel modules in Linux kernels greater than or equal to version 2.5.47.Approximate build time: 0.1 SBURequired disk space: 4.9 MBInstallation depends on: Bash, Binutils, Bison, Coreutils, Diffutils, Flex, GCC, Glibc, Grep, M4, Make, and Sed6.50.1.Installation of Module-Init-ToolsModule-Init-Tools attempts to rewrite its modprobe.conf man page during the build process.This isunnecessary and also relies on docbook2man — which is not installed in LFS.Run the following command to avoid this:touch modprobe.conf.5Prepare Module-Init-Tools for compilation:./configure --prefix="" --enable-zlibThe meaning of the configure options:--enable-zlibThis allows the Module-Init-Tools package to handle compressed kernel modules.Compile the package:makeTo test the results, issue: make check.Install the package:make install6.50.2.Contents of Module-Init-ToolsInstalled programs: depmod, insmod, insmod.static, lsmod (link to insmod), modinfo, modprobe (link to insmod), and rmmod (link to insmod)Short DescriptionsdepmodCreates a dependency file based on the symbols it finds in the existing set of modules; thisdependency file is used by modprobe to automatically load the required modulesinsmodInstalls a loadable module in the running kernelinsmod.staticA statically compiled version of insmod184Linux From Scratch - Version 6.1lsmodLists currently loaded modulesmodinfoExamines an object file associated with a kernel module and displays any information thatit can gleanmodprobeUses a dependency file, created by depmod, to automatically load relevant modulesrmmodUnloads modules from the running kernel185Linux From Scratch - Version 6.16.51.Patch-2.5.4The Patch package contains a program for modifying or creating files by applying a “patch” file typicallycreated by the diff program.Approximate build time: 0.1 SBURequired disk space: 1.5 MBInstallation depends on: Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, and Sed6.51.1.Installation of PatchPrepare Patch for compilation.The preprocessor flag -D_GNU_SOURCE is only needed on the PowerPCplatform.It can be left it out on other architectures:CPPFLAGS=-D_GNU_SOURCE./configure --prefix=/usrCompile the package:makeThis package does not come with a test suite.Install the package:make install6.51.2.Contents of PatchInstalled program: patchShort DescriptionspatchModifies files according to a patch file.A patch file is normally a difference listing created with thediff program
[ Pobierz całość w formacie PDF ]