Changeset e88c73c for chapter06/systemd.xml
- Timestamp:
- 02/04/2014 11:36:05 PM (10 years ago)
- Branches:
- 7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- f8756ab
- Parents:
- 848907c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/systemd.xml
r848907c re88c73c 41 41 <title>Installation of Systemd</title> 42 42 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 > config.cache << "EOF" 47 <literal>KILL=/bin/kill 48 HAVE_BLKID=1 49 BLKID_LIBS="-lblkid" 50 BLKID_CFLAGS="-I/tools/include/blkid"</literal> 51 EOF</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 43 58 <para>Prepare Systemd for compilation:</para> 44 59 … … 48 63 --libexecdir=/usr/lib \ 49 64 --docdir=/usr/share/doc/systemd-&systemd-version; \ 65 --config-cache \ 50 66 --with-rootprefix= \ 51 67 --with-rootlibdir=/lib \ … … 58 74 59 75 <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> 61 86 <listitem> 62 87 <para>These switches ensure that core programs and … … 87 112 <para>Compile the package:</para> 88 113 89 <screen><userinput remap="make">make </userinput></screen>114 <screen><userinput remap="make">make LIBRARY_PATH=/tools/lib</userinput></screen> 90 115 91 116 <para>The package comes with a testsuite, but it doesn't work in … … 94 119 <para>Install the package:</para> 95 120 96 <screen><userinput remap="install">make install</userinput></screen>121 <screen><userinput remap="install">make LD_LIBRARY_PATH=/tools/lib install</userinput></screen> 97 122 98 123 <para>Install manual pages which are shipped in the tarball, but were
Note:
See TracChangeset
for help on using the changeset viewer.