以下のようなエラーがでて,gconf2.so が作れない.
gcc -fPIC -O2 -march=i586 -funroll-loops -ffast-math -fstack-protector -fPIC -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/linc-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I~/rpm/BUILD/ruby-gnome2-0.5.0/glib/src -I. -I/usr/lib/ruby/1.6/i586-linux -I~/rpm/BUILD/ruby-gnome2-0.5.0/gconf/src -c -o rbgconf-entry.o rbgconf-entry.c distcc[15581] (dcc_preferred_hosts) Warning: $DISTCC_HOSTS is not defined; can't distribute work rbgconf-entry.c:46: 警告: `gconf_entry_copy' は非 static の後で static 宣言されています rbgconf-entry.c: 関数 `gconf_entry_copy' 内: rbgconf-entry.c:47: 仮引数 `entry' はプロトタイプに一致しません /usr/include/gconf/2/gconf/gconf-value.h:168: prototype declaration make[2]: *** [rbgconf-entry.o] エラー 1 make[2]: Leaving directory `~/rpm/BUILD/ruby-gnome2-0.5.0/gconf/src'
とりあえず,gconf は使わないので,spec file からはずしておく.