- Timestamp:
- Jan 4, 2009, 1:51:36 PM (16 years ago)
- Branches:
- master
- Children:
- 0e17eae
- Parents:
- ad97072
- Location:
- BOOK
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/bootable/arm/kernel.xml
rad97072 rf3a1e98 39 39 <para os="h">Configure the kernel via a menu-driven interface. 40 40 Please note that the udev bootscript requires "rtc" and "tmpfs" to be 41 enabled and built into the kernel, not as modules. BLFS has41 enabled and built into the kernel, not as modules. CBLFS has 42 42 some information regarding particular kernel configuration requirements of 43 43 packages outside of CLFS at <ulink 44 url="& blfs-root;view/svn/longindex.html#kernel-config-index"/>:</para>44 url="&cblfs-root;"/>:</para> 45 45 46 46 <screen os="i"><userinput>make ARCH=arm CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen> -
BOOK/bootscripts/common/symlinks.xml
rad97072 rf3a1e98 100 100 The case of network cards is covered separately in 101 101 <xref linkend="ch-scripts-network"/>, and sound card configuration can 102 be found in <ulink url="& blfs-root;">BLFS</ulink>.</para>102 be found in <ulink url="&cblfs-root;">CBLFS</ulink>.</para> 103 103 104 104 <para>For each of your devices that is likely to have this problem -
BOOK/final-system/common/bash.xml
rad97072 rf3a1e98 35 35 36 36 <para os="c">When bash is cross-compiled, it cannot test for the presence 37 of named pipes. If you used <command>su</command> to become an unprivileged 38 user, this combination will cause Bash to build without <emphasis>process 39 substitution</emphasis>.</para> 37 of named pipes, amoung other things. If you used <command>su</command> to 38 become an unprivileged user, this combination will cause Bash to build 39 without <emphasis>process substitution</emphasis>, which will break one 40 of the c++ test scripts in <literal>glibc</literal>. The following prevents 41 future problems by skipping tests that can not run while cross-compiling 42 or that do not run properly:</para> 40 43 41 <screen os="d"><userinput>echo "bash_cv_sys_named_pipes=yes" > config.cache</userinput></screen> 44 <screen os="d"><userinput>cat > config.cache << "EOF" 45 ac_cv_func_mmap_fixed_mapped=yes 46 ac_cv_func_strcoll_works=yes 47 ac_cv_func_working_mktime=yes 48 bash_cv_func_sigsetjmp=present 49 bash_cv_getcwd_malloc=yes 50 bash_cv_job_control_missing=present 51 bash_cv_printf_a_format=yes 52 bash_cv_sys_named_pipes=present 53 bash_cv_ulimit_maxfds=yes 54 bash_cv_under_sys_siglist=yes 55 bash_cv_unusable_rtsigs=no 56 gt_cv_int_divbyzero_sigfpe=yes 57 EOF</userinput></screen> 42 58 43 59 <para os="e">Prepare Bash for compilation:</para> -
BOOK/final-system/common/findutils.xml
rad97072 rf3a1e98 28 28 <title>Installation of Findutils</title> 29 29 30 <para os="c1">When Cross Compiling the configure script does not 31 run a select few tests, Set the values manually:</para> 32 33 <screen os="c2"><userinput>echo "gl_cv_func_wcwidth_works=yes" > config.cache 34 echo "gl_cv_header_working_fcntl_h=yes" >> config.cache 35 echo "ac_cv_func_fnmatch_gnu=yes" >> config.cache</userinput></screen> 36 30 37 <para os="a">Prepare Findutils for compilation:</para> 31 38 32 39 <screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 33 --prefix=/usr --libexecdir=/usr/lib/locate \ 40 --prefix=/usr --cache-file=config.cache \ 41 --libexecdir=/usr/lib/locate \ 34 42 --localstatedir=/var/lib/locate</userinput></screen> 35 43 -
BOOK/final-system/common/gawk.xml
rad97072 rf3a1e98 30 30 <screen os="d"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 31 31 --prefix=/usr --libexecdir=/usr/lib</userinput></screen> 32 33 <para os="e">The <command>configure</command> script does not detect the34 following properly:</para>35 36 <screen os="f"><userinput>cat >> config.h << "EOF"37 #define HAVE_LANGINFO_CODESET 138 #define HAVE_LC_MESSAGES 139 EOF</userinput></screen>40 32 41 33 <para os="g">Compile the package:</para> -
BOOK/final-system/common/inetutils.xml
rad97072 rf3a1e98 84 84 <para>This disables the installation of the various network 85 85 servers included as part of the Inetutils package. These servers are 86 deemed not appropriate in a basic CLFS system. Some are insecure by 87 nature and are only considered safe on trusted networks. More 88 information can be found at <ulink 89 url="&blfs-root;view/svn/basicnet/inetutils.html"/>. Note that 90 better replacements are available for many of these 91 servers.</para> 86 deemed not appropriate in a basic CLFS system.</para> 92 87 </listitem> 93 88 </varlistentry> -
BOOK/final-system/common/iproute2.xml
rad97072 rf3a1e98 34 34 done</userinput></screen> 35 35 36 <para os=" s3">The <command>arpd</command> binary included in this package is36 <para os="cb1">The <command>arpd</command> binary included in this package is 37 37 dependent on Berkeley DB. Because <command>arpd</command> is not a 38 38 very common requirement on a base Linux system, remove the dependency 39 39 on Berkeley DB by applying the <command>sed</command> command below. 40 40 If the <command>arpd</command> binary is needed, instructions for 41 compiling Berkeley DB can be found in the BLFS Bookat <ulink42 url="& blfs-root;view/svn/server/databases.html#db"/>.</para>41 compiling Berkeley DB can be found in CBLFS at <ulink 42 url="&cblfs-root;index.php/Berkeley_DB"/>.</para> 43 43 44 44 <screen os="s4"><userinput>cp misc/Makefile{,.orig} … … 47 47 <para os="a">Compile the package:</para> 48 48 49 <screen os="b"><userinput>make CC="${CC}" SBINDIR=/sbin</userinput></screen> 49 <screen os="b"><userinput>make DESTDIR=${CLFS} CC="${CC}" \ 50 DOCDIR=/usr/share/doc/iproute2 \ 51 MANDIR=/usr/share/man 52 </userinput></screen> 50 53 51 54 <variablelist os="c"> … … 53 56 54 57 <varlistentry> 55 <term><parameter>SBINDIR=/sbin</parameter></term> 56 <listitem> 57 <para>This ensures that the IPRoute2 binaries will install into 58 <term><parameter>DESTDIR=/</parameter></term> 59 <listitem> 60 <para>This option overrides the default DESTDIR of /usr, so that 61 that the IPRoute2 binaries will be installed into 58 62 <filename class="directory">/sbin</filename>. This is the correct 59 63 location according to the FHS, because some of the IPRoute2 binaries … … 61 65 </listitem> 62 66 </varlistentry> 67 68 <varlistentry> 69 <term><parameter>DOCDIR=/usr/share/doc/iproute2 MANDIR=/usr/share/man</parameter></term> 70 <listitem> 71 <para>The DESTDIR=/ parameter would cause documentation to be 72 installed into /share/doc and /share/man. These options ensure 73 the docs are installed to the correct locations.</para> 74 </listitem> 75 </varlistentry> 63 76 </variablelist> 64 65 <para os="d"> This package does not come with a test suite.</para>66 67 <para os="e">Install the package:</para> 68 69 <screen os="f"><userinput>make DESTDIR=${CLFS} SBINDIR=/sbin install</userinput></screen>77 78 <para os="d">Install the package:</para> 79 80 <screen os="e"><userinput>make DESTDIR=${CLFS} \ 81 DOCDIR=/usr/share/doc/iproute2 \ 82 MANDIR=/usr/share/man install</userinput></screen> 70 83 71 84 </sect2> -
BOOK/final-system/common/man.xml
rad97072 rf3a1e98 126 126 not support multibyte character sets.</para> 127 127 128 <para os="v">Additional information with regards to the compression of129 man and info pages can be found in the BLFS book at130 <ulink url="&blfs-root;view/svn/postlfs/compressdoc.html"/>.</para>131 132 128 </sect2> 133 129 -
BOOK/final-system/common/readline.xml
rad97072 rf3a1e98 57 57 <screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 58 58 59 <para os="h">Give Readline's dynamic libraries more appropriate 60 permissions:</para> 59 <para os="h">Now move the static libraries to a more appropriate location:</para> 61 60 62 <screen os="i"><userinput> chmod -v 755 ${CLFS}/lib/lib{readline,history}.so*</userinput></screen>61 <screen os="i"><userinput>mv -v ${CLFS}/lib/lib{readline,history}.a ${CLFS}/usr/lib</userinput></screen> 63 62 64 <para os="j">Now move the static libraries to a more appropriate location:</para> 65 66 <screen os="k"><userinput>mv -v ${CLFS}/lib/lib{readline,history}.a ${CLFS}/usr/lib</userinput></screen> 67 68 <para os="l">Next, remove the <filename class="extension">.so</filename> 63 <para os="j">Next, remove the <filename class="extension">.so</filename> 69 64 files in <filename class="directory">/lib</filename> and relink them into 70 65 <filename class="directory">/usr/lib</filename>.</para> 71 66 72 <screen os=" m"><userinput>rm -v ${CLFS}/lib/lib{readline,history}.so67 <screen os="k"><userinput>rm -v ${CLFS}/lib/lib{readline,history}.so 73 68 ln -sfv ../../lib/libreadline.so.5 ${CLFS}/usr/lib/libreadline.so 74 69 ln -sfv ../../lib/libhistory.so.5 ${CLFS}/usr/lib/libhistory.so</userinput></screen> -
BOOK/final-system/common/shadow.xml
rad97072 rf3a1e98 28 28 <note os="a"> 29 29 <para>If you would like to enforce the use of strong passwords, 30 refer to <ulink url="& blfs-root;view/svn/postlfs/cracklib.html"/>30 refer to <ulink url="&cblfs-root;index.php/Cracklib"/> 31 31 for installing Cracklib prior to building Shadow. Then add 32 32 <parameter>--with-libcrack</parameter> to the <command>configure</command> … … 60 60 disables PAM support in Shadow. For instructions to install PAM and 61 61 link Shadow to it, you can look at 62 <ulink url="& blfs-root;view/svn/postlfs/shadow.html"/>.</para></listitem>62 <ulink url="&cblfs-root;index.php/Linux-PAM"/>.</para></listitem> 63 63 </varlistentry> 64 64 <varlistentry> … … 163 163 you create, you can edit <filename>/etc/default/useradd</filename>. See 164 164 <command>man useradd</command> or 165 <ulink url="& blfs-root;view/svn/postlfs/skel.html"/> for more165 <ulink url="&cblfs-root;index.php/Configuring_for_Adding_Users"/> for more 166 166 information.</para> 167 167 -
BOOK/final-system/common/vim.xml
rad97072 rf3a1e98 25 25 <para>If you prefer another editor—such as Emacs, Joe, or 26 26 Nano—please refer to <ulink 27 url="& blfs-root;view/svn/postlfs/editors.html"/>27 url="&cblfs-root;index.php/Category:Text_Editors"/> 28 28 for suggested installation instructions.</para> 29 29 </tip> … … 103 103 comes with a GUI version of the editor that requires X and some 104 104 additional libraries to be installed. For more information, refer to the 105 Vim documentation and the Vim installation page 106 in the BLFS book at <ulink 107 url="&blfs-root;view/svn/postlfs/editors.html#postlfs-editors-vim"/>.</para> 105 Vim documentation and the Vim installation page in CBLFS at <ulink 106 url="&cblfs-root;index.php/Vim"/>.</para> 108 107 109 108 </sect2> -
BOOK/general.ent
rad97072 rf3a1e98 23 23 <!ENTITY clfs-root "http://cross-lfs.org/"> 24 24 <!ENTITY clfs-wiki "http://trac.cross-lfs.org/"> 25 <!ENTITY blfs-root "&lfs-root;blfs/">25 <!ENTITY cblfs-root "http://cblfs.cross-lfs.org/"> 26 26 <!ENTITY faq-root "&clfs-wiki;wiki/faq"> 27 27 <!ENTITY hints-root "&lfs-root;hints/downloads/files/"> -
BOOK/partitioning/common/creatingfilesystem.xml
rad97072 rf3a1e98 16 16 journaling file systems are becoming increasingly popular. We will create 17 17 an <systemitem class="filesystem">ext2</systemitem> file system. 18 Build instructions for other file systems can be found at19 <ulink url="& blfs-root;view/svn/postlfs/filesystems.html"/>.</para>18 Instructions for other file systems can be found at 19 <ulink url="&cblfs-root;index.php?section=6#File_System"/>.</para> 20 20 21 21 <para os="b">To create an <systemitem class="filesystem">ext2</systemitem> file -
BOOK/the-end/whatnow.xml
rad97072 rf3a1e98 62 62 63 63 <listitem> 64 <para> Beyond Linux From Scratch</para>64 <para>Community Driven Beyond Linux From Scratch</para> 65 65 66 <para>The Beyond Linux From Scratch book covers installation 67 procedures for a wide range of software beyond the scope of the LFS 68 Book. The BLFS project is located at <ulink url="&blfs-root;"/>.</para> 66 <para>The Community Driven Beyond Linux From Scratch wiki covers installation 67 procedures for a wide range of software beyond the scope of the CLFS 68 Book. CBLFS is designed specifically to work with the CLFS book, and has all 69 the necessary information to continue the builds in the same manner that CLFS 70 uses. This is a community driven project, which means anyone can contribute and 71 provide updates. The CBLFS project is located at <ulink url="&cblfs-root;"/>.</para> 69 72 </listitem> 70 73
Note:
See TracChangeset
for help on using the changeset viewer.