🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #1343

Re: Installing TeX xdvi under Ultrix 4.2's X11

#1343
From: Sebastian Meyer
Date: Thu, 16 Apr 1992 15:37
58 lines
2551 bytes
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"
Technical Details
Message-ID: <3MC2TMB@math.fu-berlin.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!risc4!meyer
References: <1992Apr15.141314.18148@newshub.ccs.yorku.ca>

Show Full Headers
Complete Article Headers
Newsgroups: comp.text.tex,comp.sys.dec,comp.unix.ultrix
Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!risc4!meyer
From: meyer@risc4.physik.fu-berlin.de (Sebastian Meyer)
Subject: Re: Installing TeX xdvi under Ultrix 4.2's X11
Message-ID: <3MC2TMB@math.fu-berlin.de>
Sender: news@math.fu-berlin.de (Math Department)
Organization: Free University of Berlin, Germany
References: <1992Apr15.141314.18148@newshub.ccs.yorku.ca>
Date: Thu, 16 Apr 1992 15:37:20 GMT
Lines: 58