Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: meyer@risc4.physik.fu-berlin.de (Sebastian Meyer)
Subject: Re: Installing TeX xdvi under Ultrix 4.2's X11
Date: Thu, 16 Apr 1992 15:37:20 GMT	[thread overview]
Message-ID: <3MC2TMB@math.fu-berlin.de> (raw)
In-Reply-To: 1992Apr15.141314.18148@newshub.ccs.yorku.ca

jmuscat@nexus.yorku.ca (John Muscat) writes:

>I'm running Ultrix 4.2 on a decstation 5000/200 and am wondering whether it is
>possible to install the tex xdvi previewer using the Ultrix X11 libraries?
>I have tex 3.0 installed and am trying to install xdvi for X11R4 from 
>math.berkely.edu.       

>When I try compiling I get errors that some include files are missing, in
>particular:

>	cpp: error xdvi.c:88: Can't find include file X11/Viewport.h
>	cpp: error xdvi.c:90: Can't find include file X11/Command.h

>From another system I have found these include files are part of the MIT X11R4
>distribution. In order to install xdvi will I also have to install the MIT
>X11? I like to avoid this to save disk space and 4.2 already contains clients
>like xbiff, xedit, xdm, etc as well as twm.

No problem:
It's already there, but DEC hides it in /usr/include/mit/X11/. The
easiest way to make it compile is replacing

#include<X11/....>    by   #include<mit/X11/....> in the sources.

Now you include pure MIT X11 instead of that DECish staff. This would even
make your ANSI-C happy...... (Oh DEC!)

If you'd like to the real thing, here is Bob Heynis advice:

=======
From: heiney@wsl.dec.com (Bob Heiney)
Newsgroups: comp.unix.ultrix
Subject: Re: modifying Imake for mit vs of X.
Reply-To: heiney@wsl.dec.com (Bob Heiney)

cd /usr/lib/X11/config
cp Project.tmpl Project.tmpl.orig
cp site.def site.def.orig

Add the following line to the end of site.def:

	#define StandardIncludes -I/usr/include/mit

Edit Project.tmpl, replacing "-lX11" with "-lX11-mit", and replacing
"-lXext" with "-lXext-mit".

Now go to your sources and xmkmf, make Makefile, make.

=====
Note the Subject-line of his posting :-)

hope that helps.
sebastian
--
    __o     Sebastian Meyer <+49 30 838-6165> | FU Berlin, Physik
  _ \<,_    bastel@zaphod.physik.fu-berlin.de | Arnimallee 14   [Raum 1.1.34]
 (_)/ (_)    meyer@risc4.physik.fu-berlin.de  | D-1000 Berlin 33
~~~~~~~~~~ "To err is human, to really foul things up requires a computer"


       reply	other threads:[~1992-04-16 15:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1992Apr15.141314.18148@newshub.ccs.yorku.ca>
1992-04-16 15:37 ` Sebastian Meyer [this message]
1992-04-16 18:48   ` Installing TeX xdvi under Ultrix 4.2's X11 Ken Lee
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox