[tex-live] xdvi and X11R7.4 (cygwin)
Ken Brown
kbrown at cornell.edu
Fri Nov 21 01:05:19 CET 2008
Angelo Graziosi has reported [1] a successful build of texlive for
cygwin after some patches to the texlive source. Cygwin has just
undergone a massive X11 upgrade, from X11R6.99 to X11R7.4, and there are
now some problems (which may or may not all be cygwin-specific). Two
are easy to solve, but I'm stumped on the third:
1. Angelo's xdvi-xaw stopped working after the upgrade. This is because
it depended on xaw8, which is now considered obsolete. The fix is to
install cygwin's libXaw8 package. But this doesn't help with new
builds, leading me to the next two items.
2. An attempt to rebuild texlive under X11R7.4, using the same patches
that Angelo had used, failed while compiling xetex because of changes in
libfontconfig1. The fix (discovered by Angelo) is to replace the
earlier patch of xetex.mk (see [2]) by the following:
--- texlive-20080816-source.orig/texk/web2c/xetexdir/xetex.mk
2008-06-03 11:24:50.000000000 -0400
+++ texlive-20080816-source/texk/web2c/xetexdir/xetex.mk 2008-11-20
18:47:52.682928000 -0500
@@ -33,7 +33,9 @@
@XETEX_GENERIC@ XETEX_DEFINES = -DXETEX_OTHER
- at XETEX_GENERIC@ EXTRALIBS = @LDLIBXPDF@ @LDLIBPNG@ @LDFONTCONFIG@
+LOAD_FN_CFG = /usr/lib/libfontconfig.a -lz /usr/lib/libexpat.a
/usr/lib/libiconv.a lib/lib.a $(LDFREETYPE2)
+
+ at XETEX_GENERIC@ EXTRALIBS = @LDLIBXPDF@ @LDLIBPNG@ $(LOAD_FN_CFG)
@XETEX_GENERIC@ EXTRADEPS = @LIBXPDFDEP@ @LIBPNGDEP@
@@ -86,7 +88,7 @@
ICUDIR=../../libs/icu-xetex
ICUSRCDIR=$(srcdir)/$(ICUDIR)
-ICUCFLAGS = @ICUCPPFLAGS@ -DLE_USE_CMEMORY
+ICUCFLAGS = @ICUCPPFLAGS@ -DU_STATIC_IMPLEMENTATION
ZLIBCPPFLAGS = @ZLIBCPPFLAGS@
LDZLIB = @LDZLIB@
This allows the build to complete. Unfortunately,...
3. xdvi now segfaults, after printing many error messages that say (with
minor variations)
No type converter registered for '' to '
This happens whether I compile xdvi using xaw or motif, provided I run
xdvi with no arguments or with a specified dvi file. On the other hand,
xdvi --version and xdvi --help both work fine. I have no idea how to
debug this. I also don't know whether it is cygwin specific. Have
people successfully built xdvi on other systems running X11R7.4?
I would appreciate any suggestions on how to track down the problem. It
is of course not urgent for practical purposes, since I can continue to
use Angelo's binaries as mentioned above. But that isn't a good
solution for the long term.
Ken
[1] http://tug.org/pipermail/tex-live/2008-September/017825.html
[2] http://tug.org/pipermail/tlbuild/2008q3/000430.html
More information about the tex-live
mailing list