[tlbuild] Questions about texlive source

Peter Breitenlohner peb at mppmu.mpg.de
Mon Dec 5 10:00:02 CET 2011


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.
>
> Right now I'm using
>
> --prefix=/usr                  \
> ...
>
> But I'm still exploring.
>
>> 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.
>
> I see that.  I'll study those and get back to you if there are more 
> questions.

Hi Bruce,

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.

Regards
Peter


More information about the tlbuild mailing list