home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
EFFO
/
forum23.lzh
/
f23b
/
SOFTWARE
/
PDRAW
/
README.INSTALL
< prev
next >
Wrap
Text File
|
1992-01-15
|
1KB
|
44 lines
Installation Notes :
PDRAW includes X10 and X11 routines; unfortunately, these can't be compiled
together, so these routines have to be handled in the Makefile.
The easist way to compile is as follows :
(1) Use xmkmf to create the Makefile from Imakefile.
This automatically compiles with X11 code.
The X11 has been tested on X11R2 - X11R4, no major
problems encountered.
(2) If xmkmf doesn't work, use the Makefile or Makefile.X11 in the
original distribution (Makefile == Makefile.X11); these compile
with the "make" command, producing code that draws on X11.
(3) For both X11 and X10 binaries, compile using "make -f Makefile.orig"
(4) If the X11 libraries are not in /usr/include, then the
makefiles need to be modified.
(5) Questions to
ktoh@mascot.berkeley.edu
System Dependencies :
--------------------
In Makefile, Makefile.X11 and Makefile.orig, the "install" command assumes
the X-binaries are in /usr/X11/... ('cos that's where everything is on my
system!). These should be modified.
Also, the printer in main.c should be changed so that the default printer
is recognized by your system. This is not really necessary if the PRINTER
environment variable is set correctly (see pdraw.man)
/* printer type */
if ((ptr = getenv("PRINTER")) == NULL)
> strcpy(printer,"-Plp550M");
else
sprintf(printer,"-P%s",ptr);
fprintf(stdout," Default Printer = %s\n",printer);