SUMMARY How to install netpbm-1mar1994.p1 ?

From: system PRIVILEGED account <root_at_daria.ph.flinders.edu.au>
Date: Sat, 11 Mar 2000 15:34:50 +1030 (CST)

> How to install netpbm-1mar1994 on a Digital Unix system has already been
> answered by this mailing list. However the newer patched distribution
> netpbm-1mar1994.p1 is quite different and cannot be built in the same way.
> Have people installed netpbm-1mar1994.p1 on True64? If so, how?

I received no replies, but finally managed to get it working as follows.

In the distribution directory (netpbm-1mar94.p1) do:
cp Makefile.std Makefile
cp ./pbm/Makefile.std ./pbm/Makefile
cp ./pgm/Makefile.std ./pgm/Makefile
cp ./pnm/Makefile.std ./pnm/Makefile
cp ./ppm/Makefile.std ./ppm/Makefile
cd libtiff
cp Makefile.sun Makefile
edit Makefile, change "COPTS= -g" to "COPTS= -O"
cd ..
edit Makefile
     define CC = cc, CFLAGS = -O -Olimit 600,
     change INSTALLBINARIES = /usr/local/netpbm according to taste --
     I prefer INSTALLBINARIES = /usr/local/bin
edit pbmplus.h,
     comment out "extern void srandom();" and "extern long random();"
     uncomment /* #define PGM_BIGGRAYS */
cd pgm
edit Makefile
     move pgmkernel form PORTBINARIES to MATHBINARIES
cd ../pnm
edit Makefile
     move pnmsmooth form SCRIPTS to PORTBINARIES
     add pnmsmooth.o to PORTOBJECTS
cd ..
make
make install
make clean

Boris Blankleider
Physics Dept
Flinders University
South Australia
Received on Sat Mar 11 2000 - 05:06:59 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT