[tex-k] A small build system test (Was: Libtool and cxx-runtime-hack)

Peter Breitenlohner peb at mppmu.mpg.de
Tue Jan 20 19:12:52 CET 2009


On Mon, 19 Jan 2009, Karl Berry wrote:

>    Can you please forward the tarball to everyone doing a binary build
>    for such systems and ask them to test this new cxx-runtime-hack
>    mechanism (ASAP).
>
> I mailed tlbuild at tug.org with it.  (Perhaps you or others here would
> like to be on that list, BTW, lists.tug.org/tlbuild ...)

Hi Karl,

at the moment I can live without being on that list.

Attached is another small tarball for a modified build system:

First configure the top-level, libs/, libs/* and texk/kpathsea
(called texk/kpse in the tarball), i.e., all libraries.

Next build all that. The top-level make will then configure
utils/, utils/*, texk/, and texk/* (except texk/kpathsea), allowing
to run all sorts of tests using the uninstalled or system libraries.
Finally all that is built.

There is a README at the top-level.

The basic mechanism works (including 'make distcheck'). I have just started
to add configure options (via withenable.ac fragments). They are in
subdirectories libs/*/kpse/, utils/*/kpse/, and texk/*/kpse/ (except for
texk/kpathsea/withenable.ac).

There are two reasons for that:
(1) it allows to keep the old libs/*/withenable.ac while testing the new one
in libs/*/kpse/withenable.ac
(2) the files added to a package maintained somewhere else go into a
subdirectory -- easier to maintain.

All that is still rather preliminary, but I'd appreciate if you could test
it.  At this point certainly not yet for the tlbuild people, but if someone
else is interested .....  I'd appreciate comments.

The advantage of this new scheme is, that a package gets FLAGS to use the
uninstalled or system libraries and has (almost) full flexibility to do
whatever test are needed by that package.

The disadvantage is, that if a system library doesn't meet the requirements
the whole process fails (no possibility to switch to the included version at
such a late stage).

Regards
Peter Breitenlohner <peb at mppmu.mpg.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bld-test-1.0.tar.bz2
Type: application/octet-stream
Size: 484338 bytes
Desc: 
Url : http://tug.org/pipermail/tex-k/attachments/20090120/9ded62f9/attachment-0001.obj 


More information about the tex-k mailing list