[Momonga-devel.ja:01691] Re: ビルドエラーいろいろ


eighthです。
もういっちょ。


>コンパイルエラー
>[gnome-print]
>gnome-font-install.c:26:20: parser.h: No such file or directory
>gnome-font-install.c:27:23: xmlmemory.h: No such file or directory
>gnome-font-install.c: In function `gfi_read_aliases':
>gnome-font-install.c:1474: warning: implicit declaration of function `xmlParseFi
>le'
>gnome-font-install.c:1474: warning: assignment makes pointer from integer withou
>t a cast
>gnome-font-install.c: In function `gfi_read_alias':
>gnome-font-install.c:1522: warning: implicit declaration of function `xmlFree'
>make[2]: *** [gnome-font-install.o] Error 1
>make[2]: Leaving directory `/root/pkgs/gnome-print/BUILD/gnome-print-0.37/instal
>ler'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/root/pkgs/gnome-print/BUILD/gnome-print-0.37'
>make: *** [all-recursive-am] Error 2
>error: Bad exit status from /var/tmp/rpm-tmp.90128 (%build)t

ちょっと推測入りますが、こんな解決方法はいかがでしょう。
gnome-font-install.cのコンパイルをOmoiKondara.logで見ると

make[2]: Entering directory `/home/ta/momonga/pkgs(改行します)
/gnome-print/BUILD/gnome-print-0.37/installer'
gcc -DHAVE_CONFIG_H ...
(略)
.. -I/usr/include/gnome-xml ...
(略)
.. -c gnome-font-install.c

これをしようとして上のエラーが出てるのかと思います。
その中で/usr/include/gnome-xmlを-Iしてます。
一方、libxml-devel(Zoo)(手元の1.8.17-5mで確認)は
  /usr/include/gnome-xml/parser.h
とが含まれているので、これをインストール
してみるのはどうでしょう。

#推測の上の推測で正しいかどうか分かりませんが。

--
eighth
balsa need libgnomeprint-2.2.pc(libgnomeprint)
balsa need libgnomeprintui2.2.pc(libgnomeprintui)