Randy McMurchy wrote these words on 01/17/11 18:29 CST:
> If anybody has the time and about 5 gigabytes of available hard disk
> space, I sure would appreciate checking out the instructions. If you
> already have teTeX installed, this would present a challenge unless you
> can remove teTeX via package management.
> 
> I could probably provide instructions to do a complete removal of teTeX
> if anyone is interested.

I am not sure what I was thinking when I modified the code in my build
script to fit the LFS book. TeX Live installs numerous symlinks in the
bin directory during the installation. My build script sets bindir=
/usr/share/texmf/bin (I also put man pages in /usr/share/texmf/man). I
do this so the TeX installation is completely self-contained.

TeX Live installs the symlinks as file --> ../texmf/file

These symlinks are broken because there is nothing at /usr/texmf. I
put everything in /usr/share/texmf. So the installed symlinks must
be recreated. Here is new code I put in the TeX Live instructions a
few minutes ago. It should be correct, but I cannot really test it.

for FN in `find /usr/bin -type l`; do
    if [ `readlink $FN | grep "\.\./texmf"` ]; then
        ln -svf `readlink $FN | sed 's|\.\./texmf|../share/texmf|'` $FN
    fi
done &&
unset FN

If anyone sees a flaw in this logic, please reply with your correction.
Thanks!

-- 
Randy

rmlscsi: [bogomips 1003.24] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686]
10:15:00 up 4 days, 23:21, 1 user, load average: 0.84, 0.27, 0.09
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to