SUNOSでmake installした記録です。
gnuのmakeを使わないと途中でエラーを起こします。
[README][make][戻 る]

# make install

mkdir /usr/local/netpbm
for i in pbm pgm ppm pnm ; do \
    ( echo $i ; cd $i ; make  'CC=gcc' 'CFLAGS=-O'
'TIFFDEF=-DLIBTIFF' 'TIFFINC=-I../libtiff'
'TIFFLIB=../libtiff/libtiff.a' 'TIFFBINARIES=tifftopnm
pnmtotiff' 'TIFFOBJECTS=tifftopnm.o pnmtotiff.o' 'LDFLAGS=-s'
'INSTALLBINARIES=/usr/local/netpbm'
'INSTALLSCRIPTS=/usr/local/netpbm' install.merge ); \ 
done
pbm
make[1]: Entering directory `/src/netpbm/pbm'
cd /usr/local/netpbm ; rm -f atktopbm brushtopbm cmuwmtopbm
g3topbm icontopbm gemtopbm macptopbm mgrtopbm pbmclean pbmlife
pbmmake pbmmask pbmpscale pbmreduce pbmtext pbmto10x pbmto4425
pbmtoascii pbmtoatk pbmtobbnbg pbmtocmuwm pbmtoepsi pbmtoepson
pbmtog3 pbmtogem pbmtogo pbmtoicon pbmtolj pbmtoln03 pbmtolps
pbmtomacp pbmtomgr pbmtopi3 pbmtoplot pbmtoptx pbmtox10bm
pbmtoxbm pbmtoybm pbmtozinc pbmupc pi3topbm pktopbm xbmtopbm
ybmtopbm pbmtopk 
cp pbmmerge /usr/local/netpbm
cd /usr/local/netpbm ; for i in atktopbm brushtopbm cmuwmtopbm
g3topbm icontopbm gemtopbm macptopbm mgrtopbm pbmclean pbmlife
pbmmake pbmmask pbmpscale pbmreduce pbmtext pbmto10x pbmto4425
pbmtoascii pbmtoatk pbmtobbnbg pbmtocmuwm pbmtoepsi pbmtoepson
pbmtog3 pbmtogem pbmtogo pbmtoicon pbmtolj pbmtoln03 pbmtolps
pbmtomacp pbmtomgr pbmtopi3 pbmtoplot pbmtoptx pbmtox10bm
pbmtoxbm pbmtoybm pbmtozinc pbmupc pi3topbm pktopbm xbmtopbm
ybmtopbm pbmtopk ; do ln pbmmerge $i ; done 
rm -f /usr/local/netpbm/pbmmerge
make[1]: Leaving directory `/src/netpbm/pbm'
pgm
make[1]: Entering directory `/src/netpbm/pgm'
cd /usr/local/netpbm ; rm -f asciitopgm bioradtopgm fstopgm
hipstopgm lispmtopgm pbmtopgm pgmbentley pgmenhance pgmhist
pgmkernel pgmnoise pgmnorm pgmoil pgmramp pgmtofs pgmtolispm
pgmtopbm psidtopgm spottopgm pgmcrater pgmedge pgmtexture
rawtopgm 
cp pgmmerge /usr/local/netpbm
cd /usr/local/netpbm ; for i in asciitopgm bioradtopgm fstopgm
hipstopgm lispmtopgm pbmtopgm pgmbentley pgmenhance pgmhist
pgmkernel pgmnoise pgmnorm pgmoil pgmramp pgmtofs pgmtolispm
pgmtopbm psidtopgm spottopgm pgmcrater pgmedge pgmtexture
rawtopgm ; do ln pgmmerge $i ; done 
rm -f /usr/local/netpbm/pgmmerge
make[1]: Leaving directory `/src/netpbm/pgm'
ppm
make[1]: Entering directory `/src/netpbm/ppm'
cd /usr/local/netpbm ; rm -f bmptoppm gouldtoppm hpcdtoppm
ilbmtoppm imgtoppm mtvtoppm pcxtoppm pgmtoppm pi1toppm picttoppm
pjtoppm ppm3d ppmbrighten ppmchange ppmdim ppmdist ppmdither
ppmflash ppmhist ppmmake ppmmix ppmnorm ppmntsc ppmquant
ppmrelief ppmshift ppmspread ppmtoacad ppmtobmp ppmtogif
ppmtoicr ppmtoilbm ppmtomitsu ppmtopcx ppmtopgm ppmtopi1
ppmtopict ppmtopj ppmtopjxl ppmtopuzz ppmtorgb3 ppmtosixel
ppmtotga ppmtouil ppmtoxpm ppmtoyuv ppmtoyuvsplit qrttoppm
rawtoppm rgb3toppm sldtoppm spctoppm sputoppm tgatoppm ximtoppm
xpmtoppm xvminitoppm yuvtoppm yuvsplittoppm ppmforge ppmpat
ppmqvga ppmtomap 
cp ppmmerge /usr/local/netpbm
cd /usr/local/netpbm ; for i in bmptoppm gouldtoppm hpcdtoppm
ilbmtoppm imgtoppm mtvtoppm pcxtoppm pgmtoppm pi1toppm picttoppm
pjtoppm ppm3d ppmbrighten ppmchange ppmdim ppmdist ppmdither
ppmflash ppmhist ppmmake ppmmix ppmnorm ppmntsc ppmquant
ppmrelief ppmshift ppmspread ppmtoacad ppmtobmp ppmtogif
ppmtoicr ppmtoilbm ppmtomitsu ppmtopcx ppmtopgm ppmtopi1
ppmtopict ppmtopj ppmtopjxl ppmtopuzz ppmtorgb3 ppmtosixel
ppmtotga ppmtouil ppmtoxpm ppmtoyuv ppmtoyuvsplit qrttoppm
rawtoppm rgb3toppm sldtoppm spctoppm sputoppm tgatoppm ximtoppm
xpmtoppm xvminitoppm yuvtoppm yuvsplittoppm ppmforge ppmpat
ppmqvga ppmtomap ; do ln ppmmerge $i ; done 
rm -f /usr/local/netpbm/ppmmerge
cd /usr/local/netpbm ; rm -f ppmquantall
cp ppmquantall /usr/local/netpbm
cd /usr/local/netpbm ; chmod +x ppmquantall
make[1]: Leaving directory `/src/netpbm/ppm'
pnm
make[1]: Entering directory `/src/netpbm/pnm'
cd /usr/local/netpbm ; rm -f fitstopnm giftopnm pnmalias
pnmarith pnmcat pnmcomp pnmconvol pnmcrop pnmcut pnmdepth
pnmenlarge pnmfile pnmflip pnmhistmap pnminvert pnmnoraw pnmpad
pnmpaste pnmtile pnmtoddif pnmtofits pnmtops pnmtorast pnmtosgi
pnmtosir pnmtoxwd rasttopnm sgitopnm sirtopnm xwdtopnm
zeisstopnm pnmgamma pnmnlfilt pnmrotate pnmscale pnmshear
tifftopnm pnmtotiff 
cp pnmmerge /usr/local/netpbm
cd /usr/local/netpbm ; for i in fitstopnm giftopnm pnmalias
pnmarith pnmcat pnmcomp pnmconvol pnmcrop pnmcut pnmdepth
pnmenlarge pnmfile pnmflip pnmhistmap pnminvert pnmnoraw pnmpad
pnmpaste pnmtile pnmtoddif pnmtofits pnmtops pnmtorast pnmtosgi
pnmtosir pnmtoxwd rasttopnm sgitopnm sirtopnm xwdtopnm
zeisstopnm pnmgamma pnmnlfilt pnmrotate pnmscale pnmshear
tifftopnm pnmtotiff ; do ln pnmmerge $i ; done 
rm -f /usr/local/netpbm/pnmmerge
cd /usr/local/netpbm ; rm -f anytopnm pnmindex pnmmargin pnmsmooth pstopnm
cp anytopnm pnmindex pnmmargin pnmsmooth pstopnm /usr/local/netpbm
cd /usr/local/netpbm ; chmod +x anytopnm pnmindex pnmmargin pnmsmooth pstopnm
make[1]: Leaving directory `/src/netpbm/pnm'
for i in pbm pgm ppm pnm ; do \
    ( echo $i ; cd $i ; make  'TIFFBINARIES=tifftopnm pnmtotiff'
'INSTALLMANUALS1=/usr/local/man/man1' 'SUFFIXMANUALS1=1'
'INSTALLMANUALS3=/usr/local/man/man3' 'SUFFIXMANUALS3=3'
'INSTALLMANUALS5=/usr/local/man/man5' 'SUFFIXMANUALS5=5'
'MANCP=cp' install.man ); \ 
done
pbm
make[1]: Entering directory `/src/netpbm/pbm'
for i in atktopbm brushtopbm cmuwmtopbm g3topbm icontopbm
gemtopbm macptopbm mgrtopbm pbmclean pbmlife pbmmake pbmmask
pbmpscale pbmreduce pbmtext pbmto10x pbmto4425 pbmtoascii
pbmtoatk pbmtobbnbg pbmtocmuwm pbmtoepsi pbmtoepson pbmtog3
pbmtogem pbmtogo pbmtoicon pbmtolj pbmtoln03 pbmtolps pbmtomacp
pbmtomgr pbmtopi3 pbmtoplot pbmtoptx pbmtox10bm pbmtoxbm
pbmtoybm pbmtozinc pbmupc pi3topbm pktopbm xbmtopbm ybmtopbm
pbmtopk ; do \ 
    rm -f /usr/local/man/man1/$i.1 ; \
    cp $i.1 /usr/local/man/man1/$i.1 ; \
done
for i in libpbm ; do \
    rm -f /usr/local/man/man3/$i.3 ; \
    cp $i.3 /usr/local/man/man3/$i.3 ; \
done
for i in pbm ; do \
    rm -f /usr/local/man/man5/$i.5 ; \
    cp $i.5 /usr/local/man/man5/$i.5 ; \
done
make[1]: Leaving directory `/src/netpbm/pbm'
pgm
make[1]: Entering directory `/src/netpbm/pgm'
for i in asciitopgm bioradtopgm fstopgm hipstopgm lispmtopgm
pbmtopgm pgmbentley pgmenhance pgmhist pgmkernel pgmnoise
pgmnorm pgmoil pgmramp pgmtofs pgmtolispm pgmtopbm psidtopgm
spottopgm pgmcrater pgmedge pgmtexture rawtopgm ; do \ 
    rm -f /usr/local/man/man1/$i.1 ; \
    cp $i.1 /usr/local/man/man1/$i.1 ; \
done
for i in libpgm ; do \
    rm -f /usr/local/man/man3/$i.3 ; \
    cp $i.3 /usr/local/man/man3/$i.3 ; \
done
for i in pgm ; do \
    rm -f /usr/local/man/man5/$i.5 ; \
    cp $i.5 /usr/local/man/man5/$i.5 ; \
done
make[1]: Leaving directory `/src/netpbm/pgm'
ppm
make[1]: Entering directory `/src/netpbm/ppm'
for i in bmptoppm gouldtoppm hpcdtoppm ilbmtoppm imgtoppm
mtvtoppm pcxtoppm pgmtoppm pi1toppm picttoppm pjtoppm ppm3d
ppmbrighten ppmchange ppmdim ppmdist ppmdither ppmflash ppmhist
ppmmake ppmmix ppmnorm ppmntsc ppmquant ppmrelief ppmshift
ppmspread ppmtoacad ppmtobmp ppmtogif ppmtoicr ppmtoilbm
ppmtomitsu ppmtopcx ppmtopgm ppmtopi1 ppmtopict ppmtopj
ppmtopjxl ppmtopuzz ppmtorgb3 ppmtosixel ppmtotga ppmtouil
ppmtoxpm ppmtoyuv ppmtoyuvsplit qrttoppm rawtoppm rgb3toppm
sldtoppm spctoppm sputoppm tgatoppm ximtoppm xpmtoppm
xvminitoppm yuvtoppm yuvsplittoppm ppmforge ppmpat ppmqvga
ppmtomap ppmquantall ; do \ 
    rm -f /usr/local/man/man1/$i.1 ; \
    cp $i.1 /usr/local/man/man1/$i.1 ; \
done
for i in libppm ; do \
    rm -f /usr/local/man/man3/$i.3 ; \
    cp $i.3 /usr/local/man/man3/$i.3 ; \
done
for i in ppm ; do \
    rm -f /usr/local/man/man5/$i.5 ; \
    cp $i.5 /usr/local/man/man5/$i.5 ; \
done
make[1]: Leaving directory `/src/netpbm/ppm'
pnm
make[1]: Entering directory `/src/netpbm/pnm'
for i in fitstopnm giftopnm pnmalias pnmarith pnmcat pnmcomp
pnmconvol pnmcrop pnmcut pnmdepth pnmenlarge pnmfile pnmflip
pnmhistmap pnminvert pnmnoraw pnmpad pnmpaste pnmtile pnmtoddif
pnmtofits pnmtops pnmtorast pnmtosgi pnmtosir pnmtoxwd rasttopnm
sgitopnm sirtopnm xwdtopnm zeisstopnm pnmgamma pnmnlfilt
pnmrotate pnmscale pnmshear tifftopnm pnmtotiff anytopnm
pnmindex pnmmargin pnmsmooth pstopnm ; do \ 
    rm -f /usr/local/man/man1/$i.1 ; \
    cp $i.1 /usr/local/man/man1/$i.1 ; \
done
for i in libpnm ; do \
    rm -f /usr/local/man/man3/$i.3 ; \
    cp $i.3 /usr/local/man/man3/$i.3 ; \
done
for i in pnm ; do \
    rm -f /usr/local/man/man5/$i.5 ; \
    cp $i.5 /usr/local/man/man5/$i.5 ; \
done
make[1]: Leaving directory `/src//netpbm/pnm'