[HOME] [戻る]

玄箱インストールmemo(groff)

目次

groff-1.19.1.tar.gz

玄箱にはマニュアルページが入っていないのでインストールします。manコマンドが内部的に使用します。

ソースファイルの取得


コンパイル

ソースの展開

tar zxf /groff-1.19.1.tar.gz
cd groff-1.19.1/

コンフィグ

./configure --prefix=/usr

コンパイル&インストール

$ date
Sun Jan 23 21:42:15 JST 2005

$ make && date
...
...
Sun Jan 23 21:55:47 JST 2005

$ su
# make install

cd /usr/bin
strip -p  groffer  grap2graph  eqn2graph pic2graph mmroff nroff
strip -p  grog afmtodit pfbtops addftinfo lkbib indxbib lookbib
strip -p  hpftodit tfmtodit grolbp post-grohtml grolj4 grodvi
strip -p  grotty grops pre-grohtml soelim refer grn neqn
strip -p  eqn pic tbl troff groff
【strip前】
# cd /usr/bin
# ls -lt | more
-rwxr-xr-x    1 root     root         2427 Jan 23 21:58 grap2graph
-rwxr-xr-x    1 root     root       114582 Jan 23 21:58 groffer
-rwxr-xr-x    1 root     root         2676 Jan 23 21:58 eqn2graph
-rwxr-xr-x    1 root     root         3014 Jan 23 21:58 pic2graph
-rwxr-xr-x    1 root     root         2974 Jan 23 21:58 mmroff
-rwxr-xr-x    1 root     root         2259 Jan 23 21:58 nroff
-rwxr-xr-x    1 root     root       165346 Jan 23 21:58 afmtodit
-rwxr-xr-x    1 root     root         2470 Jan 23 21:58 grog
-rwxr-xr-x    1 root     root        27985 Jan 23 21:58 pfbtops
-rwxr-xr-x    1 root     root       107577 Jan 23 21:58 addftinfo
-rwxr-xr-x    1 root     root       179210 Jan 23 21:58 lkbib
-rwxr-xr-x    1 root     root       135063 Jan 23 21:58 indxbib
-rwxr-xr-x    1 root     root       179021 Jan 23 21:58 lookbib
-rwxr-xr-x    1 root     root       220841 Jan 23 21:58 hpftodit
-rwxr-xr-x    1 root     root       105114 Jan 23 21:58 tfmtodit
-rwxr-xr-x    1 root     root       376630 Jan 23 21:58 grolbp
-rwxr-xr-x    1 root     root       506789 Jan 23 21:58 post-grohtml
-rwxr-xr-x    1 root     root       312117 Jan 23 21:58 grolj4
-rwxr-xr-x    1 root     root       320071 Jan 23 21:58 grodvi
-rwxr-xr-x    1 root     root       316471 Jan 23 21:58 grotty
-rwxr-xr-x    1 root     root       439693 Jan 23 21:58 grops
-rwxr-xr-x    1 root     root       170251 Jan 23 21:58 pre-grohtml
-rwxr-xr-x    1 root     root       122521 Jan 23 21:58 soelim
-rwxr-xr-x    1 root     root       484029 Jan 23 21:58 refer
-rwxr-xr-x    1 root     root       228658 Jan 23 21:58 grn
-rwxr-xr-x    1 root     root       438808 Jan 23 21:58 eqn
-rwxr-xr-x    1 root     root          270 Jan 23 21:58 neqn
-rwxr-xr-x    1 root     root       570262 Jan 23 21:58 pic
-rwxr-xr-x    1 root     root       359998 Jan 23 21:58 tbl
-rwxr-xr-x    1 root     root      1506385 Jan 23 21:58 troff
-rwxr-xr-x    1 root     root       245468 Jan 23 21:58 groff

【strip後】
# cd /usr/bin
# ls -lt | more
-rwxr-xr-x    1 root     root         2427 Jan 23 21:58 grap2graph
-rwxr-xr-x    1 root     root       114582 Jan 23 21:58 groffer
-rwxr-xr-x    1 root     root         2676 Jan 23 21:58 eqn2graph
-rwxr-xr-x    1 root     root         3014 Jan 23 21:58 pic2graph
-rwxr-xr-x    1 root     root         2974 Jan 23 21:58 mmroff
-rwxr-xr-x    1 root     root         2259 Jan 23 21:58 nroff
-rwxr-xr-x    1 root     root       165346 Jan 23 21:58 afmtodit
-rwxr-xr-x    1 root     root         2470 Jan 23 21:58 grog
-rwxr-xr-x    1 root     root         6420 Jan 23 21:58 pfbtops
-rwxr-xr-x    1 root     root        21356 Jan 23 21:58 addftinfo
-rwxr-xr-x    1 root     root        34184 Jan 23 21:58 lkbib
-rwxr-xr-x    1 root     root        27332 Jan 23 21:58 indxbib
-rwxr-xr-x    1 root     root        34264 Jan 23 21:58 lookbib
-rwxr-xr-x    1 root     root       103324 Jan 23 21:58 hpftodit
-rwxr-xr-x    1 root     root        21536 Jan 23 21:58 tfmtodit
-rwxr-xr-x    1 root     root        88148 Jan 23 21:58 grolbp
-rwxr-xr-x    1 root     root       138960 Jan 23 21:58 post-grohtml
-rwxr-xr-x    1 root     root        74420 Jan 23 21:58 grolj4
-rwxr-xr-x    1 root     root        76776 Jan 23 21:58 grodvi
-rwxr-xr-x    1 root     root        74920 Jan 23 21:58 grotty
-rwxr-xr-x    1 root     root       117064 Jan 23 21:58 grops
-rwxr-xr-x    1 root     root        39968 Jan 23 21:58 pre-grohtml
-rwxr-xr-x    1 root     root        24240 Jan 23 21:58 soelim
-rwxr-xr-x    1 root     root       120828 Jan 23 21:58 refer
-rwxr-xr-x    1 root     root        61176 Jan 23 21:58 grn
-rwxr-xr-x    1 root     root       138620 Jan 23 21:58 eqn
-rwxr-xr-x    1 root     root          270 Jan 23 21:58 neqn
-rwxr-xr-x    1 root     root       215388 Jan 23 21:58 pic
-rwxr-xr-x    1 root     root       105080 Jan 23 21:58 tbl
-rwxr-xr-x    1 root     root       452588 Jan 23 21:58 troff
-rwxr-xr-x    1 root     root        57508 Jan 23 21:58 groff

環境変数の設定

# vi /etc/profile
export GROFF_NO_SGR=1
# su - (username)
$ echo $GROFF_NO_SGR
1

2005/01/23
ご意見・ご感想は,こちらの掲示板 まで.