On 01/23/2019 08:15 PM, Ken Moffat via blfs-dev wrote:
/opt/something is fine for testing. /opt/rust-version would be
better (and allow the old version to be kept - just fix PATH up
manually and use one for building old versions, another for building
current and development) - see what you put in the librsvg ticket re
their changelog.
It might come to that, but for the moment I prefer to just have one
in the book, and to ensure that what we have works for all the
packages which need it. The extended testing is how I came up with
my current .sig.
I suggest
/opt/rustc-1.x.y
/opt/rustc -> rustc-1.x.y
Using this, the user has to only add /opt/rustc/lib to /etc/ld.so.conf
and to add /opt/rustc/bin to the PATH. Then if there are multiple
versions of rustc installed, reverting to an earlier version is only a
simple change to a symlink.
It also makes it easy to remove a test installation without polluting
/usr. I note that rustc-1.32.0-src/install is 716M. On my system right
now ~/.cargo is 747M so this package has the largest installed footprint
of any BLFS package (libreoffice is 756M, OpenJDK is 770M, kf5 is 740M;
I'm not sure about a complete texlive install).
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page