[tex-live] Problem with klibtool and/or kpathsea install on Mac OS X

Olaf Weber olaf@infovore.xs4all.nl
23 Oct 2002 20:08:47 +0200


Gerben Wierda writes:

> When klibtool installs libkpathsea in its libdir destination, the
> timestamp on the library file gets newer than the ranlib table of
> contents. As a result, a non-functional (linking against it will fail)
> libkpathsea.a is installed. As a result, a 'make extras' on TeX Live
> will always fail because this includes a kpathsea install and a
> reconfigure of ttf2pk, which checks for kpathsea (this while procedure
> is confused in itself, but let's not get into that)


> The kpathsea makefile sets the RANLIB variable, but this seems not to
> effect klibtool.


> To be able to install TeX Live on systems where the ranlib table of
> contents is checked against the file date, this needs to be
> fixed. Could anyone please do this (it is beyond my capabilities) and
> sync it with the TeX Live source.development repository? My TeX
> distribution and support for TeX on Mac OS X is stalled as long as
> this has not been fixed.

Does the following change make a difference?

Index: klibtool
===================================================================
RCS file: /usr/local/cvsroot/texk/texk/klibtool,v
retrieving revision 1.10
diff -u -r1.10 klibtool
--- klibtool    14 Jan 1999 18:56:54 -0000      1.10
+++ klibtool    23 Oct 2002 18:05:09 -0000
@@ -321,6 +321,10 @@
         fi
         ;;
 
+      *-*-darwin*)
+        STATIC_postinstall='$STATIC_ranlib $libdir/$lib_basename'
+        ;;
+
       *)
         echo "$0: $host_type not explicitly supported, using defaults." >&2
         ;;



> Thanks,

> G

> _______________________________________________
> tex-live mailing list
> tex-live@tug.org
> http://tug.org/mailman/listinfo/tex-live



-- 
Olaf Weber

               (This space left blank for technical reasons.)