$ tar xvfz nkf-1.7.tar.gz $ cd nkf-1.7 |
CC = cc CFLAGS = -O2 ~~~修正 SHAR = shar -T |
$ make test cc -O2 -o nkf nkf.c perl nkf_test.pl 1..3 Can't locate NKF.pm in @INC (@INC contains: /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) at nkf_test.pl line 69. BEGIN failed--compilation aborted at nkf_test.pl line 69. not ok 1 make: *** [test] Error 2 |
$ make perl ( cd NKF ; \ perl5 Makefile.PL ; \ make ; \ make test ) /bin/sh: perl5: command not found make[1]: Entering directory `/usr/local/src/nkf-1.7/NKF' make[1]: *** No targets. Stop. make[1]: Leaving directory `/usr/local/src/nkf-1.7/NKF' make[1]: Entering directory `/usr/local/src/nkf-1.7/NKF' make[1]: *** No rule to make target `test'. Stop. make[1]: Leaving directory `/usr/local/src/nkf-1.7/NKF' make: *** [perl] Error 2 |
CC = cc CFLAGS = -O2 SHAR = shar -T # SHAR = shar PERL = perl ~~~~修正 |
$ make perl (snip) MIME test Next test is expeced to Fail. MIME decode (strict) Fail MIME decode (nonstrict)Ok MIME decode (unbuf) Ok MIME decode (base64) Ok MIME ISO-8859-1 (Q) Ok make[1]: Leaving directory `/usr/local/src/nkf-1.7/NKF' |
$ cd NKF $ su # make install # exit $ cd .. $ make test |
$ su # cp nkf /usr/local/bin # cp nkf.1 /usr/local/man/man1 # cp nkf.1j /usr/local/man/ja_JP.ujis/man1/nkf.1 # mkdir -p /usr/doc/nkf-1.7 # cp nkf.doc /usr/doc/nkf-1.7 # exit |
$ tar xvfz nkf204.tar.gz $ cd nkf204 $ make $ make perl $ make test $ su # cp ./nkf <適当なインストール先> # chown root:root <適当なインストール先>/nkf |