This page is written in japanese (ISO-2022-JP).

FFMHOB linux conference FAQ-02 (コンパイル)

[Q] xfreshtv のコンパイルでエラーがでるんですが

[A]
最近のカーネルで /usr/include/linux/fb.h が /usr/include/towns_fb.h に 名称が変わったのが原因です。 #include している箇所を変更すればOK。

[Q] Postgres95 のコンパイルでエラーがでるんですが

カーネル 2.0.1,Postgres95 1.08 のコンパイルの途中で つぎのエラーがでてしまうのですが。

yacc -d /usr/src/postgres95/src/backend/parser/gram.y make : /usr/bin/make :cannot execute binary file make[1]: *** [gram.c] Error126
[A]
yacc をインストールするか、 yacc のところを bison -y としてください。

[Q] linux 2.0.x で cb をコンパイルしようとすると `VRAM_SIZE' undeclared というエラーがでてしまいます。

[A]
cb.h の #include <linux/fb.h> #include <linux/towns_fb.h> に変更して下さい。

[Q] linux 2.0.x で mvclodk をコンパイルしようとすると ld: cannot open -lvgagl ...というエラーがでてしまいます。

[A]
Makefile 中の LFLAGS = -N という行をコメントアウトしてください。

[Q] xgnuplot のインストール方法を教えて下さい

[A]
以下のパッチを当てて下さい。 diff -r -x *~ xgpl.org/xgpl_funcs.tcl xgpl/xgpl_funcs.tcl 23c23 < -setgrid 1 -yscroll "$w.func.scroll set"] \ --- > -setgrid 1 -yscrollcommand "$w.func.scroll set"] \ diff -r -x *~ xgpl.org/xgpl_main.tcl xgpl/xgpl_main.tcl 152c152 < -yscroll "$w.ll.scrolly set" -xscroll "$w.ll.scrollx set"\ --- > -yscrollcommand "$w.ll.scrolly set" -xscrollcommand "$w.ll.scrollx set"\ 688c688 < -setgrid 1 -yscroll "$w.t.scroll set"] \ --- > -setgrid 1 -yscrollcommand "$w.t.scroll set"] \

[Q] Fudgit のインストール方法を教えて下さい

[A]
libs/dld/dlな内のdl.hと言うヘッダファイル中の #ifdef linux #define n_name n_un.n_name #endif をコメントアウトして下さい。

このページに関する、御意見、御質問、バグレポートなどは