Changeset 62f58c7a
- Timestamp:
- 01/25/2019 03:35:52 AM (6 years ago)
- Branches:
- bdubbs/svn
- Children:
- 9324b4e
- Parents:
- 25997c4a
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/rust.xml
r25997c4a r62f58c7a 80 80 installation before updating. You may wish to do the same to save space. 81 81 </para> 82 83 <para> 84 One alternative when working with multiple versions or just updating 85 to a new version is to place the files in the 86 <filename class="directory">/opt</filename> directory. The instructions 87 below provide optional commands to support better control of 88 new package versions or reinstallation of the current version. 89 </para> 82 90 </note> 83 91 … … 97 105 Rustc defaults to building for ALL supported architectures, using a 98 106 shipped copy of LLVM. In BLFS the build is only for the X86 architecture. 99 If you 100 intend to develop rust crates, this build may not be good enough for your 101 purposes. 107 If you intend to develop rust crates, this build may not be good 108 enough for your purposes. 102 109 </para> 103 110 <para> … … 181 188 182 189 <para> 183 First create a suitable <filename>config.toml</filename> file which will 190 If you are going to install into the 191 <filename class="directory">/opt</filename> directory, remove 192 conflicting entries. As the <systemitem class="username">root</systemitem> 193 user: 194 </para> 195 196 <screen><userinput>rm -rf /opt/rustc /opt/rustc-&rust-version;</userinput></screen> 197 198 <para> 199 Create a suitable <filename>config.toml</filename> file which will 184 200 configure the build. Unlike with previous releases, where even quite old 185 201 system versions of <application>LLVM</application>worked well, this … … 202 218 203 219 [build] 204 # omit iHTML docs to save time and space (comment this to build them)220 # omit HTML docs to save time and space (comment this to build them) 205 221 docs = false 206 222 … … 296 312 297 313 <para> 314 If installing in the <filename class="directory">/opt</filename> 315 directory, adjust the locations in the DESTDIR directory: 316 </para> 317 318 <screen><command>mkdir -p install/opt/rustc-&rust-version; && 319 mv install/usr/* install/opt/rustc-&rust-version; && 320 rmdir install/usr</command></screen> 321 322 <para> 298 323 Now, as the <systemitem class="username">root</systemitem> user 299 324 install the files from the DESTDIR: … … 302 327 <screen role="root"><userinput>chown -R root:root install && 303 328 cp -a install/* /</userinput></screen> 329 330 <para> 331 Finally, if the application is installed in the <filename 332 class="directory">/opt</filename> directory, create a symbolic link to 333 access the current version: 334 </para> 335 336 <screen role="root"><userinput>ln -sfnv rustc-&rust-version; /opt/rustc</userinput></screen> 337 338 <note> 339 <para> 340 If multiple versions of <application>Rust</application> are installed 341 in <filename class="directory">/opt</filename>, changing to another 342 version only requires changing the <filename> /opt/rustc</filename> 343 symbolic link. 344 </para> 345 </note> 346 304 347 305 348 </sect2> … … 389 432 390 433 </sect2> 434 435 <sect2 role="configuration"> 436 <title>Configuring Rust</title> 437 438 <sect3 id="rustc-config"> 439 <title>Configuration Information</title> 440 441 <para> 442 If you installed <application>rustc</application> in 443 <filename class="directory">/opt</filename>, you need to update the 444 following configuration files so that <application>ruxtc</application> is 445 correctly found by other packages and system processes. 446 </para> 447 448 <para> 449 As the <systemitem class="username">root</systemitem> user, update 450 the <filename>/etc/ld.so.conf</filename> file and the dynamic linker's 451 run-time cache file: 452 </para> 453 454 <screen role="root"><userinput>cat >> /etc/ld.so.conf << EOF 455 <literal># Begin rustc addition 456 457 /opt/rustc/lib 458 459 # End rustc addition</literal> 460 EOF 461 462 ldconfig</userinput></screen> 463 464 <indexterm zone="rustc rustc-config"> 465 <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary> 466 </indexterm> 467 468 <para> 469 As the <systemitem class="username">root</systemitem> user, create 470 the <filename>/etc/profile.d/rustc.sh</filename> file: 471 </para> 472 473 <screen role="root"><userinput>cat > /etc/profile.d/rustc.sh << "EOF" 474 <literal># Begin /etc/profile.d/rustc.sh 475 476 pathprepend /opt/rustc/bin PATH 477 478 # End /etc/profile.d/rustc.sh</literal> 479 EOF</userinput></screen> 480 481 <para>Immediately after installation, update the current PATH 482 for your current shell as a normal user:</para> 483 484 <screen><userinput>source /etc/profile.d/rustc.sh</userinput></screen> 485 486 </sect3> 487 </sect2> 488 391 489 392 490 <sect2 role="content"> -
introduction/welcome/changelog.xml
r25997c4a r62f58c7a 45 45 <para>January 24th, 2019</para> 46 46 <itemizedlist> 47 <listitem> 48 <para>[bdubbs] - Update to btrfs-progs-v4.20.1. Fixes 49 <ulink url="&blfs-ticket-root;11582">#11582</ulink>.</para> 50 </listitem> 51 <listitem> 52 <para>[bdubbs] - Update to x265_3.0. Fixes 53 <ulink url="&blfs-ticket-root;11584">#11584</ulink>.</para> 54 </listitem> 47 55 <listitem> 48 56 <para>[ken] - Update to rustc-1.32.0, needed for the forthcoming -
multimedia/libdriv/x265.xml
r25997c4a r62f58c7a 7 7 <!ENTITY x265-download-http "https://bitbucket.org/multicoreware/x265/downloads/x265_&x265-version;.tar.gz"> 8 8 <!ENTITY x265-download-ftp " "> 9 <!ENTITY x265-md5sum " 693ee4ce7929a59735f441107310f0bb">9 <!ENTITY x265-md5sum "8ff1780246bb7ac8506239f6129c04ec"> 10 10 <!ENTITY x265-size "1.3 MB"> 11 11 <!ENTITY x265-buildsize "35 MB"> -
packages.ent
r25997c4a r62f58c7a 48 48 49 49 <!-- Chapter 5 --> 50 <!ENTITY btrfs-progs-version "4.20 ">50 <!ENTITY btrfs-progs-version "4.20.1"> 51 51 <!ENTITY dosfstools-version "4.1"> 52 52 <!ENTITY fuse3-version "3.4.1"> … … 948 948 <!ENTITY v4l-utils-version "1.16.3"> 949 949 <!ENTITY x264-version "20180819-2245"> 950 <!ENTITY x265-version " 2.9">950 <!ENTITY x265-version "3.0"> 951 951 <!ENTITY xine-lib-version "1.2.9"> 952 952 <!ENTITY xvid-version "1.3.5"> -
postlfs/filesystems/btrfs-progs.xml
r25997c4a r62f58c7a 7 7 <!ENTITY btrfs-progs-download-http "&kernel-dl;/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v&btrfs-progs-version;.tar.xz"> 8 8 <!ENTITY btrfs-progs-download-ftp " "> 9 <!ENTITY btrfs-progs-md5sum " 1aaf4f4a306358a0d8c9afd238933589">9 <!ENTITY btrfs-progs-md5sum "9aa0a16236c7087ded08425c7256044f"> 10 10 <!ENTITY btrfs-progs-size "1.9 MB"> 11 <!ENTITY btrfs-progs-buildsize "55 MB (add 23MB for tests)">12 <!ENTITY btrfs-progs-time "0.2 SBU (add 7.2SBU for tests)">11 <!ENTITY btrfs-progs-buildsize "55 MB (add 105 MB for tests)"> 12 <!ENTITY btrfs-progs-time "0.2 SBU (add 10 SBU for tests)"> 13 13 ]> 14 14
Note:
See TracChangeset
for help on using the changeset viewer.