僕の備忘録(PC、UN*X、ネットワーク関連が中心)なんです。
自分の書いたところは適当(な時とか)に書き換えますので御了承を。
gimp-2.5.2を入れる準備。
BABLがmake install できたので、geglも。
$ ./configure \ --sysconfdir=/etc \ --localstatedir=/var (ry Building GEGL with prefix=/usr/local Optional features: GEGL docs: yes Build workshop: no Build website: no (asciidoc not found) SIMD: sse:yes mmx:yes Optional dependencies: GTK+: yes GIO: no (gio not found) Ruby: yes Lua: no (usable lua not found) Cairo: yes Pango: yes pangocairo: yes GDKPixbuf: yes JPEG: yes PNG: yes OpenEXR: no (usable OpenEXR not found) rsvg: yes SDL: yes asciidoc: no (asciidoc not found) enscript: no (enscript not found) graphviz: no (graphviz not found) avcodec: no (usable libavcodec not found) avformat: no (usable libavformat not found) V4L: yes
$ make (ry make[3]: Entering directory `$DIR/lib/gegl-0.0.18/docs' ../tools/create-reference.rb \ ../gegl/gegl.h \ ../gegl/buffer/gegl-buffer.h \ ../gegl/operation/gegl-operation.h api.html ../tools/create-reference.rb:325:in `block (2 levels) in <main>': \ broken EUC-JP string (ArgumentError) from ../tools/create-reference.rb:319:in `foreach' from ../tools/create-reference.rb:319:in `block in <main>' from ../tools/create-reference.rb:316:in `times' from ../tools/create-reference.rb:316:in `<main>' make[3]: *** [api.html] エラー 1 make[3]: Leaving directory `$DIR/lib/gegl-0.0.18/docs' make[2]: *** [all-recursive] エラー 1 make[2]: Leaving directory `$DIR/lib/gegl-0.0.18/docs' make[1]: *** [all-recursive] エラー 1 make[1]: Leaving directory `$DIR/lib/gegl-0.0.18' make: *** [all] エラー
export LANG=C 程度じゃ効果なし。broken US-ASCII string になっただけ。
ふと思いついて、sudo chmod 644 `which ruby`してビルドしなおすと通った。
geglは BLFSでNoteに入れた だけだが(NoteのPlamoはGimp-2.4.1で、geglは利用して いなかったようだ)、この時は事前に入れてあるruby-1.8.7のことなど 何も考えずにすんなりビルドできていた。
デスクトップに入れてあるruby-1.9.0のせいにするには、色々足りなすぎ。
NoteのPlamo-4.22(cairoやlibpangoなどが新しくなっている)でも追試してみた。
こちらはruby-1.8.6で、make中には何もエラーは出なかった。でも、
$ sudo make install (ry /usr/bin/install -c -T ./devhelp.css /usr/local/share/gtk-doc/html/gegl/gegl.css /usr/bin/install: オプションが違います -- T 詳しくは `/usr/bin/install --help' を実行して下さい. make[3]: *** [install-exec-local] エラー 1 make[3]: Leaving directory `/home/makoto/src/lib/gegl-0.0.18/docs' make[2]: *** [install-am] エラー 2 make[2]: Leaving directory `/home/makoto/src/lib/gegl-0.0.18/docs' make[1]: *** [install-recursive] エラー 1 make[1]: Leaving directory `/home/makoto/src/lib/gegl-0.0.18/docs' make: *** [install-recursive] エラー 1
install(1)自体は同じ(coreutils-5.2.1)だったのだけど。
リンクはご自由にどうぞ。でもURLや内容が変った場合はあしからず。