Randy McMurchy wrote:
> ./configure --prefix=/usr \
> --bindir=/usr/share/texmf/bin \
> --sysconfdir=/etc/texlive \
> --mandir=/usr/share/texmf/man \
> --infodir=/usr/share/info \
> --disable-native-texlive-build \
> --enable-shared \
> --without-luatex \
> --enable-mktextex-default \
> --with-banner-add=" - BLFS" \
> --with-system-libgs \
> --with-libgs-includes=/usr/include/ghostscript \
> --with-system-xpdf \
> --with-system-gd \
> --with-system-freetype2 \
> --with-system-t1lib \
> --with-system-libpng \
> --with-system-zlib \
> --with-system-zziplib \
> --with-x
On a fresh svn install with *no* other pachages, this works for me:
./configure --prefix=/usr \
--bindir=/usr/share/texmf/bin \
--sysconfdir=/etc/texlive \
--mandir=/usr/share/texmf/man \
--infodir=/usr/share/info \
--disable-native-texlive-build \
--enable-shared \
--without-luatex \
--enable-mktextex-default \
--with-banner-add=" - BLFS" \
--without-x \
--disable-xdvipdfmx
I then had to add /usr/share/texmf/bin to my PATH:
# kpsewhich --expand-var '$SELFAUTOPARENT'
/usr/share
# kpsewhich --expand-var '$TEXMFCNF'
{/usr/share/texmf/bin,/usr/share/texmf,/usr/share}{,{/share,}/texmf{-local,}/web2c}
For the links, I needed:
for FN in `find /usr/share/texmf/bin -type l`; do
if [ `readlink $FN | grep "\.\./texmf"` ]; then
ln -svf `readlink $FN | sed 's|\.\./texmf|../../texmf|'` $FN
fi
done
Note the changes there in line 1: /usr/bin -> /usr/share/texmf/bin
and in line 3: ../share/texmf -> ../../texmf
For the configuration, I had:
fmtutil-sys --all
This is a summary of all `failed' messages:
`xetex -ini -jobname=cont-en -progname=context -8bit *cont-en.ini' failed
`xetex -ini -jobname=xetex -progname=xetex -etex xetex.ini' failed
`xetex -ini -jobname=xelatex -progname=xelatex -etex xelatex.ini' failed
but those are probably because TeXLive was not built with X and there is
no xetex program.
All the other configuration commands seemed to work without problems. I
don't know that I care for having the executables in a subdirectory of
/usr/share, but there are 137 programs, 50 scripts, and 84 links to
scripts in texmf-dist/scripts or texmf/scripts. I would really like to
keep most of these out of /usr/bin, perhaps /usr/bin/texmf or
/opt/texmf/bin would be better.
I haven't done it yet, but using the mandir above requires
/etc/man_db.conf to be updated if we want to easily find the man pages
for this package.
The more I think about it, the more I like the idea of using
--prefix=/opt/texmf for most of the files in this package.
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page