From: efung@cs.uq.oz.au (Eddie Fung)
Subject: Re: TeX, xdvi, etc
Date: 3 Feb 1994 04:33:04 GMT [thread overview]
Message-ID: <2ipuq1$a5b@uqcspe.cs.uq.oz.au> (raw)
In-Reply-To: 1994Jan31.031559.17712@news.qut.edu.au
stevei@anduril.fsc.qut.edu.au (Steve Imber) writes:
>I saw a post asking whether TeX, xdvi, etc would make under OSF/1.
Yes, xdvi and dvips is building fine. TeX needs some modifications.
What I did was:
TeX-3.14:
1. Edit site.h and change
typedef long integer
to
typedef int integer
2. I also undefined BSD.
(If you need Mf as well, do the following changes.)
3. Edit mf/MFwindow/x11.c
Add the following definitions at line 39:
typedef struct
{
unsigned int res_width;
unsigned int res_height;
Pixel res_fg;
Pixel res_bg;
} mf_res_struct, *mf_res_struct_ptr;
static mf_res_struct mt_res;
In the mf_resources structure, change the following:
(Cardinal)mf_width to XtOffset(mf_res_struct_ptr,res_width)
(Cardinal)mf_height to XtOffset(mf_res_struct_ptr,res_height)
(Cardinal)mf_fg to XtOffset(mf_res_struct_ptr,res_fg)
(Cardinal)mf_bg to XtOffset(mf_res_struct_ptr,res_bg)
Now search for "XtGetApplicationResources" and change the second
parameter to "(XtPointer)&mf_res".
Immediately following "XtGetApplicationResources", add the
following lines:
mf_width=mf_res.res_width;
mf_height=mf_res.res_height;
mf_fg=mf_res.res_fg;
mf_bg=mf_res.res_bg;
4. Edit common/texmf.c. At line 172, change "(long)" to "(time_t)".
5. Follow the standard procedure to build TeX.
Regards
Eddie
--
_____________________________________________________________
| Eddie Fung | Department of Computer Science |
| efung@cs.uq.oz.au | University of Queensland |
| (617) 365 2425 | Brisbane Qld 4072 Australia |
next prev parent reply other threads:[~1994-02-03 4:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-01-31 3:15 TeX, xdvi, etc Steve Imber
1994-02-01 17:58 ` TeX on OSF1?? Chris Stevenson
1994-02-03 4:33 ` Eddie Fung [this message]
1994-02-09 5:25 ` TeX, xdvi, etc Wuxu Peng
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