Changeset 586feb7 in clfs-sysroot for BOOK/final-system/common
- Timestamp:
- Jul 2, 2006, 12:45:15 PM (18 years ago)
- Branches:
- master
- Children:
- 940e6b3
- Parents:
- 89c10a9
- Location:
- BOOK/final-system/common
- Files:
-
- 48 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/autoconf.xml
r89c10a9 r586feb7 28 28 <para os="a">Prepare Autoconf for compilation:</para> 29 29 30 <screen os="b"><userinput>./configure --prefix=/usr --host=${ LFS_TARGET}</userinput></screen>30 <screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen> 31 31 32 32 <para os="c">Compile the package:</para> … … 36 36 <para os="e">Install the package:</para> 37 37 38 <screen os="f"><userinput>make DESTDIR=${ LFS} install</userinput></screen>38 <screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 39 39 40 40 </sect2> -
BOOK/final-system/common/automake.xml
r89c10a9 r586feb7 28 28 <para os="a">Prepare Automake for compilation:</para> 29 29 30 <screen os="b"><userinput>./configure --prefix=/usr --host=${ LFS_TARGET}</userinput></screen>30 <screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen> 31 31 32 32 <para os="c">Compile the package:</para> … … 36 36 <para os="e">Install the package:</para> 37 37 38 <screen os="f"><userinput>make DESTDIR=${ LFS} install</userinput></screen>38 <screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 39 39 40 40 </sect2> -
BOOK/final-system/common/bash.xml
r89c10a9 r586feb7 47 47 48 48 <screen os="f"><userinput>./configure --prefix=/usr --bindir=/bin \ 49 --host=${ LFS_TARGET} --cache-file=config.cache \49 --host=${CLFS_TARGET} --cache-file=config.cache \ 50 50 --without-bash-malloc --with-installed-readline</userinput></screen> 51 51 … … 70 70 <para os="j">Install the package:</para> 71 71 72 <screen os="k"><userinput>make DESTDIR=${ LFS} install</userinput></screen>72 <screen os="k"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 73 73 74 74 <para os="l">Create /bin/sh:</para> 75 75 76 <screen os="m" role="nodump"><userinput>ln -sv bash ${ LFS}/bin/sh</userinput></screen>76 <screen os="m" role="nodump"><userinput>ln -sv bash ${CLFS}/bin/sh</userinput></screen> 77 77 78 78 </sect2> -
BOOK/final-system/common/binutils.xml
r89c10a9 r586feb7 40 40 41 41 <screen os="d"><userinput>../binutils-&binutils-version;/configure --prefix=/usr \ 42 --build=${ LFS_HOST} --host=${LFS_TARGET} \43 --target=${ LFS_TARGET} --enable-shared</userinput></screen>42 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 43 --target=${CLFS_TARGET} --enable-shared</userinput></screen> 44 44 45 45 <para os="e">Compile the package:</para> … … 76 76 <para os="j">Install the package:</para> 77 77 78 <screen os="k"><userinput>make DESTDIR=${ LFS} tooldir=/usr install</userinput></screen>78 <screen os="k"><userinput>make DESTDIR=${CLFS} tooldir=/usr install</userinput></screen> 79 79 80 80 <para os="l">Install the <filename class="headerfile">libiberty</filename> header 81 81 file that is needed by some packages:</para> 82 82 83 <screen os="m"><userinput>cp -v ../binutils-&binutils-version;/include/libiberty.h ${ LFS}/usr/include</userinput></screen>83 <screen os="m"><userinput>cp -v ../binutils-&binutils-version;/include/libiberty.h ${CLFS}/usr/include</userinput></screen> 84 84 85 85 </sect2> -
BOOK/final-system/common/bison.xml
r89c10a9 r586feb7 27 27 <para os="a">Prepare Bison for compilation:</para> 28 28 29 <screen os="b"><userinput>./configure --prefix=/usr --host=${ LFS_TARGET}</userinput></screen>29 <screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen> 30 30 31 31 <para os="b1">The configure system causes bison to be built without support … … 42 42 <para os="e">Install the package:</para> 43 43 44 <screen os="f"><userinput>make DESTDIR=${ LFS} install</userinput></screen>44 <screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 45 45 46 46 </sect2> -
BOOK/final-system/common/bzip2.xml
r89c10a9 r586feb7 68 68 <note os="f"> 69 69 <para>If reinstalling Bzip2, perform 70 <userinput>rm -vf ${ LFS}/usr/bin/bz*</userinput> first, otherwise the71 following <command>make PREFIX=${ LFS}/usr install</command> will fail.</para>70 <userinput>rm -vf ${CLFS}/usr/bin/bz*</userinput> first, otherwise the 71 following <command>make PREFIX=${CLFS}/usr install</command> will fail.</para> 72 72 </note> 73 73 74 74 <para os="g">Install the programs:</para> 75 75 76 <screen os="h"><userinput>make PREFIX=${ LFS}/usr install</userinput></screen>76 <screen os="h"><userinput>make PREFIX=${CLFS}/usr install</userinput></screen> 77 77 78 78 <para os="i">Install the shared <command>bzip2</command> binary into the … … 80 80 some necessary symbolic links, and clean up:</para> 81 81 82 <screen os="j"><userinput>cp -v bzip2-shared ${ LFS}/bin/bzip283 cp -av libbz2.so* ${ LFS}/lib84 ln -sv ../../lib/libbz2.so.1.0 ${ LFS}/usr/lib/libbz2.so85 rm -v ${ LFS}/usr/bin/{bunzip2,bzcat,bzip2}86 ln -sv bzip2 ${ LFS}/bin/bunzip287 ln -sv bzip2 ${ LFS}/bin/bzcatt</userinput></screen>82 <screen os="j"><userinput>cp -v bzip2-shared ${CLFS}/bin/bzip2 83 cp -av libbz2.so* ${CLFS}/lib 84 ln -sv ../../lib/libbz2.so.1.0 ${CLFS}/usr/lib/libbz2.so 85 rm -v ${CLFS}/usr/bin/{bunzip2,bzcat,bzip2} 86 ln -sv bzip2 ${CLFS}/bin/bunzip2 87 ln -sv bzip2 ${CLFS}/bin/bzcatt</userinput></screen> 88 88 89 89 </sect2> -
BOOK/final-system/common/coreutils.xml
r89c10a9 r586feb7 40 40 41 41 <screen os="d"><userinput>./configure --prefix=/usr --cache-file=config.cache \ 42 --build=${ LFS_HOST} --host=${LFS_TARGET}</userinput></screen>42 --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen> 43 43 44 44 <para os="e">Compile the package:</para> … … 48 48 <para os="g">Install the package:</para> 49 49 50 <screen os="h"><userinput>make DESTDIR=${ LFS} install</userinput></screen>50 <screen os="h"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 51 51 52 52 <para os="i">Move programs to the locations specified by the FHS:</para> 53 53 54 <screen os="j"><userinput>mv -v ${LFS}/usr/bin/{[,basename,cat,chgrp,chmod,chown,cp} ${LFS}/bin 55 mv -v ${LFS}/usr/bin/{date,dd,df,echo,false,hostname,install,ln} ${LFS}/bin 56 mv -v ${LFS}/usr/bin/{ls,mkdir,mknod,mv,nice,pwd,readlink,rm,rmdir,sync} ${LFS}/bin 57 mv -v ${LFS}/usr/bin/{stty,test,touch,true,uname} ${LFS}/bin 58 mv -v ${LFS}/usr/bin/chroot ${LFS}/usr/sbin 59 ln -svf ../../bin/install ${LFS}/usr/bin</userinput></screen> 60 61 <para os="k">Some of the scripts in the LFS-Bootscripts package depend on 62 <command>head</command> and <command>sleep</command>. As <filename 54 <screen os="j"><userinput>mv -v ${CLFS}/usr/bin/{cat,chgrp,chmod,chown,cp,date} ${CLFS}/bin 55 mv -v ${CLFS}/usr/bin/{dd,df,echo,false,hostname,ln,ls,mkdir,mknod} ${CLFS}/bin 56 mv -v ${CLFS}/usr/bin/{mv,pwd,rm,rmdir,stty,true,uname} ${CLFS}/bin 57 mv -v ${CLFS}/usr/bin/chroot ${CLFS}/usr/sbin</userinput></screen> 58 59 <para os="k">Other Coreutils programs are used by some of the scripts 60 in the CLFS-Bootscripts pacakge. As <filename 63 61 class="directory">/usr</filename> may not be available during the early 64 62 stages of booting, those binaries need to be on the root partition:</para> 65 63 66 <screen os="l"><userinput>mv -v ${LFS}/usr/bin/{head,sleep} ${LFS}/bin</userinput></screen> 64 <screen os="l"><userinput>mv -v ${CLFS}/usr/bin/{[,basename,head,install,nice} ${CLFS}/bin 65 mv -v ${CLFS}/usr/bin/{readlink,sleep,sync,test,touch} ${CLFS}/bin 66 ln -svf ../../bin/install ${CLFS}/usr/bin</userinput></screen> 67 67 68 68 </sect2> -
BOOK/final-system/common/diffutils.xml
r89c10a9 r586feb7 28 28 <para os="a">Prepare Diffutils for compilation:</para> 29 29 30 <screen os="b"><userinput>./configure --prefix=/usr --host=${ LFS_TARGET}</userinput></screen>30 <screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen> 31 31 32 32 <para os="c">Compile the package:</para> … … 36 36 <para os="e">Install the package:</para> 37 37 38 <screen os="f"><userinput>make DESTDIR=${ LFS} install</userinput></screen>38 <screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 39 39 40 40 </sect2> -
BOOK/final-system/common/e2fsprogs.xml
r89c10a9 r586feb7 38 38 <screen os="d"><userinput>../configure --prefix=/usr --with-root-prefix="" \ 39 39 --enable-elf-shlibs --disable-evms \ 40 --host=${ LFS_TARGET}</userinput></screen>40 --host=${CLFS_TARGET}</userinput></screen> 41 41 42 42 <variablelist os="e"> … … 85 85 <para os="h">Install the binaries and documentation:</para> 86 86 87 <screen os="i"><userinput>make DESTDIR=${ LFS} install</userinput></screen>87 <screen os="i"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 88 88 89 89 <para os="j">Install the shared libraries:</para> 90 90 91 <screen os="k"><userinput>make DESTDIR=${ LFS} install-libs</userinput></screen>91 <screen os="k"><userinput>make DESTDIR=${CLFS} install-libs</userinput></screen> 92 92 93 93 </sect2> -
BOOK/final-system/common/file.xml
r89c10a9 r586feb7 28 28 <para os="a">Prepare File for compilation:</para> 29 29 30 <screen os="b"><userinput>./configure --prefix=/usr --host=${ LFS_TARGET}</userinput></screen>30 <screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen> 31 31 32 32 <para os="c">Compile the package:</para> … … 36 36 <para os="e">Install the package:</para> 37 37 38 <screen os="f"><userinput>make DESTDIR=${ LFS} install</userinput></screen>38 <screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 39 39 40 40 </sect2> -
BOOK/final-system/common/findutils.xml
r89c10a9 r586feb7 30 30 <para os="a">Prepare Findutils for compilation:</para> 31 31 32 <screen os="b"><userinput>./configure --prefix=/usr --host=${ LFS_TARGET} \32 <screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET} \ 33 33 --libexecdir=/usr/lib/locate --localstatedir=/var/lib/locate</userinput></screen> 34 34 … … 53 53 <para os="f">Install the package:</para> 54 54 55 <screen os="g"><userinput>make DESTDIR=${ LFS} install</userinput></screen>55 <screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 56 56 57 57 </sect2> -
BOOK/final-system/common/flex.xml
r89c10a9 r586feb7 33 33 <para os="c">Prepare Flex for compilation:</para> 34 34 35 <screen os="d"><userinput>./configure --prefix=/usr --host=${ LFS_TARGET}</userinput></screen>35 <screen os="d"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen> 36 36 37 37 <para os="e">Compile the package:</para> … … 41 41 <para os="g">Install the package:</para> 42 42 43 <screen os="h"><userinput>make DESTDIR=${ LFS} install</userinput></screen>43 <screen os="h"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 44 44 45 45 <para os="i">There are some packages that expect to find the … … 48 48 this:</para> 49 49 50 <screen os="j"><userinput>ln -sv libfl.a ${ LFS}/usr/lib/libl.a</userinput></screen>50 <screen os="j"><userinput>ln -sv libfl.a ${CLFS}/usr/lib/libl.a</userinput></screen> 51 51 52 52 <para os="k">A few programs do not know about <command>flex</command> yet and … … 56 56 mode:</para> 57 57 58 <screen os="l"><userinput>cat > ${ LFS}/usr/bin/lex << "EOF"58 <screen os="l"><userinput>cat > ${CLFS}/usr/bin/lex << "EOF" 59 59 <literal>#!/bin/sh 60 60 # Begin /usr/bin/lex … … 64 64 # End /usr/bin/lex</literal> 65 65 EOF 66 chmod -v 755 ${ LFS}/usr/bin/lex</userinput></screen>66 chmod -v 755 ${CLFS}/usr/bin/lex</userinput></screen> 67 67 68 68 </sect2> -
BOOK/final-system/common/gawk.xml
r89c10a9 r586feb7 34 34 35 35 <screen os="d"><userinput>./configure --prefix=/usr --libexecdir=/usr/lib \ 36 --build=${ LFS_HOST} --host=${LFS_TARGET}</userinput></screen>36 --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen> 37 37 38 38 <para os="e">Compile the package:</para> … … 42 42 <para os="g">Install the package:</para> 43 43 44 <screen os="h"><userinput>make DESTDIR=${ LFS} install</userinput></screen>44 <screen os="h"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 45 45 46 46 </sect2> -
BOOK/final-system/common/gcc.xml
r89c10a9 r586feb7 62 62 63 63 <screen os="f"><userinput>../gcc-&gcc-version;/configure --prefix=/usr --libexecdir=/usr/lib \ 64 --build=${ LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \64 --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \ 65 65 --enable-shared --enable-threads=posix --enable-__cxa_atexit \ 66 66 --enable-c99 --enable-long-long --enable-clocale=gnu \ … … 73 73 <para os="i">Install the package:</para> 74 74 75 <screen os="j"><userinput>make DESTDIR=${ LFS} install</userinput></screen>75 <screen os="j"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 76 76 77 77 <para os="k">Some packages expect the C preprocessor to be installed in the … … 79 79 To support those packages, create this symlink:</para> 80 80 81 <screen os="l"><userinput>ln -sv ../usr/bin/cpp ${ LFS}/lib</userinput></screen>81 <screen os="l"><userinput>ln -sv ../usr/bin/cpp ${CLFS}/lib</userinput></screen> 82 82 83 83 <para os="m">Many packages use the name <command>cc</command> to call the C 84 84 compiler. To satisfy those packages, create a symlink:</para> 85 85 86 <screen os="o"><userinput>ln -sv gcc ${ LFS}/usr/bin/cc</userinput></screen>86 <screen os="o"><userinput>ln -sv gcc ${CLFS}/usr/bin/cc</userinput></screen> 87 87 88 88 </sect2> -
BOOK/final-system/common/gettext.xml
r89c10a9 r586feb7 30 30 <para os="a">Prepare Gettext for compilation:</para> 31 31 32 <screen os="b"><userinput>./configure --prefix=/usr --host=${ LFS_TARGET}</userinput></screen>32 <screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen> 33 33 34 34 <para os="c">Compile the package:</para> … … 38 38 <para os="e">Install the package:</para> 39 39 40 <screen os="f"><userinput>make DESTDIR=${ LFS} install</userinput></screen>40 <screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 41 41 42 42 </sect2> … … 54 54 msgexec, msgfilter, msgfmt, msggrep, msginit, msgmerge, msgunfmt, msguniq, 55 55 ngettext, and xgettext</seg> 56 <seg>libasprintf.[a,so], libgettextlib ,so, libgettextpo.[a,so], and57 libgettextsrc ,so</seg>56 <seg>libasprintf.[a,so], libgettextlib.so, libgettextpo.[a,so], and 57 libgettextsrc.so</seg> 58 58 </seglistitem> 59 59 </segmentedlist> -
BOOK/final-system/common/grep.xml
r89c10a9 r586feb7 29 29 30 30 <screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin \ 31 --host=${ LFS_TARGET} --disable-perl-regexp</userinput></screen>31 --host=${CLFS_TARGET} --disable-perl-regexp</userinput></screen> 32 32 33 33 <para os="c">Compile the package:</para> … … 37 37 <para os="e">Install the package:</para> 38 38 39 <screen os="f"><userinput>make DESTDIR=${ LFS} install</userinput></screen>39 <screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 40 40 41 41 </sect2> -
BOOK/final-system/common/groff.xml
r89c10a9 r586feb7 33 33 <para os="b">Prepare Groff for compilation:</para> 34 34 35 <screen os="c"><userinput>PAGE=<replaceable>[paper_size]</replaceable> ./configure --prefix=/usr --host=${ LFS_TARGET}</userinput></screen>35 <screen os="c"><userinput>PAGE=<replaceable>[paper_size]</replaceable> ./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen> 36 36 37 37 <para os="d">Compile the package:</para> … … 41 41 <para os="f">Install the package:</para> 42 42 43 <screen os="g"><userinput>make prefix=${ LFS}/usr install</userinput></screen>43 <screen os="g"><userinput>make prefix=${CLFS}/usr install</userinput></screen> 44 44 45 45 <para os="h">Some documentation programs, such as <command>xman</command>, 46 46 will not work properly without the following symlinks:</para> 47 47 48 <screen os="i"><userinput>ln -sv soelim ${ LFS}/usr/bin/zsoelim49 ln -sv eqn ${ LFS}/usr/bin/geqn50 ln -sv tbl ${ LFS}/usr/bin/gtbl</userinput></screen>48 <screen os="i"><userinput>ln -sv soelim ${CLFS}/usr/bin/zsoelim 49 ln -sv eqn ${CLFS}/usr/bin/geqn 50 ln -sv tbl ${CLFS}/usr/bin/gtbl</userinput></screen> 51 51 52 52 </sect2> -
BOOK/final-system/common/gzip.xml
r89c10a9 r586feb7 35 35 <para os="a">Prepare Gzip for compilation:</para> 36 36 37 <screen os="b"><userinput>./configure --prefix=/usr --host=${ LFS_TARGET}</userinput></screen>37 <screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen> 38 38 39 39 <para os="c">The <command>gzexe</command> script has the location of the … … 52 52 <para os="g">Install the package:</para> 53 53 54 <screen os="h"><userinput>make DESTDIR=${ LFS} install</userinput></screen>54 <screen os="h"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 55 55 56 56 <para os="i">Move the <command>gzip</command> program to the <filename … … 58 58 used symlinks to it:</para> 59 59 60 <screen os="j"><userinput>mv -v ${ LFS}/usr/bin/gzip ${LFS}/bin61 rm -v ${ LFS}/usr/bin/{gunzip,zcat}62 ln -sv gzip ${ LFS}/bin/gunzip63 ln -sv gzip ${ LFS}/bin/zcat64 ln -sv gzip ${ LFS}/bin/compress65 ln -sv gunzip ${ LFS}/bin/uncompress</userinput></screen>60 <screen os="j"><userinput>mv -v ${CLFS}/usr/bin/gzip ${CLFS}/bin 61 rm -v ${CLFS}/usr/bin/{gunzip,zcat} 62 ln -sv gzip ${CLFS}/bin/gunzip 63 ln -sv gzip ${CLFS}/bin/zcat 64 ln -sv gzip ${CLFS}/bin/compress 65 ln -sv gunzip ${CLFS}/bin/uncompress</userinput></screen> 66 66 67 67 </sect2> -
BOOK/final-system/common/iana-etc.xml
r89c10a9 r586feb7 34 34 <para os="c">Install the package:</para> 35 35 36 <screen os="d"><userinput>make DESTDIR=${ LFS} install</userinput></screen>36 <screen os="d"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 37 37 38 38 </sect2> -
BOOK/final-system/common/inetutils.xml
r89c10a9 r586feb7 45 45 <para os="a">Prepare Inetutils for compilation:</para> 46 46 47 <screen os="b"><userinput>./configure --prefix=/usr --host=${ LFS_TARGET} \47 <screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET} \ 48 48 --libexecdir=/usr/sbin --sysconfdir=/etc \ 49 49 --localstatedir=/var --disable-logger \ … … 102 102 <para os="f">Install the package:</para> 103 103 104 <screen os="g"><userinput>make DESTDIR=${ LFS} install</userinput></screen>104 <screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 105 105 106 106 <para os="h">Move the <command>ping</command> program to its FHS-compliant 107 107 place:</para> 108 108 109 <screen os="i"><userinput>mv -v ${ LFS}/usr/bin/ping ${LFS}/bin</userinput></screen>109 <screen os="i"><userinput>mv -v ${CLFS}/usr/bin/ping ${CLFS}/bin</userinput></screen> 110 110 111 111 </sect2> -
BOOK/final-system/common/iproute2.xml
r89c10a9 r586feb7 66 66 <para os="e">Install the package:</para> 67 67 68 <screen os="f"><userinput>make DESTDIR=${ LFS} SBINDIR=/sbin install</userinput></screen>68 <screen os="f"><userinput>make DESTDIR=${CLFS} SBINDIR=/sbin install</userinput></screen> 69 69 70 70 </sect2> -
BOOK/final-system/common/kbd.xml
r89c10a9 r586feb7 52 52 <para os="e">Install the package:</para> 53 53 54 <screen os="f"><userinput>make DESTDIR=${ LFS} install</userinput></screen>54 <screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 55 55 56 56 </sect2> -
BOOK/final-system/common/less.xml
r89c10a9 r586feb7 28 28 29 29 <screen os="b"><userinput>./configure --prefix=/usr --sysconfdir=/etc \ 30 --host=${ LFS_TARGET}</userinput></screen>30 --host=${CLFS_TARGET}</userinput></screen> 31 31 32 32 <variablelist os="c"> … … 49 49 <para os="f">Install the package:</para> 50 50 51 <screen os="g"><userinput>make prefix=${ LFS}/usr install</userinput></screen>51 <screen os="g"><userinput>make prefix=${CLFS}/usr install</userinput></screen> 52 52 53 53 <para os="h">Move less to /bin:</para> 54 54 55 <screen os="i"><userinput>mv -v ${ LFS}/usr/bin/less ${LFS}/bin</userinput></screen>55 <screen os="i"><userinput>mv -v ${CLFS}/usr/bin/less ${CLFS}/bin</userinput></screen> 56 56 57 57 </sect2> -
BOOK/final-system/common/libtool.xml
r89c10a9 r586feb7 29 29 <para os="a">Prepare Libtool for compilation:</para> 30 30 31 <screen os="b"><userinput>./configure --prefix=/usr --host=${ LFS_TARGET}</userinput></screen>31 <screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen> 32 32 33 33 <para os="c">Compile the package:</para> … … 37 37 <para os="e">Install the package:</para> 38 38 39 <screen os="f"><userinput>make DESTDIR=${ LFS} install</userinput></screen>39 <screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 40 40 41 41 </sect2> -
BOOK/final-system/common/m4.xml
r89c10a9 r586feb7 27 27 <para os="a">Prepare M4 for compilation:</para> 28 28 29 <screen os="b"><userinput>./configure --prefix=/usr --host=${ LFS_TARGET}</userinput></screen>29 <screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen> 30 30 31 31 <para os="c">Compile the package:</para> … … 35 35 <para os="e">Install the package:</para> 36 36 37 <screen os="f"><userinput>make DESTDIR=${ LFS} install</userinput></screen>37 <screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 38 38 39 39 </sect2> -
BOOK/final-system/common/make.xml
r89c10a9 r586feb7 27 27 <para os="a">Prepare Make for compilation:</para> 28 28 29 <screen os="b"><userinput>./configure --prefix=/usr --host=${ LFS_TARGET}</userinput></screen>29 <screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen> 30 30 31 31 <para os="c">Compile the package:</para> … … 35 35 <para os="e">Install the package:</para> 36 36 37 <screen os="f"><userinput>make DESTDIR=${ LFS} install</userinput></screen>37 <screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 38 38 39 39 </sect2> -
BOOK/final-system/common/man-pages.xml
r89c10a9 r586feb7 27 27 <para os="a">Install Man-pages by running:</para> 28 28 29 <screen os="b"><userinput>make prefix=${ LFS} install</userinput></screen>29 <screen os="b"><userinput>make prefix=${CLFS} install</userinput></screen> 30 30 31 31 </sect2> -
BOOK/final-system/common/man.xml
r89c10a9 r586feb7 77 77 <para os="o">Install the package:</para> 78 78 79 <screen os="p"><userinput>make DESTDIR=${ LFS} install</userinput></screen>79 <screen os="p"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 80 80 81 81 <note os="q"> -
BOOK/final-system/common/mktemp.xml
r89c10a9 r586feb7 40 40 <para os="c">Prepare Mktemp for compilation:</para> 41 41 42 <screen os="d"><userinput>./configure --prefix=/usr --with-libc --host=${ LFS_TARGET}</userinput></screen>42 <screen os="d"><userinput>./configure --prefix=/usr --with-libc --host=${CLFS_TARGET}</userinput></screen> 43 43 44 44 <variablelist os="e"> … … 61 61 <para os="h">Install the package:</para> 62 62 63 <screen os="i"><userinput>make prefix=${ LFS}/usr install64 make prefix=${ LFS}/usr install-tempfile</userinput></screen>63 <screen os="i"><userinput>make prefix=${CLFS}/usr install 64 make prefix=${CLFS}/usr install-tempfile</userinput></screen> 65 65 66 66 </sect2> -
BOOK/final-system/common/module-init-tools.xml
r89c10a9 r586feb7 28 28 <para os="a">Prepare Module-Init-Tools for compilation:</para> 29 29 30 <screen os="b"><userinput>./configure --prefix=/ --enable-zlib --host=${ LFS_TARGET}</userinput></screen>30 <screen os="b"><userinput>./configure --prefix=/ --enable-zlib --host=${CLFS_TARGET}</userinput></screen> 31 31 32 32 <variablelist os="c"> … … 49 49 <para os="f">Install the package:</para> 50 50 51 <screen os="g"><userinput>make DESTDIR=${ LFS} INSTALL=install install</userinput></screen>51 <screen os="g"><userinput>make DESTDIR=${CLFS} INSTALL=install install</userinput></screen> 52 52 53 53 <variablelist os="h"> -
BOOK/final-system/common/ncurses.xml
r89c10a9 r586feb7 29 29 30 30 <screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib \ 31 --host=${ LFS_TARGET} --with-shared \31 --host=${CLFS_TARGET} --with-shared \ 32 32 --without-debug --without-ada --with-build-cc=gcc</userinput></screen> 33 33 … … 38 38 <para os="e">Install the package:</para> 39 39 40 <screen os="f"><userinput>make DESTDIR=${ LFS} install</userinput></screen>40 <screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 41 41 42 42 <para os="g">Move the Ncurses static libraries to the proper location:</para> 43 43 44 <screen os="h"><userinput>mv -v ${ LFS}/lib/lib{panel,menu,form,ncurses,ncurses++,curses}.a ${LFS}/usr/lib</userinput></screen>44 <screen os="h"><userinput>mv -v ${CLFS}/lib/lib{panel,menu,form,ncurses,ncurses++,curses}.a ${CLFS}/usr/lib</userinput></screen> 45 45 46 46 <para os="i">Create symlinks in <filename class="directory">/usr/lib:</filename></para> 47 47 48 <screen os="j"><userinput>rm -v ${ LFS}/lib/lib{ncurses,menu,panel,form,curses}.so49 ln -svf ../../lib/libncurses.so.5 ${ LFS}/usr/lib/libcurses.so50 ln -svf ../../lib/libncurses.so.5 ${ LFS}/usr/lib/libncurses.so51 ln -svf ../../lib/libmenu.so.5 ${ LFS}/usr/lib/libmenu.so52 ln -svf ../../lib/libpanel.so.5 ${ LFS}/usr/lib/libpanel.so53 ln -svf ../../lib/libform.so.5 ${ LFS}/usr/lib/libform.so</userinput></screen>48 <screen os="j"><userinput>rm -v ${CLFS}/lib/lib{ncurses,menu,panel,form,curses}.so 49 ln -svf ../../lib/libncurses.so.5 ${CLFS}/usr/lib/libcurses.so 50 ln -svf ../../lib/libncurses.so.5 ${CLFS}/usr/lib/libncurses.so 51 ln -svf ../../lib/libmenu.so.5 ${CLFS}/usr/lib/libmenu.so 52 ln -svf ../../lib/libpanel.so.5 ${CLFS}/usr/lib/libpanel.so 53 ln -svf ../../lib/libform.so.5 ${CLFS}/usr/lib/libform.so</userinput></screen> 54 54 55 55 <para os="k">Give the Ncurses libraries execute permissions:</para> 56 56 57 <screen os="l"><userinput>chmod -v 755 ${ LFS}/lib/lib{panel,menu,form,ncurses}.so.&ncurses-version;</userinput></screen>57 <screen os="l"><userinput>chmod -v 755 ${CLFS}/lib/lib{panel,menu,form,ncurses}.so.&ncurses-version;</userinput></screen> 58 58 59 59 </sect2> -
BOOK/final-system/common/patch.xml
r89c10a9 r586feb7 29 29 <para os="a">Prepare Patch for compilation:</para> 30 30 31 <screen os="b"><userinput>./configure --prefix=/usr --host=${ LFS_TARGET}</userinput></screen>31 <screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen> 32 32 33 33 <para os="c">Compile the package:</para> … … 37 37 <para os="e">Install the package:</para> 38 38 39 <screen os="f"><userinput>make prefix=${ LFS}/usr install</userinput></screen>39 <screen os="f"><userinput>make prefix=${CLFS}/usr install</userinput></screen> 40 40 41 41 </sect2> -
BOOK/final-system/common/perl.xml
r89c10a9 r586feb7 37 37 <para os="c">Compile the package:</para> 38 38 39 <screen os="d"><userinput>make ARCH= CROSS_COMPILE="${ LFS_TARGET}-"</userinput></screen>39 <screen os="d"><userinput>make ARCH= CROSS_COMPILE="${CLFS_TARGET}-"</userinput></screen> 40 40 41 41 <para os="e">Install the package:</para> 42 42 43 <screen os="f"><userinput>make DESTDIR=${ LFS} install</userinput></screen>43 <screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 44 44 45 45 </sect2> -
BOOK/final-system/common/procps.xml
r89c10a9 r586feb7 40 40 <para os="c">Install the package:</para> 41 41 42 <screen os="d"><userinput>make DESTDIR=${ LFS} lib64=lib install</userinput></screen>42 <screen os="d"><userinput>make DESTDIR=${CLFS} lib64=lib install</userinput></screen> 43 43 44 44 </sect2> -
BOOK/final-system/common/psmisc.xml
r89c10a9 r586feb7 28 28 <para os="a">Prepare Psmisc for compilation:</para> 29 29 30 <screen os="b"><userinput>./configure --prefix=/usr --exec-prefix="" --host=${ LFS_TARGET}</userinput></screen>30 <screen os="b"><userinput>./configure --prefix=/usr --exec-prefix="" --host=${CLFS_TARGET}</userinput></screen> 31 31 32 32 <variablelist os="c"> … … 51 51 <para os="f">Install the package:</para> 52 52 53 <screen os="g"><userinput>make DESTDIR=${ LFS} install</userinput></screen>53 <screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 54 54 55 55 <para os="h">There is no reason for the <command>pstree</command> and … … 58 58 class="directory">/usr/bin</filename>:</para> 59 59 60 <screen os="i"><userinput>mv -v ${ LFS}/bin/pstree* ${LFS}/usr/bin</userinput></screen>60 <screen os="i"><userinput>mv -v ${CLFS}/bin/pstree* ${CLFS}/usr/bin</userinput></screen> 61 61 62 62 <para os="j">By default, Psmisc's <command>pidof</command> program is not installed. … … 66 66 of Psmisc by creating the following symlink:</para> 67 67 68 <screen os="k" role="nodump"><userinput>ln -sv killall ${ LFS}/bin/pidof</userinput></screen>68 <screen os="k" role="nodump"><userinput>ln -sv killall ${CLFS}/bin/pidof</userinput></screen> 69 69 70 70 </sect2> -
BOOK/final-system/common/readline.xml
r89c10a9 r586feb7 33 33 <para os="a">Prepare Readline for compilation:</para> 34 34 35 <screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib --host=${ LFS_TARGET}</userinput></screen>35 <screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib --host=${CLFS_TARGET}</userinput></screen> 36 36 37 37 <para os="c">Compile the package:</para> … … 53 53 <para os="f">Install the package:</para> 54 54 55 <screen os="g"><userinput>make DESTDIR=${ LFS} install</userinput></screen>55 <screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 56 56 57 57 <para os="h">Give Readline's dynamic libraries more appropriate 58 58 permissions:</para> 59 59 60 <screen os="i"><userinput>chmod -v 755 ${ LFS}/lib/lib{readline,history}.so*</userinput></screen>60 <screen os="i"><userinput>chmod -v 755 ${CLFS}/lib/lib{readline,history}.so*</userinput></screen> 61 61 62 62 <para os="j">Now move the static libraries to a more appropriate location:</para> 63 63 64 <screen os="k"><userinput>mv -v ${ LFS}/lib/lib{readline,history}.a ${LFS}/usr/lib</userinput></screen>64 <screen os="k"><userinput>mv -v ${CLFS}/lib/lib{readline,history}.a ${CLFS}/usr/lib</userinput></screen> 65 65 66 66 <para os="l">Next, remove the <filename class="extension">.so</filename> … … 68 68 <filename class="directory">/usr/lib</filename>.</para> 69 69 70 <screen os="m"><userinput>rm -v ${ LFS}/lib/lib{readline,history}.so71 ln -svf ../../lib/libreadline.so.5 ${ LFS}/usr/lib/libreadline.so72 ln -svf ../../lib/libhistory.so.5 ${ LFS}/usr/lib/libhistory.so</userinput></screen>70 <screen os="m"><userinput>rm -v ${CLFS}/lib/lib{readline,history}.so 71 ln -svf ../../lib/libreadline.so.5 ${CLFS}/usr/lib/libreadline.so 72 ln -svf ../../lib/libhistory.so.5 ${CLFS}/usr/lib/libhistory.so</userinput></screen> 73 73 74 74 </sect2> -
BOOK/final-system/common/sed.xml
r89c10a9 r586feb7 28 28 29 29 <screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin \ 30 --host=${ LFS_TARGET} --enable-html</userinput></screen>30 --host=${CLFS_TARGET} --enable-html</userinput></screen> 31 31 32 32 <variablelist os="c"> … … 48 48 <para os="f">Install the package:</para> 49 49 50 <screen os="g"><userinput>make DESTDIR=${ LFS} install</userinput></screen>50 <screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 51 51 52 52 </sect2> -
BOOK/final-system/common/shadow.xml
r89c10a9 r586feb7 43 43 <screen os="e"><userinput>./configure --libdir=/lib --sysconfdir=/etc --enable-shared \ 44 44 --without-libpam --without-audit --without-selinux \ 45 --host=${ LFS_TARGET} --cache-file=config.cache</userinput></screen>45 --host=${CLFS_TARGET} --cache-file=config.cache</userinput></screen> 46 46 47 47 <para os="f">The meaning of the configure options:</para> … … 84 84 <para os="l">Install the package:</para> 85 85 86 <screen os="m"><userinput>make DESTDIR=${ LFS} install</userinput></screen>86 <screen os="m"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 87 87 88 88 <para id="shadow-login_defs" os="r">Instead of using the default … … 100 100 </indexterm> 101 101 102 <screen os="t"><userinput>cp ${ LFS}/etc/login.defs login.defs.orig102 <screen os="t"><userinput>cp ${CLFS}/etc/login.defs login.defs.orig 103 103 sed -e's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \ 104 104 -e 's@/var/spool/mail@/var/mail@' \ 105 login.defs.orig > ${ LFS}/etc/login.defs</userinput></screen>105 login.defs.orig > ${CLFS}/etc/login.defs</userinput></screen> 106 106 107 107 <note os="u"> … … 111 111 112 112 <screen><userinput>cp {LFS}/etc/login.defs login.defs.orig 113 sed 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' login.defs.orig > ${ LFS}/etc/login.defs</userinput></screen>113 sed 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' login.defs.orig > ${CLFS}/etc/login.defs</userinput></screen> 114 114 </note> 115 115 116 116 <para os="v">Move a misplaced program to its proper location:</para> 117 117 118 <screen os="w"><userinput>mv -v ${ LFS}/usr/bin/passwd ${LFS}/bin</userinput></screen>118 <screen os="w"><userinput>mv -v ${CLFS}/usr/bin/passwd ${CLFS}/bin</userinput></screen> 119 119 120 120 <para os="x">Move Shadow's dynamic libraries to a more appropriate 121 121 location:</para> 122 122 123 <screen os="y"><userinput>mv -v ${ LFS}/lib/libshadow.*a ${LFS}/usr/lib124 rm -v ${ LFS}/lib/libshadow.so125 ln -svf ../../lib/libshadow.so.0 ${ LFS}/usr/lib/libshadow.so</userinput></screen>123 <screen os="y"><userinput>mv -v ${CLFS}/lib/libshadow.*a ${CLFS}/usr/lib 124 rm -v ${CLFS}/lib/libshadow.so 125 ln -svf ../../lib/libshadow.so.0 ${CLFS}/usr/lib/libshadow.so</userinput></screen> 126 126 127 127 </sect2> -
BOOK/final-system/common/stripping.xml
r89c10a9 r586feb7 23 23 backup of the current situation.</para> 24 24 25 <screen os="c"><userinput>find ${ LFS}/{,usr/}{bin,lib,sbin} -type f \26 -exec ${ LFS_TARGET}-strip --strip-debug '{}' ';'</userinput></screen>25 <screen os="c"><userinput>find ${CLFS}/{,usr/}{bin,lib,sbin} -type f \ 26 -exec ${CLFS_TARGET}-strip --strip-debug '{}' ';'</userinput></screen> 27 27 28 28 <para os="i">A large number of files will be reported as having their file -
BOOK/final-system/common/sysklogd.xml
r89c10a9 r586feb7 43 43 <para os="f">Install the package:</para> 44 44 45 <screen os="g"><userinput>make prefix=${ LFS} install</userinput></screen>45 <screen os="g"><userinput>make prefix=${CLFS} install</userinput></screen> 46 46 47 47 </sect2> … … 61 61 the following:</para> 62 62 63 <screen><userinput>cat > ${ LFS}/etc/syslog.conf << "EOF"63 <screen><userinput>cat > ${CLFS}/etc/syslog.conf << "EOF" 64 64 <literal># Begin /etc/syslog.conf 65 65 -
BOOK/final-system/common/sysvinit.xml
r89c10a9 r586feb7 52 52 53 53 <screen os="d"><userinput>make -C src clobber 54 make -C src ROOT=${ LFS} CC="${CC}"</userinput></screen>54 make -C src ROOT=${CLFS} CC="${CC}"</userinput></screen> 55 55 56 56 <para os="e">Install the package:</para> 57 57 58 <screen os="f"><userinput>make -C src ROOT=${ LFS} INSTALL="install" install</userinput></screen>58 <screen os="f"><userinput>make -C src ROOT=${CLFS} INSTALL="install" install</userinput></screen> 59 59 60 60 </sect2> … … 74 74 following:</para> 75 75 76 <screen><userinput>cat > ${ LFS}/etc/inittab << "EOF"76 <screen><userinput>cat > ${CLFS}/etc/inittab << "EOF" 77 77 <literal># Begin /etc/inittab 78 78 -
BOOK/final-system/common/tar.xml
r89c10a9 r586feb7 43 43 44 44 <screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin \ 45 --libexecdir=/usr/sbin --host=${ LFS_TARGET}</userinput></screen>45 --libexecdir=/usr/sbin --host=${CLFS_TARGET}</userinput></screen> 46 46 47 47 <para os="c">Compile the package:</para> … … 51 51 <para os="e">Install the package:</para> 52 52 53 <screen os="f"><userinput>make DESTDIR=${ LFS} install</userinput></screen>53 <screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 54 54 55 55 </sect2> -
BOOK/final-system/common/texinfo.xml
r89c10a9 r586feb7 33 33 <para os="a">Prepare Texinfo for compilation:</para> 34 34 35 <screen os="b"><userinput>./configure --prefix=/usr --host=${ LFS_TARGET}</userinput></screen>35 <screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen> 36 36 37 37 <para os="c">Compile the package:</para> … … 41 41 <para os="e">Install the package:</para> 42 42 43 <screen os="f"><userinput>make DESTDIR=${ LFS} install</userinput></screen>43 <screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 44 44 45 45 <para os="g">Optionally, install the components belonging in a TeX 46 46 installation:</para> 47 47 48 <screen os="h"><userinput>make DESTDIR=${ LFS} TEXMF=/usr/share/texmf install-tex</userinput></screen>48 <screen os="h"><userinput>make DESTDIR=${CLFS} TEXMF=/usr/share/texmf install-tex</userinput></screen> 49 49 50 50 <variablelist os="i"> … … 70 70 the following optional commands will accomplish the task:</para> 71 71 72 <screen os="k" role="nodump"><userinput>cd ${ LFS}/usr/share/info72 <screen os="k" role="nodump"><userinput>cd ${CLFS}/usr/share/info 73 73 rm dir 74 74 for f in * -
BOOK/final-system/common/udev.xml
r89c10a9 r586feb7 28 28 <para os="a">Compile the package:</para> 29 29 30 <screen os="b"><userinput>make CROSS_COMPILE="${ LFS_TARGET}-" CC="${CC}" LD="${CC}" \30 <screen os="b"><userinput>make CROSS_COMPILE="${CLFS_TARGET}-" CC="${CC}" LD="${CC}" \ 31 31 EXTRAS="extras/floppy extras/cdrom_id extras/firmware \ 32 32 extras/scsi_id extras/volume_id extras/ata_id extras/usb_id \ … … 50 50 <para os="c">Install the package:</para> 51 51 52 <screen os="d"><userinput>make DESTDIR="${ LFS}" \52 <screen os="d"><userinput>make DESTDIR="${CLFS}" \ 53 53 EXTRAS="extras/floppy extras/cdrom_id extras/firmware \ 54 54 extras/scsi_id extras/volume_id extras/ata_id extras/usb_id \ … … 57 57 <para os="e">Install necessary helpers.</para> 58 58 59 <screen os="f"><userinput>install -v extras/eventrecorder.sh ${ LFS}/lib/udev</userinput></screen>59 <screen os="f"><userinput>install -v extras/eventrecorder.sh ${CLFS}/lib/udev</userinput></screen> 60 60 61 61 <para os="g">Install the documentation that explains how to create … … 63 63 64 64 <screen os="h"><userinput>install -v -m644 -D docs/writing_udev_rules/index.html \ 65 ${ LFS}/usr/share/doc/udev-&udev-version;/index.html</userinput></screen>65 ${CLFS}/usr/share/doc/udev-&udev-version;/index.html</userinput></screen> 66 66 67 67 <para os="i">Create a directory for storing firmware that can be 68 68 loaded by <command>udev</command>:</para> 69 69 70 <screen os="j"><userinput>install -dv ${ LFS}/lib/firmware</userinput></screen>70 <screen os="j"><userinput>install -dv ${CLFS}/lib/firmware</userinput></screen> 71 71 72 72 </sect2> -
BOOK/final-system/common/util-linux.xml
r89c10a9 r586feb7 37 37 sed 's@etc/adjtime@var/lib/hwclock/adjtime@g' \ 38 38 hwclock/hwclock.c.orig > hwclock/hwclock.c 39 mkdir -pv ${ LFS}/var/lib/hwclock</userinput></screen>39 mkdir -pv ${CLFS}/var/lib/hwclock</userinput></screen> 40 40 41 41 </sect2> … … 121 121 122 122 <screen os="g"><userinput>make HAVE_KILL=yes HAVE_SLN=yes \ 123 CPUOPT="" ARCH="" CPU="" USE_TTY_GROUP=no DESTDIR=${ LFS} install124 mv -v ${ LFS}/usr/bin/logger ${LFS}/bin</userinput></screen>123 CPUOPT="" ARCH="" CPU="" USE_TTY_GROUP=no DESTDIR=${CLFS} install 124 mv -v ${CLFS}/usr/bin/logger ${CLFS}/bin</userinput></screen> 125 125 126 126 </sect2> -
BOOK/final-system/common/variables.xml
r89c10a9 r586feb7 14 14 and linkers:</para> 15 15 16 <screen><userinput>export CC="${ LFS_TARGET}-gcc"17 export CXX="${ LFS_TARGET}-g++"18 export AR="${ LFS_TARGET}-ar"19 export AS="${ LFS_TARGET}-as"20 export RANLIB="${ LFS_TARGET}-ranlib"21 export LD="${ LFS_TARGET}-ld"22 export STRIP="${ LFS_TARGET}-strip"</userinput></screen>16 <screen><userinput>export CC="${CLFS_TARGET}-gcc" 17 export CXX="${CLFS_TARGET}-g++" 18 export AR="${CLFS_TARGET}-ar" 19 export AS="${CLFS_TARGET}-as" 20 export RANLIB="${CLFS_TARGET}-ranlib" 21 export LD="${CLFS_TARGET}-ld" 22 export STRIP="${CLFS_TARGET}-strip"</userinput></screen> 23 23 24 24 <para>Then add the build variables to <filename>~/.bashrc</filename> to -
BOOK/final-system/common/vim.xml
r89c10a9 r586feb7 56 56 <para os="d">Prepare Vim for compilation:</para> 57 57 58 <screen os="e"><userinput>./configure --prefix=/usr --host=${ LFS_TARGET} \58 <screen os="e"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET} \ 59 59 --enable-multibyte --enable-gui=no \ 60 60 --disable-gtktest --disable-xim \ … … 86 86 <para os="i">Install the package:</para> 87 87 88 <screen os="j"><userinput>make DESTDIR=${ LFS} install</userinput></screen>88 <screen os="j"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 89 89 90 90 <para os="k">Many users are accustomed to using <command>vi</command> … … 95 95 and allow programs that use <command>vi</command> to work:</para> 96 96 97 <screen os="l"><userinput>ln -sv vim ${ LFS}/usr/bin/vi</userinput></screen>97 <screen os="l"><userinput>ln -sv vim ${CLFS}/usr/bin/vi</userinput></screen> 98 98 99 99 <para os="m">By default, Vim's documentation is installed in … … 103 103 it consistent with the location of documentation for other packages:</para> 104 104 105 <screen os="n"><userinput>ln -sv ../vim/vim&vim-version2;/doc ${ LFS}/usr/share/doc/vim-&vim-version;</userinput></screen>105 <screen os="n"><userinput>ln -sv ../vim/vim&vim-version2;/doc ${CLFS}/usr/share/doc/vim-&vim-version;</userinput></screen> 106 106 107 107 <para os="o">If an X Window System is going to be installed on the LFS … … 132 132 following:</para> 133 133 134 <screen><userinput>cat > ${ LFS}/etc/vimrc << "EOF"134 <screen><userinput>cat > ${CLFS}/etc/vimrc << "EOF" 135 135 <literal>" Begin /etc/vimrc 136 136 -
BOOK/final-system/common/zlib.xml
r89c10a9 r586feb7 41 41 <para os="e">Install the pacakge:</para> 42 42 43 <screen os="f"><userinput>make prefix=${ LFS}/usr install</userinput></screen>43 <screen os="f"><userinput>make prefix=${CLFS}/usr install</userinput></screen> 44 44 45 45 <para os="g">The previous command installed a <filename … … 49 49 to <filename class="directory">/usr/lib</filename>:</para> 50 50 51 <screen os="h"><userinput>mv -v ${ LFS}/usr/lib/libz.so.* ${LFS}/lib52 ln -svf ../../lib/libz.so.1 ${ LFS}/usr/lib/libz.so</userinput></screen>51 <screen os="h"><userinput>mv -v ${CLFS}/usr/lib/libz.so.* ${CLFS}/lib 52 ln -svf ../../lib/libz.so.1 ${CLFS}/usr/lib/libz.so</userinput></screen> 53 53 54 54 <para os="i">Now we fix the permissions on the static library:</para> 55 55 56 <screen os="j"><userinput>chmod -v 644 ${ LFS}/usr/lib/libz.a</userinput></screen>56 <screen os="j"><userinput>chmod -v 644 ${CLFS}/usr/lib/libz.a</userinput></screen> 57 57 58 58 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.