[comp.sources.bugs] postscript previewer

man@ms.uky.edu (Manish Gupta) (02/22/90)

I am trying to install a postscript previewer on SUN. I have copied the
sources (original as well as 'fixes') from comp.sources.unix archives.
However, inspite of my following the procedure outlined, I am facing the
following problems:

1) When I run 'patch' on ps.diff.v1, I get the follwing error message:
'unable to assert:line 636 in pch.c'
and the 'patch' terminated there
2)
2) If I ignore that, and continue ahead with the other patches, I get
stuck in 'making' POSTSCRIPT. I get the following two error messages:
 'Don't know how to make hard.o' (I tried to overcome that by moving
pixwin.o to hard.o, as is being done in one of the other objects of make)
b) 'Can't find the include file X/Xlib.h (this is an include file in X.c)

b) 'Can't find the include file X/Xlib.h.(This is an include file in X.c)'

Finally, in the object POSTSCRIPT in the makefile, the command
'cc filenames...... -o -lm 'libs' ....'
is there. The compiler cribs something about unable to find 'libs' or
something like that.

I will greatly appreciate if anyone of you can let me know what to do.

Thanks in advance,
Manish Gupta,
U of Kentucky,
Lexington, KY

a)