Changes in chapter08/util-linux.xml [0341ecc:3a72ffa]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/util-linux.xml
r0341ecc r3a72ffa 113 113 --> 114 114 </sect2> 115 116 <!-- - - - - - - - - - --> 117 <!-- Multilib - 32bit --> 118 <!-- - - - - - - - - - --> 119 120 <sect2 arch="ml_32,ml_all" role="installation"> 121 <title>Installation of Util-linux - 32-bit</title> 122 123 <para>Clean previous build:</para> 124 125 <screen><userinput remap="pre">make distclean</userinput></screen> 126 127 <para>Move a tool out of the way which is optionally used by 128 configure but will report invalid pathes for multilib builds.</para> 129 130 <screen><userinput remap="configure">mv /usr/bin/ncursesw6-config{,.tmp}</userinput></screen> 131 132 <para>Prepare Util-linux for compilation:</para> 133 134 <screen revision="sysv"><userinput remap="configure">CC="gcc -m32" \ 135 ./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ 136 --host=i686-pc-linux-gnu \ 137 --libdir=/usr/lib32 \ 138 --docdir=/usr/share/doc/util-linux-&util-linux-version; \ 139 --disable-chfn-chsh \ 140 --disable-login \ 141 --disable-nologin \ 142 --disable-su \ 143 --disable-setpriv \ 144 --disable-runuser \ 145 --disable-pylibmount \ 146 --disable-static \ 147 --without-python \ 148 --without-systemd \ 149 --without-systemdsystemunitdir</userinput></screen> 150 151 <screen revision="systemd"><userinput remap="configure">CC="gcc -m32" \ 152 ./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ 153 --host=i686-pc-linux-gnu \ 154 --libdir=/usr/lib32 \ 155 --docdir=/usr/share/doc/util-linux-&util-linux-version; \ 156 --disable-chfn-chsh \ 157 --disable-login \ 158 --disable-nologin \ 159 --disable-su \ 160 --disable-setpriv \ 161 --disable-runuser \ 162 --disable-pylibmount \ 163 --disable-static \ 164 --without-python</userinput></screen> 165 166 <para>Restore the tool previously moved away:</para> 167 168 <screen><userinput remap="configure">mv /usr/bin/ncursesw6-config{.tmp,}</userinput></screen> 169 170 <para>Compile the package:</para> 171 172 <screen><userinput remap="make">make</userinput></screen> 173 174 <para>Install the package:</para> 175 176 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install 177 cp -Rv DESTDIR/usr/lib32/* /usr/lib32 178 rm -rf DESTDIR</userinput></screen> 179 180 </sect2><!-- m32 --> 181 182 <!-- - - - - - - - - - --> 183 <!-- Multilib - x32bit --> 184 <!-- - - - - - - - - - --> 185 186 <sect2 arch="ml_x32,ml_all" role="installation"> 187 <title>Installation of Util-linux - x32-bit</title> 188 189 <para>Clean previous build:</para> 190 191 <screen><userinput remap="pre">make distclean</userinput></screen> 192 193 <para>Move a tool out of the way which is optionally used by 194 configure but will report invalid pathes for multilib builds.</para> 195 196 <screen><userinput remap="configure">mv /usr/bin/ncursesw6-config{,.tmp}</userinput></screen> 197 198 <para>Prepare Util-linux for compilation:</para> 199 200 <screen revision="sysv"><userinput remap="configure">CC="gcc -mx32" \ 201 ./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ 202 --host=x86_64-pc-linux-gnux32 \ 203 --libdir=/usr/libx32 \ 204 --docdir=/usr/share/doc/util-linux-&util-linux-version; \ 205 --disable-chfn-chsh \ 206 --disable-login \ 207 --disable-nologin \ 208 --disable-su \ 209 --disable-setpriv \ 210 --disable-runuser \ 211 --disable-pylibmount \ 212 --disable-static \ 213 --without-python \ 214 --without-systemd \ 215 --without-systemdsystemunitdir</userinput></screen> 216 217 <screen revision="systemd"><userinput remap="configure">CC="gcc -mx32" \ 218 ./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ 219 --host=x86_64-pc-linux-gnux32 \ 220 --libdir=/usr/libx32 \ 221 --docdir=/usr/share/doc/util-linux-&util-linux-version; \ 222 --disable-chfn-chsh \ 223 --disable-login \ 224 --disable-nologin \ 225 --disable-su \ 226 --disable-setpriv \ 227 --disable-runuser \ 228 --disable-pylibmount \ 229 --disable-static \ 230 --without-python</userinput></screen> 231 232 <para>Restore the tool previously moved away:</para> 233 234 <screen><userinput remap="configure">mv /usr/bin/ncursesw6-config{.tmp,}</userinput></screen> 235 236 <para>Compile the package:</para> 237 238 <screen><userinput remap="make">make</userinput></screen> 239 240 <para>Install the package:</para> 241 242 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install 243 cp -Rv DESTDIR/usr/libx32/* /usr/libx32 244 rm -rf DESTDIR</userinput></screen> 245 246 </sect2><!-- mx32 --> 115 247 116 248 <sect2 id="contents-utillinux" role="content">
Note:
See TracChangeset
for help on using the changeset viewer.