Ignore:
Timestamp:
02/04/2014 11:36:05 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
f8756ab
Parents:
848907c
Message:

Merge latest lfs svn, update to D-Bus 1.8.0, fix Systemd to build with latest lfs changes.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10454 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/systemd.xml

    r848907c re88c73c  
    4141    <title>Installation of Systemd</title>
    4242
     43    <para>First, create a file to allow Systemd to build when using Util-Linux
     44    built in Chapter 5:</para>
     45
     46<screen><userinput remap="pre">cat &gt; config.cache &lt;&lt; "EOF"
     47<literal>KILL=/bin/kill
     48HAVE_BLKID=1
     49BLKID_LIBS="-lblkid"
     50BLKID_CFLAGS="-I/tools/include/blkid"</literal>
     51EOF</userinput></screen>
     52
     53    <para>Aditionally, fix a build error when using Util-Linux built in
     54    Chapter 5:</para>
     55
     56<screen><userinput remap="pre">sed -i "s:blkid/::" src/udev/udev-builtin-blkid.c</userinput></screen>
     57
    4358    <para>Prepare Systemd for compilation:</para>
    4459
     
    4863            --libexecdir=/usr/lib \
    4964            --docdir=/usr/share/doc/systemd-&systemd-version; \
     65            --config-cache \
    5066            --with-rootprefix= \
    5167            --with-rootlibdir=/lib \
     
    5874
    5975      <varlistentry>
    60         <term><parameter>--with-root-*</parameter></term>
     76        <term><parameter>--config-cache</parameter></term>
     77        <listitem>
     78          <para>This switch tells the build system to use
     79          the <filename>config.cache</filename> file which
     80          was created earlier.</para>
     81        </listitem>
     82      </varlistentry>
     83
     84      <varlistentry>
     85        <term><parameter>--with-root*</parameter></term>
    6186        <listitem>
    6287          <para>These switches ensure that core programs and
     
    87112    <para>Compile the package:</para>
    88113
    89 <screen><userinput remap="make">make</userinput></screen>
     114<screen><userinput remap="make">make LIBRARY_PATH=/tools/lib</userinput></screen>
    90115
    91116    <para>The package comes with a testsuite, but it doesn't work in
     
    94119    <para>Install the package:</para>
    95120
    96 <screen><userinput remap="install">make install</userinput></screen>
     121<screen><userinput remap="install">make LD_LIBRARY_PATH=/tools/lib install</userinput></screen>
    97122
    98123    <para>Install manual pages which are shipped in the tarball, but were
Note: See TracChangeset for help on using the changeset viewer.