tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: system PRIVILEGED account <root () daria ! ph ! flinders ! edu ! au>
To: tru64-unix-managers
Subject: SUMMARY How to install netpbm-1mar1994.p1 ?
Date: Sat, 11 Mar 2000 05:16:50 +0000	[thread overview]
Message-ID: <96079341819475.tru64-unix-managers.marc@archive.invalid> (raw)

> 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

                 reply	other threads:[~2000-03-11  5:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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