From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9e16,fa840edddfb75614 X-Google-Attributes: gidf9e16,public X-Google-Thread: 10b612,f2f441ab666187b8,start X-Google-Attributes: gid10b612,public X-Google-Thread: 1164f8,f2f441ab666187b8,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-04-16 08:37:20 PST Xref: sparky comp.text.tex:6401 comp.sys.dec:2595 comp.unix.ultrix:3868 Newsgroups: comp.text.tex,comp.sys.dec,comp.unix.ultrix Path: 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 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 by #include 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"