Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Re: Installing TeX xdvi under Ultrix 4.2's X11
       [not found] <1992Apr15.141314.18148@newshub.ccs.yorku.ca>
@ 1992-04-16 15:37 ` Sebastian Meyer
  1992-04-16 18:48   ` Ken Lee
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Meyer @ 1992-04-16 15:37 UTC (permalink / raw)


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"


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Installing TeX xdvi under Ultrix 4.2's X11
  1992-04-16 15:37 ` Installing TeX xdvi under Ultrix 4.2's X11 Sebastian Meyer
@ 1992-04-16 18:48   ` Ken Lee
  0 siblings, 0 replies; 2+ messages in thread
From: Ken Lee @ 1992-04-16 18:48 UTC (permalink / raw)


|> The
|> easiest way to make it compile is replacing
|> 
|> #include<X11/....>    by   #include<mit/X11/....> in the sources.

Actually, the easiest way is to just put -I/usr/include/mit in your Makefile.

-- 
Ken Lee
DEC Western Software Laboratory, Palo Alto, Calif.
Internet: klee@wsl.dec.com
uucp: uunet!decwrl!klee


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1992-04-16 18:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1992Apr15.141314.18148@newshub.ccs.yorku.ca>
1992-04-16 15:37 ` Installing TeX xdvi under Ultrix 4.2's X11 Sebastian Meyer
1992-04-16 18:48   ` Ken Lee

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