2009年1月5日月曜日

ptetexのUbuntuへのインストール。

ptetexをUbuntu 8.04で makeしてたらエラーが。
エラー内容


~中略~
[rewriting] /var/tmp/ptetex3/tetex-src-3.0/texk/pxdvik/configure

[rewriting] /var/tmp/ptetex3/tetex-src-3.0/texk/xdvik/configure

[--tetex--] configure

creating cache ./config.cache

checking whether make sets ${MAKE}... yes

checking for gcc... gcc

checking whether the C compiler (gcc ) works... yes

checking whether the C compiler (gcc ) is a cross-compiler... no

checking whether we are using GNU C... yes

checking whether gcc accepts -g... yes

checking for c++... c++

checking whether the C++ compiler (c++ ) works... yes

checking whether the C++ compiler (c++ ) is a cross-compiler... no

checking whether we are using GNU C++... yes

checking whether c++ accepts -g... yes

checking for flex... lex

checking for yywrap in -ll... no

configure: error: no working lexical scanner (lex/flex) found

make[1]: *** [stage4] エラー 1

make[1]: ディレクトリ `/home/matsumura/ptetex/ptetex3-20080616' から出ます



Those messages are stored in 'log-0105-1010'.



make: *** [all0] エラー 1



コンパイルに必要なソフトが足りなかっただけだった。
解決方法は下記。ちゃんとREADMEを読まなきゃ。


sudo apt-get install build-essential flex bison libxaw7-dev

参考サイト
Foamy Capriccio: Ubuntu 7.10(TeX編)

0 件のコメント: