Sunbird を CentOS 5.3 に入れる

お約束の、Fedora rawhide から、SRPM を持ってくる。

sunbird-1.0-0.8.20090513hg.fc12.src.rpm

Mercurial...

[root@realcent00 mytemp]# rpmbuild -ba /usr/src/redhat/SPECS/sunbird.spec
エラー: ビルド依存性の失敗:
        libical-devel は sunbird-1.0-0.8.20090513hg.i386 に必要とされています
[root@realcent00 mytemp]#
[root@realcent00 mytemp]# rpmbuild -ba /usr/src/redhat/SPECS/sunbird.spec
+ /usr/bin/lzma -dc /usr/src/redhat/SOURCES/sunbird-1.0-20090513hg.tar.lzma
checking for cairo >= 1.6.0 freetype2 fontconfig... Requested 'cairo >= 1.6.0' but version of cairo is 1.2.4
configure: error: Library requirements (cairo >= 1.6.0 freetype2 fontconfig) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
*** Fix above errors and then restart with               "make -f client.mk build"
make[1]: *** [configure] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/sunbird-1.0'
make: *** [/usr/src/redhat/BUILD/sunbird-1.0/Makefile] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.74000 (%build)
gfxPangoFonts.cpp:1806: error: 'PangoFcFontKey' has not been declared
gfxPangoFonts.cpp: In function 'PangoFcFont* gfx_pango_font_map_create_font(PangoFcFontMap*, int*)':
gfxPangoFonts.cpp:1808: error: 'pango_fc_font_key_get_pattern' was not declared in this scope
gfxPangoFonts.cpp: In function 'void gfx_pango_font_map_class_init(gfxPangoFontMapClass*)':
gfxPangoFonts.cpp:1832: error: invalid conversion from 'PangoFcFont* (*)(PangoFcFontMap*, int*)' to 'PangoFcFont* (*)(PangoFcFontMap*, PangoContext*, const PangoFontDescription*, FcPattern*)'
[root@realcent00 SPECS]# rpmbuild -ba pango.spec
エラー: ビルド依存性の失敗:
        glib2-devel >= 2.17.3-1 は pango-1.25.1-7.i386 に必要とされています
        fontconfig-devel >= 2.6 は pango-1.25.1-7.i386 に必要とされています
        libthai-devel >= 0.1.9 は pango-1.25.1-7.i386 に必要とされています
[root@realcent00 SPECS]#

さすがにこれ以上は、断念。

sunbird-0.9-3.fc10.src.rpm
を持ってきて再挑戦。

入った。

んが、50M の実行バイナリ作るのに、1.5G も食うってのは・・・