bison-1.875

[サーバの実験室 Slackware]

作成 : 2003/01/05

"サーバの実験室"の検索


bison とは、ファイルの文法仕様を読み取って、パーサを生成するツールらしい。 (よくわからん)

最終的に bison-1.875 のインストールに必要になったパッケージ

m4-1.4

bison-1.875 の入手と展開

bison-1.875 のソースを、sunsite からもらってくる。 /usr/local/src とかに置いて、展開。

# gunzip -cd bison-1.875.tar.gz | tar xvf -

configure

作成された bison-1.875 ディレクトリの中で、configure。

# cd bison-1.875
# ./configure
....
checking for m4... no
checking whether m4 supports frozen files... no
configure: error: GNU M4 1.4 is required

m4 がないと怒られるので、m4 をインストール。 (m4-1.4 を見てね) そして、configure。

# ./configure

make

make。

# make

make install

make install。

# make install

make install をつけておく。


[サーバの実験室 slackware]