[tlbuild] Questions about texlive source

Bruce Dubbs bruce.dubbs at gmail.com
Mon Dec 5 20:20:51 CET 2011


Peter Breitenlohner wrote:
> On Sat, 3 Dec 2011, Bruce Dubbs wrote:
> 
>>> I believe Peter (Breitenlohner) has made the build system support
>>> shared libraries if you use --enable-shared (and maybe other configure
>>> flags), but I've never tried it.

>>> Peter also wrote quite a bit of information since the TL'11 release in
>>> new top-level README.distro, README.config, and other README.* files.

> the README.distro suggests to use, e.g. for x86_64-linux
>   --prefix=/usr/share
>   --bindir=/usr/bin
>   --libdir=/usr/lib64
> but unfortunately this requires the development sources (as of 
> 2011-09-09 or
> later).
> 
> For earlier versions (including the TL'11 release) you should use just
>   --prefix=/usr/share
> and then move the binaries from /usr/share/bin or /usr/share/ARCH/bin
> to /usr/bin and replace all (relative) symlinks by suitably adjusted ones.
> When using shared libraries you can also move them or even better specify
> the correct libdir (/usr/lib or /usr/lib64 or ...).
> 
> I would very strongly suggest to use a `staged install', i.e.
>   make DESTDIR=/SOME/PATH/PREFIX install-strip
> in order not to mess up your running system. Next you can move the 
> binaries,
> adjust the symlinks and so on.

I appreciate the advice.  What I put together is now at

http://www.linuxfromscratch.org/blfs/view/svn/pst/texlive.html

I decided to use the standard binary install in order to get started and 
then, if the user decides to rebuild the binaries, show instructions 
that can do that.  Since TL is very large, I felt that keeping things 
all in one directory made the most sense for LFS.

Feedback would be appreciated.

   -- Bruce


More information about the tlbuild mailing list