Hi all,
There's a Trac ticket ( http://wiki.linuxfromscratch.org/blfs/ticket/2480 )
to replace TeTeX with TeX Live so I was fooling around with Tex Live a bit
and thought I'd throw some ideas out there.
In the ticket there's some scary stuff about how many patches are required,
but using the 2008 version I didn't use any and it built and installed OK.
Not sure why Fedora still appears to use the 2007 version and a gazillion
patches. Some patches are custom to Fedora such as patching out XPDF and
substituting system-installed poppler.
There's some tweaks still required in the main build (the 'source' tarball)
and I haven't looked at the 'texmf' or 'extra' tarballs, but those don't
get built, they just get installed. At least that's the way it was in TeTex
and I can't see it being any different for TeX Live. Especially considering
the 'texmf' tarball is 900MB in size (1.7GB unpacked)!
Anyway here's the configure command I used to build the 'source' tarball:
./configure --prefix=/home/rml/build/destdir/usr
--bindir=/home/rml/build/destdir/usr/bin/TeX
--disable-a4
--with-x
--without-xindy
--with-system-ncurses
--with-system-zlib
--with-system-pnglib
--with-system-t1lib
--with-system-freetype2
--with-freetype2-libdir=/usr/lib
--with-freetype2-include=/usr/include
--with-system-gd
--without-luatex
After configuring, I ran 'make' and 'make install'. 'make check'
bombed, presumably because it needs files from the 'texmf' tarball.
As I mentioned, I need to still do some tweaks as the following
directories are installed (unfortunately DESTDIR isn't supported):
destdir
destdir/usr
destdir/usr/include
destdir/usr/include/kpathsea
This is consistent with TeTex.
destdir/usr/share
destdir/usr/share/info
This is normal.
destdir/usr/share/texinfo
destdir/usr/share/texinfo/texinfo.dtd
destdir/usr/share/texinfo/texinfo.xsl
destdir/usr/share/texinfo/texinfo.cat
These are consistent with TeTex.
destdir/usr/share/man
destdir/usr/share/man/man1
destdir/usr/share/man/man5
This is normal.
destdir/usr/share/lcdf-typetools
destdir/usr/share/lcdf-typetools/7t.enc
destdir/usr/share/lcdf-typetools/glyphlist.txt
destdir/usr/share/lcdf-typetools/texglyphlist.txt
This is not included with TeTex
destdir/usr/share/texmf
destdir/usr/share/texmf/dvips
destdir/usr/share/texmf/bibtex
destdir/usr/share/texmf/texconfig
destdir/usr/share/texmf/doc
destdir/usr/share/texmf/xdvi
destdir/usr/share/texmf/dvipdfmx
destdir/usr/share/texmf/fonts
destdir/usr/share/texmf/web2c
This is essentially consistent with TeTex.
destdir/usr/texmf-dist
This needs to change to /usr/share/
destdir/usr/bin
destdir/usr/bin/TeX
I do this on purpose to separate the gazillion TeX programs
into its own directory which I include in the path. It built
and installed 286 programs. In my previous installation of
TeTex, it installed 131 programs.
destdir/usr/lib
destdir/usr/lib/i686-pc-linux-gnu
destdir/usr/lib/i686-pc-linux-gnu/libkpathsea.la
destdir/usr/lib/i686-pc-linux-gnu/libkpathsea.a
This is wrong but I think a --libdir will fix this so the library
is installed into /usr/lib.
destdir/usr/texmf
destdir/usr/texmf/scripts
This also need to be in /usr/share, probably in /usr/share/texmf
as that is what TeTex has.
If others can share information that can help us get this package up
and running, I would appreciate it. If it is information you know is
required, it wouldn't hurt to also add it to the Trac ticket along with
mentioning it as a reply to this mail.
--
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]
12:58:01 up 12 days, 5:21, 1 user, load average: 0.01, 0.02, 0.00
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page