- Timestamp:
- 10/19/2005 09:52:55 PM (19 years ago)
- Branches:
- 6.1.1
- Children:
- 8be85e4
- Parents:
- 1d09f12
- Location:
- chapter06
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/bash.xml
r1d09f12 re925d78a 50 50 <varlistentry> 51 51 <term><parameter>--with-installed-readline</parameter></term> 52 <listitem><para>This option stells Bash to use the52 <listitem><para>This option tells Bash to use the 53 53 <filename class="libraryfile">readline</filename> library that is already installed 54 54 on the system rather than using its own readline version.</para></listitem> -
chapter06/coreutils.xml
r1d09f12 re925d78a 81 81 <screen><userinput>make install</userinput></screen> 82 82 83 <para>Move programs to the proper locations:</para> 84 85 <screen><userinput>mv -v /usr/bin/{[,basename,cat,chgrp,chmod,chown,cp,dd,df} /bin 86 mv -v /usr/bin/{date,echo,false,head,hostname,install,ln} /bin 87 mv -v /usr/bin/{ls,mkdir,mknod,mv,pwd,rm,rmdir,sync} /bin 88 mv -v /usr/bin/{sleep,stty,test,touch,true,uname} /bin 83 <para>Move programs to the locations specified by the FHS:</para> 84 85 <screen><userinput>mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} /bin 86 mv -v /usr/bin/{false,hostname,ln,ls,mkdir,mknod,mv,pwd,rm} /bin 87 mv -v /usr/bin/{rmdir,stty,sync,true,uname} /bin 89 88 mv -v /usr/bin/chroot /usr/sbin</userinput></screen> 90 89 91 <para>Finally, create a symlink to be FHS-compliant:</para> 92 93 <screen><userinput>ln -sv ../../bin/install /usr/bin</userinput></screen> 90 <para>Some of the scripts in the LFS-Bootscripts package depend on 91 <command>head</command> and <command>sleep</command>. As 92 <filename class="directory">/usr</filename> may not be available during the 93 early stages of booting, those binaries need to be on the root partition:</para> 94 95 <screen><userinput>mv -v /usr/bin/{head,sleep} /bin</userinput></screen> 94 96 95 97 </sect2> -
chapter06/findutils.xml
r1d09f12 re925d78a 37 37 --localstatedir=/var/lib/locate</userinput></screen> 38 38 39 <para>The <parameter>localstatedir</parameter> option above changes the 40 location of the <command>locate</command> database to be in <filename 41 class="directory">/var/lib/locate</filename>, which is FHS-compliant.</para> 39 <para>The meaning of the configure options:</para> 40 41 <variablelist> 42 <varlistentry> 43 <term><parameter>--localstatedir</parameter></term> 44 <listitem><para>This option changes the location of the <command>locate</command> 45 database to be in <filename class="directory">/var/lib/locate</filename>, which 46 is FHS-compliant.</para></listitem> 47 </varlistentry> 48 </variablelist> 42 49 43 50 <para>Compile the package:</para> -
chapter06/flex.xml
r1d09f12 re925d78a 86 86 <segtitle>Installed programs</segtitle> 87 87 <segtitle>Installed library</segtitle> 88 <seglistitem><seg>flex ,lex</seg>88 <seglistitem><seg>flex and lex</seg> 89 89 <seg>libfl.a</seg></seglistitem> 90 90 </segmentedlist> -
chapter06/gzip.xml
r1d09f12 re925d78a 124 124 <term><command>zcat</command></term> 125 125 <listitem> 126 <para> Uncompresses the given gzipped files to standard output</para>126 <para>Decompresses the given gzipped files to standard output</para> 127 127 <indexterm zone="ch-system-gzip zcat"><primary sortas="b-zcat">zcat</primary></indexterm> 128 128 </listitem> -
chapter06/linux-libc-headers.xml
r1d09f12 re925d78a 71 71 <term><filename class="headerfile">/usr/include/{asm,linux}/*.h</filename></term> 72 72 <listitem> 73 <para>The Linux headers API</para>73 <para>The Linux API headers</para> 74 74 <indexterm zone="ch-system-linux-libc-headers linux-libc-headers"><primary sortas="e-/usr/include/{asm,linux}/*.h">/usr/include/{asm,linux}/*.h</primary></indexterm> 75 75 </listitem> -
chapter06/perl.xml
r1d09f12 re925d78a 41 41 <varlistentry> 42 42 <term><parameter>-Dpager="/bin/less -isR"</parameter></term> 43 <listitem><para>This corrects an error in the way that the <command>perldoc</command> 44 command invokes the <command>less</command> program.</para></listitem> 43 <listitem><para>This corrects an error in the way that 44 <command>perldoc</command> invokes the <command>less</command> program.</para> 45 </listitem> 45 46 </varlistentry> 46 47 </variablelist> -
chapter06/pwdgroup.xml
r1d09f12 re925d78a 53 53 54 54 <para>The created groups are not part of any standard—they are groups 55 decided on in part by the requirements of the Udev configuration in th e next56 section, and in part by common convention employed by a number of existing Linux55 decided on in part by the requirements of the Udev configuration in this 56 chapter, and in part by common convention employed by a number of existing Linux 57 57 distributions. The Linux Standard Base (LSB, available at <ulink 58 58 url="http://www.linuxbase.org"/>) recommends only that, besides the group -
chapter06/shadow.xml
r1d09f12 re925d78a 34 34 <screen><userinput>./configure --libdir=/lib --enable-shared</userinput></screen> 35 35 36 <para> Remove the installation of the <command>groups</command> program, and its man page as37 Coreutils provides a better version:</para>36 <para>Disable the installation of the <command>groups</command> program and 37 its man page, as Coreutils provides a better version:</para> 38 38 39 39 <screen><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile -
chapter06/texinfo.xml
r1d09f12 re925d78a 145 145 <term><command>texi2pdf</command></term> 146 146 <listitem> 147 <para>Create a PDF file from a Texinfo file.</para> 147 <para>Used to format the given Texinfo document into a 148 Portable Document Format (PDF) file</para> 148 149 <indexterm zone="ch-system-texinfo texi2pdf"><primary sortas="b-texi2pdf">texi2pdf</primary></indexterm> 149 150 </listitem> -
chapter06/vim.xml
r1d09f12 re925d78a 39 39 <filename>vim-&vim-version;.tar.bz2</filename> and (optionally) 40 40 <filename>vim-&vim-version;-lang.tar.gz</filename> archives into the 41 same directory. Then, change the default locations of the 42 <filename>vimrc</filename> and <filename>gvimrc</filename> 43 configuration files to <filename 41 same directory. Then, change the default location of the 42 <filename>vimrc</filename> configuration file to <filename 44 43 class="directory">/etc</filename>:</para> 45 44 46 <screen><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h 47 echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' >> src/feature.h</userinput></screen> 48 49 <para>Vim has a security vulnerability already addressed upstream. The 50 following patch fixes the problem:</para> 45 <screen><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h</userinput></screen> 46 47 <para>Vim has two known security vulnerabilities that have already been 48 addressed upstream. The following patch fixes the problems:</para> 51 49 52 50 <screen><userinput>patch -Np1 -i ../&vim-security_fix-patch;</userinput></screen> … … 56 54 <screen><userinput>./configure --prefix=/usr --enable-multibyte</userinput></screen> 57 55 58 <para>The optional but highly recommended 59 <parameter>--enable-multibyte</parameter> switch includes support for 60 editing files in multibyte character encodings into 61 <command>vim</command>. This is needed if using a locale with 62 a multibyte character set. This switch is also helpful to be able to 63 edit text files initially created in Linux distributions like Fedora 64 Core that use UTF-8 as a default character set.</para> 56 <para>The meaning of the configure options:</para> 57 58 <variablelist> 59 <varlistentry> 60 <term><parameter>--enable-multibyte</parameter></term> 61 <listitem><para>This optional but highly recommended switch enables support for 62 editing files in multibyte character encodings. This is needed if using a 63 locale with a multibyte character set. This switch is also helpful to be able to 64 edit text files initially created in Linux distributions like Fedora Core that 65 use UTF-8 as a default character set.</para> 66 </listitem> 67 </varlistentry> 68 </variablelist> 65 69 66 70 <para>Compile the package:</para> -
chapter06/zlib.xml
r1d09f12 re925d78a 93 93 <term><filename class="libraryfile">libz</filename></term> 94 94 <listitem> 95 <para>Contains compression and un-compression95 <para>Contains compression and decompression 96 96 functions used by some programs</para> 97 97 <indexterm zone="ch-system-zlib libz"><primary sortas="c-libz">libz</primary></indexterm>
Note:
See TracChangeset
for help on using the changeset viewer.