○ shar を開けるとお店を展げてしまうので、次のように directory を作っ
ておく
makoto@milano  22:30:01/991119(/home6/making)> mkdir nkf
makoto@milano  22:30:11/991119(/home6/making)> cd nkf
makoto@milano  22:30:12/991119(...making/nkf)> sh ../../tar_files/nkf-171.shar 
sed: --print-text-domain-dir: No such file or directory
x - creating lock directory
x - extracting nkf.doc (text)
x - extracting MANIFEST (text)
x - extracting Makefile (text)
x - extracting nkf.1 (text)
x - extracting nkf.1j (text)
x - extracting nkf.c (text)
x - extracting nkf_test.pl (text)
x - creating directory NKF
x - extracting NKF/Changes (text)
x - extracting NKF/MANIFEST (text)
x - extracting NKF/Makefile.PL (text)
x - extracting NKF/NKF.pm (text)
x - extracting NKF/NKF.xs (text)
x - extracting NKF/README (text)
x - extracting NKF/test.pl (text)
makoto@milano  22:30:37/991119(...making/nkf)> ls
MANIFEST     Makefile     NKF/         nkf.1        nkf.1j       nkf.c        nkf.doc      nkf_test.pl
makoto@milano  22:30:38/991119(...making/nkf)> make
cc -O -o nkf nkf.c
makoto@milano  22:32:47/991119(...making/nkf)> su 
Password:
# cp nkf /usr/local/bin
# exit

○ NKF に行って perl 部品を作る準備
makoto@milano  22:33:08/991119(...making/nkf)> cd NKF
makoto@milano  22:33:10/991119(...nkf/NKF)> perl Makefile.PL 
Checking if your kit is complete...
Looks good
Writing Makefile for NKF

○ make で作ってくれる
makoto@milano  22:33:28/991119(...nkf/NKF)> make

mkdir blib
mkdir blib/lib
cp NKF.pm blib/lib/NKF.pm
/usr/local/bin/perl -I/usr/local/lib/perl5/5.00503/sparc-netbsd -I/usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/5.00503/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/5.00503/ExtUtils/typemap NKF.xs >xstmp.c && mv xstmp.c NKF.c
cc -c   -O     -DVERSION=\"0.01\"  -DXS_VERSION=\"0.01\" -DPIC -fPIC -I/usr/local/lib/perl5/5.00503/sparc-netbsd/CORE  NKF.c
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/NKF
Running Mkbootstrap for NKF ()
chmod 644 NKF.bs
LD_RUN_PATH="" ld -o blib/arch/auto/NKF/NKF.so  -Bforcearchive -Bshareable  -L/usr/local/lib NKF.o     
chmod 755 blib/arch/auto/NKF/NKF.so
cp NKF.bs blib/arch/auto/NKF/NKF.bs
chmod 644 blib/arch/auto/NKF/NKF.bs
mkdir blib/lib/auto/NKF
mkdir blib/man3
Manifying blib/man3/NKF.3
makoto@milano  22:34:57/991119(...nkf/NKF)> su
Password:
# make install
Installing /usr/local/lib/perl5/site_perl/5.005/sparc-netbsd/auto/NKF/NKF.so
Installing /usr/local/lib/perl5/site_perl/5.005/sparc-netbsd/auto/NKF/NKF.bs
Files found in blib/arch --> Installing files in blib/lib into architecture dependend library tree!
Installing /usr/local/lib/perl5/site_perl/5.005/sparc-netbsd/NKF.pm
Installing /usr/local/lib/perl5/5.00503/man/man3/NKF.3
Writing /usr/local/lib/perl5/site_perl/5.005/sparc-netbsd/auto/NKF/.packlist
Appending installation info to /usr/local/lib/perl5/5.00503/sparc-netbsd/perllocal.pod
#