[tex-live] (o)xdvi compilation problems HPUX 10.20

Stefan Ulrich stefan.ulrich@dsl.pipex.com
Fri, 18 Oct 2002 17:19:33 +0100

Karl Berry <karl@freefriends.org> writes:

> # -lXext may not be present, and that may be ok.  Link with it only if it is.
> if test -z "$x_ext_lib"; then # allow envvar override
>   AC_CHECK_LIB(Xext, XextCreateExtension,
>                x_ext_lib=-lXext, :, -lX11 $X_EXTRA_LIBS)
> fi
> AC_SUBST(x_ext_lib)

> So I conclude that different X distributions do this differently -- and
> that there is no -lXext on the system at hand.

Well, I think in that case we're lost: xdvi(k) itself doesn't use
the XShape* functions at all; it's probably Xaw that uses them.

(FWIW, Paul's configure in non-k xdvi just uses -lXext always
when -lXaw is used, which might be the right thing to do.)

So I guess that if we were to support a missing -lXext, we'd
need to disable the toolkit altogether. However compiling without
toolkit support isn't actively maintained in xdvik any more,
and we're actually planning to remove it altogether ...

So Lars, are you really missing a libXext.{so,a} on that system?
In that case there indeed appears to be a mismatch between libXaw
and the rest of your X installation.

BTW, another remark on
- you've still got these
   checking where the main texmf tree is located... not found
   configure: warning: The main texmf tree was not found.
warnings in there ...?