Jeremy Henty wrote:
> Bruce Dubbs wrote:
>
>> I can probably write instructions to move all this stuff around to the
>> proper locations,
OK, this is what I have:
./configure --prefix=/usr \
--disable-native-texlive-build \
--enable-shared \
--without-luatex \
--enable-mktextex-default \
--with-banner-add=" - BLFS" &&
make
make check
make DESTDIR=$PWD/livetex-tmp install &&
rm -v $PWD/livetex-tmp/usr/bin/man &&
for FN in $PWD/livetex-tmp/usr/bin `find -type l`; do
if [ `readlink $FN | grep "\.\./texmf"` ]; then
ln -svf `readlink $FN | sed 's|\.\./texmf|../share/texmf|'` $FN
fi
done &&
unset FN
As root:
cp -dRv livetex-tmp//usr/include/* /usr/include &&
cp -dRv livetex-tmp/usr/lib/* /usr/lib &&
cp -dRv livetex-tmp/usr/bin/* /usr/bin &&
cp -dRv livetex-tmp/usr/doc/man/* /usr/share/man &&
tar -xf ../texlive-20110705-texmf.tar.xz -C /usr/share \
--strip-components=1 &&
cp -dRv livetex-tmp/usr/texmf /usr/share/texmf &&
cp -dRv livetex-tmp/usr/texmf-dist /usr/share/texmf-dist &&
for INFO in livetex-tmp/usr/texmf/doc/info/*.info; do
install -v -m0644 $INFO /usr/share/info
intall-info --info-dir=/usr/share/info $INFO
done &&
unset INFO &&
DOCDIR="/usr/share/doc/texlive-20110705" &&
install -v -m755 -d $DOCDIR &&
for DOC in `find -name doc`; do
DIR=`echo $DOC | cut -d/ -f2-`
install -v -m755 -d $DOCDIR/$DIR
cp -dRv $DOC/* $DOCDIR/$DIR
done &&
unset DOC DIR DOCDIR &&
install -v -m1777 -d /var/lib/livetex/fonts &&
install -v -m755 -d /usr/share/texmf-{config,var,local} &&
ln -s -v ../../texmf/doc \
/usr/share/doc/texlive-20110705/texmf &&
ln -s -v ../../texmf-dist/doc \
/usr/share/doc/texlive-20110705/texmf-dist
This is a huge package. The build directory is 2.4G and the install is
another 2.7G. The instructions are probably the most complicated in
LFS/BLFS.
Would someone try this an check it out?
> I use TeX. I very much appreciate having instructions in the book.
>
> BTW, I had to hack texk/kpathsea/texmf.cnf some more to replace the
> $PATH* variables with something that worked. Otherwise texconfig
> falls over complaining about the lack of directories like "//texmf".
> Here's the sed:
>
> sed -i \
> -e '/^[^%]/s|{\$SELF[[:upper:]]*\(,\$SELF[[:upper:]]*\)*}|/usr|' \
> -e '/^[^%]/s|\$SELF[[:upper:]]*/lib|/usr/lib|' \
> -e '/^[^%]/s|\$SELF[[:upper:]]*/etc|/etc|' \
> -e '/^[^%]/s|\$SELF[[:upper:]]*|/usr/share|' \
> texk/kpathsea/texmf.cnf
This file appears to have changed a lot. It appears to be installed at
/usr/share/texmf/web2c/texmf.cnf and only references $SELFAUTOPARENT,
$SELFAUTOLOC, $SELFAUTODIR. I'm not sure if the instructions above
allow the file to be found or how to update it.
Suggestions welcome.
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page