[tex-live] location of t1* binaries

Thomas Esser te at dbs.uni-hannover.de
Wed Oct 6 17:39:42 CEST 2004


On Tue, Oct 05, 2004 at 04:21:52PM -0700, Eddie Kohler wrote:
> Thanks for the patch to lcdf-typetools configure.in.  I've implemented 
> a slightly different one; the entire configure.in is attached.  It 
> expects TeX Live to supply the configuration argument 
> '--with-kpathsea=texk-local'.

That's fine.

> Let me know if it fails for you.

It fails.

We want to be able to compile TeX Live outside the source dir, that's
why we need to pass
   -I../../../texk -I\$(srcdir)/../../../texk
and check for -d $srcdir/../../texk/kpathsea instead of -d
../../texk/kpathsea (sorry, that was my fault).

The static libkpathsea.a is created in the build directory, so
  -L\$(top_srcdir)/../../texk/kpathsea/.libs
does not help at all.

Next problem is
  AC_CHECK_HEADER(kpathsea/kpathsea.h, [kpse_header=yes], [kpse_header=no])
fails:
  configure:4750: gcc -E  -I$(top_srcdir)/../../texk conftest.c
  conftest.c:25:31: kpathsea/kpathsea.h: No such file or directory

AC_CHECK_LIB(kpathsea, kpse_set_program_name, [kpse_library=yes], [kpse_library=no])
fails, too:
  configure:5009: gcc -W -Wall -o conftest -g -O2  -I$(top_srcdir)/../../texk  -L$(top_srcdir)/../../texk/kpathsea/.libs conftest.c -lkpathsea   >&5
  /usr/bin/ld: cannot find -lkpathsea

In fact, the library does not exist at configure time, because we are
not building in stages.

The patch that I have send you does not try to find the header file or
the libraray if configuring together with a texk source tree. You might
try to check for the header file, but you have to take care of the right
relative path. configure runs at your top-level and the paths that I
have suggested work inside otftotfm where they are needed.

Don't you have a teTeX-beta? You can try to use that for these tests.
Just put your sources into utils/lcdf-typetools and try to build using
  mkdir -p /some/where/build
  cd /some/where/build
  with_kpathsea=texk-local /some/where/tetex-beta/configure
You might need to remove installed kpathsea headers and the installed
library from your system for a real test, though.

Thomas



More information about the tex-live mailing list