Changeset f3a1e98 in clfs-sysroot


Ignore:
Timestamp:
Jan 4, 2009, 1:51:36 PM (15 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
0e17eae
Parents:
ad97072
Message:

Change BLFS references to CBLFS.
Fix Findutils compilation issue by adding config.cache entriers.
Remove unneeded config.h modification from the gawk page.

Location:
BOOK
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • BOOK/bootable/arm/kernel.xml

    rad97072 rf3a1e98  
    3939    <para os="h">Configure the kernel via a menu-driven interface.
    4040    Please note that the udev bootscript requires "rtc" and "tmpfs" to be
    41     enabled and built into the kernel, not as modules. BLFS has
     41    enabled and built into the kernel, not as modules. CBLFS has
    4242    some information regarding particular kernel configuration requirements of
    4343    packages outside of CLFS at <ulink
    44     url="&blfs-root;view/svn/longindex.html#kernel-config-index"/>:</para>
     44    url="&cblfs-root;"/>:</para>
    4545
    4646<screen os="i"><userinput>make ARCH=arm CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>
  • BOOK/bootscripts/common/symlinks.xml

    rad97072 rf3a1e98  
    100100    The case of network cards is covered separately in
    101101    <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>
    103103
    104104    <para>For each of your devices that is likely to have this problem
  • BOOK/final-system/common/bash.xml

    rad97072 rf3a1e98  
    3535
    3636    <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>
    4043
    41     <screen os="d"><userinput>echo "bash_cv_sys_named_pipes=yes" &gt; config.cache</userinput></screen>
     44<screen os="d"><userinput>cat &gt; config.cache &lt;&lt; "EOF"
     45ac_cv_func_mmap_fixed_mapped=yes
     46ac_cv_func_strcoll_works=yes
     47ac_cv_func_working_mktime=yes
     48bash_cv_func_sigsetjmp=present
     49bash_cv_getcwd_malloc=yes
     50bash_cv_job_control_missing=present
     51bash_cv_printf_a_format=yes
     52bash_cv_sys_named_pipes=present
     53bash_cv_ulimit_maxfds=yes
     54bash_cv_under_sys_siglist=yes
     55bash_cv_unusable_rtsigs=no
     56gt_cv_int_divbyzero_sigfpe=yes
     57EOF</userinput></screen>
    4258
    4359<para os="e">Prepare Bash for compilation:</para>
  • BOOK/final-system/common/findutils.xml

    rad97072 rf3a1e98  
    2828    <title>Installation of Findutils</title>
    2929
     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" &gt; config.cache
     34echo "gl_cv_header_working_fcntl_h=yes" &gt;&gt; config.cache
     35echo "ac_cv_func_fnmatch_gnu=yes" &gt;&gt; config.cache</userinput></screen>
     36
    3037    <para os="a">Prepare Findutils for compilation:</para>
    3138
    3239<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 \
    3442    --localstatedir=/var/lib/locate</userinput></screen>
    3543
  • BOOK/final-system/common/gawk.xml

    rad97072 rf3a1e98  
    3030<screen os="d"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    3131    --prefix=/usr --libexecdir=/usr/lib</userinput></screen>
    32 
    33     <para os="e">The <command>configure</command> script does not detect the
    34     following properly:</para>
    35 
    36 <screen os="f"><userinput>cat &gt;&gt; config.h &lt;&lt; "EOF"
    37 #define HAVE_LANGINFO_CODESET 1
    38 #define HAVE_LC_MESSAGES 1
    39 EOF</userinput></screen>
    4032
    4133    <para os="g">Compile the package:</para>
  • BOOK/final-system/common/inetutils.xml

    rad97072 rf3a1e98  
    8484          <para>This disables the installation of the various network
    8585          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>
    9287        </listitem>
    9388      </varlistentry>
  • BOOK/final-system/common/iproute2.xml

    rad97072 rf3a1e98  
    3434done</userinput></screen>
    3535
    36     <para os="s3">The <command>arpd</command> binary included in this package is
     36    <para os="cb1">The <command>arpd</command> binary included in this package is
    3737    dependent on Berkeley DB.  Because <command>arpd</command> is not a
    3838    very common requirement on a base Linux system, remove the dependency
    3939    on Berkeley DB by applying the <command>sed</command> command below.
    4040    If the <command>arpd</command> binary is needed, instructions for
    41     compiling Berkeley DB can be found in the BLFS Book at <ulink
    42     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>
    4343
    4444<screen os="s4"><userinput>cp misc/Makefile{,.orig}
     
    4747    <para os="a">Compile the package:</para>
    4848
    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>
    5053
    5154    <variablelist os="c">
     
    5356
    5457      <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
    5862          <filename class="directory">/sbin</filename>. This is the correct
    5963          location according to the FHS, because some of the IPRoute2 binaries
     
    6165        </listitem>
    6266      </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>
    6376    </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>
    7083
    7184  </sect2>
  • BOOK/final-system/common/man.xml

    rad97072 rf3a1e98  
    126126    not support multibyte character sets.</para>
    127127
    128     <para os="v">Additional information with regards to the compression of
    129     man and info pages can be found in the BLFS book at
    130     <ulink url="&blfs-root;view/svn/postlfs/compressdoc.html"/>.</para>
    131 
    132128  </sect2>
    133129
  • BOOK/final-system/common/readline.xml

    rad97072 rf3a1e98  
    5757<screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    5858
    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>
    6160
    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>
    6362
    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>
    6964    files in <filename class="directory">/lib</filename> and relink them into
    7065    <filename class="directory">/usr/lib</filename>.</para>
    7166
    72 <screen os="m"><userinput>rm -v ${CLFS}/lib/lib{readline,history}.so
     67<screen os="k"><userinput>rm -v ${CLFS}/lib/lib{readline,history}.so
    7368ln -sfv ../../lib/libreadline.so.5 ${CLFS}/usr/lib/libreadline.so
    7469ln -sfv ../../lib/libhistory.so.5 ${CLFS}/usr/lib/libhistory.so</userinput></screen>
  • BOOK/final-system/common/shadow.xml

    rad97072 rf3a1e98  
    2828    <note os="a">
    2929      <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"/>
    3131      for installing Cracklib prior to building Shadow. Then add
    3232      <parameter>--with-libcrack</parameter> to the <command>configure</command>
     
    6060      disables PAM support in Shadow. For instructions to install PAM and
    6161      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>
    6363    </varlistentry>
    6464    <varlistentry>
     
    163163    you create, you can edit <filename>/etc/default/useradd</filename>. See
    164164    <command>man useradd</command> or
    165     <ulink url="&blfs-root;view/svn/postlfs/skel.html"/> for more
     165    <ulink url="&cblfs-root;index.php/Configuring_for_Adding_Users"/> for more
    166166    information.</para>
    167167
  • BOOK/final-system/common/vim.xml

    rad97072 rf3a1e98  
    2525      <para>If you prefer another editor&mdash;such as Emacs, Joe, or
    2626      Nano&mdash;please refer to <ulink
    27       url="&blfs-root;view/svn/postlfs/editors.html"/>
     27      url="&cblfs-root;index.php/Category:Text_Editors"/>
    2828      for suggested installation instructions.</para>
    2929    </tip>
     
    103103    comes with a GUI version of the editor that requires X and some
    104104    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>
    108107
    109108  </sect2>
  • BOOK/general.ent

    rad97072 rf3a1e98  
    2323<!ENTITY clfs-root "http://cross-lfs.org/">
    2424<!ENTITY clfs-wiki "http://trac.cross-lfs.org/">
    25 <!ENTITY blfs-root "&lfs-root;blfs/">
     25<!ENTITY cblfs-root "http://cblfs.cross-lfs.org/">
    2626<!ENTITY faq-root "&clfs-wiki;wiki/faq">
    2727<!ENTITY hints-root "&lfs-root;hints/downloads/files/">
  • BOOK/partitioning/common/creatingfilesystem.xml

    rad97072 rf3a1e98  
    1616  journaling file systems are becoming increasingly popular. We will create
    1717  an <systemitem class="filesystem">ext2</systemitem> file system.
    18   Build instructions for other file systems can be found at
    19   <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>
    2020
    2121  <para os="b">To create an <systemitem class="filesystem">ext2</systemitem> file
  • BOOK/the-end/whatnow.xml

    rad97072 rf3a1e98  
    6262
    6363    <listitem>
    64       <para>Beyond Linux From Scratch</para>
     64      <para>Community Driven Beyond Linux From Scratch</para>
    6565
    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>
    6972    </listitem>
    7073
Note: See TracChangeset for help on using the changeset viewer.