============================================================================== 1) Create src/libpict.a You can choose make This will install libpict.a and pict.h in /usr/local/bin and /usr/local/include. (you can change this in Make.cnf) Or (recomended) you can edit Make.cnf to adjust it to your needs (while you can install libpict just with the top level Makefile, some of the utilities use Make.cnf) then, go to 'src' and type make install Note: Make.cnf uses bsdinstall. If you are in a system V, you should install the file 'bsdinstall' somewhere in your PATH ============================================================================== 2) Make the tools You will need an ANSI C compiler in order to make the utilities in the 'utils' directory. (If you didn't edit Make.cnf, you will have to do it now) ( cd utils ; make install ) ============================================================================== 3) Test the lib Change to testing and 'make test' (you can do this without the utils, but you wont be able to test PICT2 reading) If you get any error and you aren't in any of the supported systems, make sure you have defined LITEND if you have a 80x86 byte-sexed machine; and make sure you have defined p_byte /* 1 byte */ p_word /* 2 bytes */ p_long /* 4 bytes */ U_char /* 1 byte */ S_int /* 2 bytes */ L_int /* 4 bytes */ US_int /* 2 bytes */ correctly (this can be a problem if you are in a 64 bit machine different from Alpha Servers) ============================================================================== 4) Make the visualizers contrib/Gdp: For IRIX GL contrib/Mdp: X11 Motif contrib/Xdp: plain X11 contrib/Sdp: plain HP Starbase (for Xdp you can use jpeg-5b)