On 9/30/19 1:15 PM, Ken Moffat via blfs-dev wrote:
On Mon, Sep 30, 2019 at 12:57:10PM -0500, Bruce Dubbs via blfs-dev wrote:
On 9/30/19 12:40 PM, Xi Ruoyao via blfs-dev wrote:
On 2019-09-30 12:37 -0500, Bruce Dubbs via blfs-dev wrote:
On 9/30/19 12:25 PM, Xi Ruoyao via blfs-dev wrote:
On 2019-09-30 19:22 +0200, Thomas Trepl via blfs-dev wrote:
Hi all,
Just a couple of comments on this -
so far i have built a nice Xfce system avoiding python2, gtk2 and
rustc at all and Xfce-4.14 builds/runs fine without gtk2. For librsvg
i use the old non-rust version 2.40.20 which still works pretty well -
ok, i know, thats not really the way to go but building gigabytes of
compiler stuff just for one lib?
But now, for firefox it seems that there's no way around. All of
browsers have downsides (epihani needs webkitgtk needs gtk2, falcon
needs Python2, seamonkey needs gtk2, firefox needs rustc,gtk2). All i
need is a good browser so unfortunatly i need to "die some kind of
death".
Firefox also needs python2 at the moment.
[...]
DESTDIR=${PWD}/install python3 ./x.py install
The error message "/opt/rustc-1.35.0 cannot be canonicalized" shows up HERE,
before the "cp" command creating /opt/rustc-1.35.0.
sudo chown -R root:root install
sudo cp -a install/* /
Right, The book explicitly says:
To install into the /opt directory, remove the symlink and create a new
directory (i.e. with a different name if trying a modified build). As the
root user:
mkdir /opt/rustc-1.35.0
ln -svfin rustc-1.35.0 /opt/rustc
FBBG
For the little it is worth, I also regularly get the error when my
prefix in the mozconfig doesn't match the current symlink. I do a
lot of switching about with versions from time to time, and don't
always manage to correct every reference - this week I managed to
wrongly change most of them in vim after correctly changing the
first one.
Just for technique, at the start of my rust script I do:
VER=1.35.0
...
# Remove current version and symlink if they exist
# Then recreate the empty destination directory and a new
# symlink
sudo rm -rf /opt/rustc-$VER /opt/rustc
sudo mkdir /opt/rustc-$VER
sudo ln -sv rustc-$VER /opt/rustc
...
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page