jfbtermのビルドー継続

今朝、電車の中で昨日のビルドの続き。まずconfigureのファイルの中身を覗いてみて

am__api_version="1.4" 

こいつがautoconfigのバージョンを固定していたので、1.9に書き換えてみた。それからautoheaderの謎。

if (autoheader --version) < /dev/null > /dev/null 2>&1; then

ふむふむ。バージョンチェックですか。ファイルはちゃんとあるんだから動かない訳ないよな。

$ autoheader --version
Can't locate File/Path.pm in @INC 

\(^o^)/。またお前かwww本格的にこの病気を直さないといけないらしい。

$ ipkg list | grep perl | grep file
 --- snip--
perl-module-file-basename - 5.8.8-r25 - perl module file-basename
perl-module-file-checktree - 5.8.8-r25 - perl module file-checktree
perl-module-file-compare - 5.8.8-r25 - perl module file-compare
perl-module-file-copy - 5.8.8-r25 - perl module file-copy
perl-module-file-dosglob - 5.8.8-r25 - perl module file-dosglob
perl-module-file-find - 5.8.8-r25 - perl module file-find
perl-module-file-glob - 5.8.8-r25 - perl module file-glob
perl-module-file-path - 5.8.8-r25 - perl module file-path
 --- snip--

なんかいっぱいモジュールが出てきたけど、まぁfile-pathだけインストールしてみた。

$ ipkg install perl-module-file-path
$ ./configure
$ make
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wimplicit -Wreturn-type -Wunused -Wswitch
 -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow
 -Wpointer-arith -Wcast-qual -Wcast-align -c fbcommon.c
fbcommon.c: In function 'tfbm_open':
fbcommon.c:556: error: 'PAGE_MASK' undeclared (first use in this function)
fbcommon.c:556: error: (Each undeclared identifier is reported only once
fbcommon.c:556: error: for each function it appears in.)
fbcommon.c: In function 'tfbm_close':
fbcommon.c:611: error: 'PAGE_MASK' undeclared (first use in this function)
make: *** [fbcommon.o] Error 1

また謎のエラー。PAGE_MASKってとってもジェネラルなお名前過ぎて見当もつかないな。たぶん、frame bufferまわりの-devかカーネルか。そんなうちに目的地に到着。今日はここまで。