[tlbuild] xdvi's dependency on libiconv

Mojca Miklavec mojca.miklavec.lists at gmail.com
Sun Apr 20 04:36:37 CEST 2014


Hi,

When checking the list of dependencies, I noticed that xdvi-xaw links
against libiconv which is absent (and apparently not needed) on
Solaris based on answers given in this forum
http://www.unix.com/solaris/226909-need-install-usr-lib-libiconv-so-2-solaris-sparc-64-bit-package.html.

>>>
The GNU libconv site states:
Quote:
This library provides an iconv() implementation, for use on systems
which don't have one, or whose implementation cannot convert from/to
Unicode.
Solaris definitely provides a iconv implementation that is able to
convert from/to Unicode so libiconv is not needed on Solaris.
<<<

I'm unable to run xdvi-xaw from TL 2013 and I'm almost sure that most
users wouldn't be able to run the binary compiled by me.

The same observation was apparently already made by Vladimir, see
    http://www.tug.org/pipermail/tex-live/2005-September/009002.html
but I don't know if the problem has ever been addressed.


After using the following hack:

--- Build/source/texk/xdvik/configure   (revision 33533)
+++ Build/source/texk/xdvik/configure   (working copy)
@@ -15488,6 +15488,7 @@
 # Checks for iconv

 # Check whether --with-iconv was given.
+with_iconv=no
 if test "${with_iconv+set}" = set; then :
   withval=$with_iconv;
 else

the resulting binaries doesn't link against libiconv any longer which
is the desired behaviour (but the patch is just a hack, a better patch
is needed).

I would be grateful if this could be fixed, so that libiconv wouldn't
be used at all unless there is a need for that.

Mojca



More information about the tlbuild mailing list