On Thu, Jun 18, 2015 at 08:20:04PM +0100, Ken Moffat wrote:
> 
> > >For the binary install, I suppose this can be achieved by doing the
> > >binary install, and then moving everything out of it, e.g.
> > >
> > >$pushd /opt/texlive/2015/bin
> > >$mv -v *-linux/* .
> > >$rmdir *-linux
> > >$popd

Nope, not that simple - I had overlooked the many symlinks to
../../texmf-dist/scripts.  Unfortunately, I'm now in a "it's it or
me!" life-or-death struggle (ok, that is a slight exaggeration) with
it.  But omitting the --bindir switch in from-source seems to do the
right thing (I've only done a DESTDIR, maybe there are other
pratfalls with that), so I would like to try manipulating the binary
install.

At the moment, I've twice installed the binaries into a user-writable
directory, attempted to cp [ -dp ] the files up, and then used some
sh/find/sed/awk/sed to change the ../../texmf-dist symlinks. The
first time, without a backup, I eventually discovered that all the
symlinks (not just the ../ variants) now pointed to
../../texmf-dist/scripts/psutils/extractres.pl (although the sed
had appeared to work when I fed it one target name).

The second time, I copied x86_64-linux/ to linux.bak/ (my attempt to
use cp -a *-linux{,.bak} copied them to (lterally) *-linux.bak/
which I had not expected).  But again, the symlinks in bin/ have
been similarly corrupted - and the same is true for both the
original x86_64-linux/ and linux.bak/ symlinks.

I'm giving up for tonight.  If this continues, I might leave texlive
for somebody who uses it.

ĸen
-- 
Nanny Ogg usually went to bed early. After all, she was an old lady.
Sometimes she went to bed as early as 6 a.m.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to