工藤です。 SCIMとscim-bridgeのアップデートがアナウンスされましたので、 早速ソースを落としてビルドを試みました。 しかし、SCIMのビルド早々からエラーがでて中断しています。 エラーの内容を読むとlibtoolがらみの模様です。(ログを添付します) こちらはどのように対応すればよいでしょうか? ご教示願います。
実行中(%prep): /bin/sh -e /var/tmp/rpm-tmp.94617 Patch #9 (scim_panel_gtk-icon-size-fixes.patch): Patch #11 (scim-1.4.5-panel-menu-fixes.patch): Patch #14 (scim_x11_frontend-ic-focus-LTC27940-215953.patch): Patch #15 (scim-gtkimm-default-snooper-off-213796.patch): Patch #17 (scim-1.4.5-no-rpath-libdir.patch): Patch #19 (scim-1.4.7-remove-locale.patch): Patch #20 (scim-1.4.7-fix-fallback.patch): Patch #21 (scim-1.4.7-fix-capslock.patch): Patch #22 (scim-1.4.7-fix-gdm.patch): Patch #23 (scim-1.4.7-remove-help-frame.patch): Patch #25 (scim-1.4.7-timeout.patch): Patch #26 (scim-1.4.7-trayicon.patch): Patch #27 (scim-1.4.7-menu-pos.patch): Patch #28 (scim-1.4.7-xim-wrong-format.patch): Patch #29 (scim-1.4.7-bz462820.patch): Patch #30 (scim-1.4.7-imdkit-read-property-properly.patch): Patch #31 (scim-1.4.7-support-more-utf8-locales.patch): Patch #32 (scim-1.4.7-syslibltdl.patch): Patch #33 (scim-1.4.8-fix-dlopen.patch): Patch #100 (scim-1.4.8-vine.patch): 実行中(%build): /bin/sh -e /var/tmp/rpm-tmp.64797 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for style of include used by make... GNU checking for i686-pc-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for strerror in -lcposix... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for signed... yes checking for inline... inline checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for off_t... yes checking for size_t... yes checking for long long... yes checking for long double... yes checking for wchar_t... yes checking for wint_t... yes checking for inttypes.h... yes checking for stdint.h... yes checking for intmax_t... yes checking whether printf() supports POSIX/XSI format strings... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking whether integer division by zero raises SIGFPE... yes checking for unsigned long long... yes checking for inttypes.h... yes checking whether the inttypes.h PRIxNN macros are broken... no checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for stdint.h... (cached) yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for ptrdiff_t... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for asprintf... yes checking for fwprintf... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for snprintf... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for wcslen... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for __fsetlocking... yes checking whether _snprintf is declared... no checking whether _snwprintf is declared... no checking whether feof_unlocked is declared... yes checking whether fgets_unlocked is declared... no checking whether getc_unlocked is declared... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for bison... bison checking version of bison... 2.4.1, ok checking whether NLS is requested... yes checking whether included gettext is requested... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for i686-pc-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for i686-pc-linux-gnu-ar... no checking for ar... ar checking for i686-pc-linux-gnu-strip... no checking for strip... strip checking for i686-pc-linux-gnu-ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for i686-pc-linux-gnu-g++... no checking for i686-pc-linux-gnu-c++... no checking for i686-pc-linux-gnu-gpp... no checking for i686-pc-linux-gnu-aCC... no checking for i686-pc-linux-gnu-CC... no checking for i686-pc-linux-gnu-cxx... no checking for i686-pc-linux-gnu-cc++... no checking for i686-pc-linux-gnu-cl.exe... no checking for i686-pc-linux-gnu-FCC... no checking for i686-pc-linux-gnu-KCC... no checking for i686-pc-linux-gnu-RCC... no checking for i686-pc-linux-gnu-xlC_r... no checking for i686-pc-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for i686-pc-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for doxygen... no checking for dot... NO checking for dot... no checking for perl... /usr/bin/perl checking for xsltproc... /usr/bin/xsltproc checking for /usr/share/sgml/docbook/xsl-stylesheets/html/tldp-html.xsl... no checking for /usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl... no checking for /usr/share/xml/docbook/stylesheet/nwalsh/current/html/docbook.xsl... no checking for intltool >= 0.33... 0.33 found checking for perl... /usr/bin/perl checking for iconv... /usr/bin/iconv checking for msgfmt... /usr/bin/msgfmt checking for msgmerge... /usr/bin/msgmerge checking for xgettext... /usr/bin/xgettext checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for string.h... (cached) yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking hash_map usability... no checking hash_map presence... no checking for hash_map... no checking ext/hash_map usability... yes checking ext/hash_map presence... yes checking for ext/hash_map... yes checking for an ANSI C-conforming const... (cached) yes checking for inline... (cached) inline checking for size_t... (cached) yes checking size of char... 1 checking size of unsigned short int... 2 checking size of unsigned int... 4 checking size of unsigned long int... 4 checking size of unsigned long long int... 8 checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for nl_langinfo... yes checking for setlocale... (cached) yes checking for daemon... yes checking for opendir... yes checking for closedir... yes checking for readdir... yes checking for usleep... yes checking for nanosleep... yes checking for gethostbyname... yes checking for gethostbyname_r... yes checking for socket... yes checking for bind... yes checking for accept... yes checking for connect... yes checking for listen... yes checking for iconv... (cached) yes checking for iconv declaration... (cached) extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for i686-pc-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GTK2... yes checking for GTHREAD2... yes checking for X... libraries , headers checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes configure: creating ./config.status config.status: creating Makefile config.status: creating m4/Makefile config.status: creating intl/Makefile config.status: creating po/Makefile.in config.status: creating src/Makefile config.status: creating src/scim_types.h config.status: creating utils/Makefile config.status: creating data/Makefile config.status: creating data/icons/Makefile config.status: creating data/pixmaps/Makefile config.status: creating modules/Makefile config.status: creating modules/FrontEnd/IMdkit/Makefile config.status: creating modules/FrontEnd/Makefile config.status: creating modules/IMEngine/Makefile config.status: creating modules/Filter/Makefile config.status: creating modules/Config/Makefile config.status: creating modules/SetupUI/Makefile config.status: creating docs/scim.cfg config.status: creating docs/Makefile config.status: creating docs/manual/Makefile config.status: creating docs/manual/zh_CN/Makefile config.status: creating docs/manual/zh_CN/figures/Makefile config.status: creating configs/Makefile config.status: creating extras/Makefile config.status: creating extras/gtk2_immodule/Makefile config.status: creating extras/setup/Makefile config.status: creating extras/setup/scim-setup config.status: creating extras/panel/Makefile config.status: creating tests/Makefile config.status: creating intltool-extract config.status: creating intltool-merge config.status: creating intltool-update config.status: creating scim.pc config.status: creating scim-gtkutils.pc config.status: creating scim-x11utils.pc config.status: creating scim.spec config.status: creating config.h config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing depfiles commands config.status: executing libtool commands config.status: executing intltool commands Build options: Version 1.4.9 Install prefix /usr Build shared libs yes Build static libs no Build tests/* no Enable debug no Enable ld version script no Module options: Simple config module yes Socket config module yes X11 FrontEnd module yes Socket FrontEnd module yes RawCode IMEngine module yes Socket IMEngine module yes SCTC Filter module yes GTK2 Utility Library yes X11 Utility Library yes GTK2 IMModule yes GTK2 IMModule dir /usr/lib/gtk-2.0/immodules GUI Setup Utility yes GTK2 Panel GUI yes Enable TrayIcon yes /usr/bin/make all-recursive make[1]: ディレクトリ `/home/toshi/rpm/BUILD/scim-1.4.9' に入ります Making all in m4 make[2]: ディレクトリ `/home/toshi/rpm/BUILD/scim-1.4.9/m4' に入ります make[2]: `all' に対して行うべき事はありません. make[2]: ディレクトリ `/home/toshi/rpm/BUILD/scim-1.4.9/m4' から出ます Making all in intl make[2]: ディレクトリ `/home/toshi/rpm/BUILD/scim-1.4.9/intl' に入ります make[2]: `all' に対して行うべき事はありません. make[2]: ディレクトリ `/home/toshi/rpm/BUILD/scim-1.4.9/intl' から出ます Making all in src make[2]: ディレクトリ `/home/toshi/rpm/BUILD/scim-1.4.9/src' に入ります /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -I.. -I../src -I../intl -DSCIM_DATADIR=\"/usr/share/scim\" -DSCIM_LOCALEDIR=\"/usr/share/locale\" -DSCIM_SYSCONFDIR=\"/etc\" -DSCIM_LIBEXECDIR=\"/usr/lib/scim-1.0\" -DSCIM_ICONDIR=\"/usr/share/scim/icons\" -DSCIM_MODULE_PATH=\"/usr/lib/scim-1.0\" -O2 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fno-strict-aliasing -fno-schedule-insns2 -MT scim_backend.lo -MD -MP -MF .deps/scim_backend.Tpo -c -o scim_backend.lo scim_backend.cpp make[2]: ディレクトリ `/home/toshi/rpm/BUILD/scim-1.4.9/src' から出ます make[1]: ディレクトリ `/home/toshi/rpm/BUILD/scim-1.4.9' から出ます RPM ビルドエラー: mv: cannot stat `po/POTFILES': No such file or directory ./configure: line 29329: po/POTFILES.tmp: No such file or directory config.status: WARNING: 'intl/Makefile.in' seems to ignore the --datarootdir setting config.status: WARNING: 'po/Makefile.in.in' seems to ignore the --datarootdir setting config.status: WARNING: 'extras/setup/scim-setup.in' seems to ignore the --datarootdir setting config.status: WARNING: 'scim.pc.in' seems to ignore the --datarootdir setting config.status: WARNING: 'scim-gtkutils.pc.in' seems to ignore the --datarootdir setting config.status: WARNING: 'scim-x11utils.pc.in' seems to ignore the --datarootdir setting + /usr/bin/make ../libtool: line 841: X--tag=CXX: command not found ../libtool: line 874: libtool: ignoring unknown tag : command not found ../libtool: line 841: X--mode=compile: command not found ../libtool: line 1008: *** Warning: inferring the mode of operation is deprecated.: command not found ../libtool: line 1009: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ../libtool: line 1152: Xg++: command not found ../libtool: line 1152: X-DHAVE_CONFIG_H: command not found ../libtool: line 1152: X-I.: command not found ../libtool: line 1152: X-I..: command not found ../libtool: line 1152: X-I..: command not found ../libtool: line 1152: X-I../src: No such file or directory ../libtool: line 1152: X-I..: command not found ../libtool: line 1152: X-I../src: No such file or directory ../libtool: line 1152: X-I../intl: No such file or directory ../libtool: line 1152: X-DSCIM_DATADIR="/usr/share/scim": No such file or directory ../libtool: line 1152: X-DSCIM_LOCALEDIR="/usr/share/locale": No such file or directory ../libtool: line 1152: X-DSCIM_SYSCONFDIR="/etc": No such file or directory ../libtool: line 1152: X-DSCIM_LIBEXECDIR="/usr/lib/scim-1.0": No such file or directory ../libtool: line 1152: X-DSCIM_ICONDIR="/usr/share/scim/icons": No such file or directory ../libtool: line 1152: X-DSCIM_MODULE_PATH="/usr/lib/scim-1.0": No such file or directory ../libtool: line 1152: X-O2: command not found ../libtool: line 1152: X-m32: command not found ../libtool: line 1152: X-march=i386: command not found ../libtool: line 1152: X-mtune=generic: command not found ../libtool: line 1152: X-fasynchronous-unwind-tables: command not found ../libtool: line 1152: X-fno-strict-aliasing: command not found ../libtool: line 1152: X-fno-schedule-insns2: command not found ../libtool: line 1152: X-MT: command not found ../libtool: line 1152: Xscim_backend.lo: command not found ../libtool: line 1152: X-MD: command not found ../libtool: line 1152: X-MP: command not found ../libtool: line 1152: X-MF: command not found ../libtool: line 1152: X.deps/scim_backend.Tpo: No such file or directory ../libtool: line 1152: X-c: command not found ../libtool: line 1205: Xscim_backend.lo: command not found ../libtool: line 1210: libtool: compile: cannot determine name of library object from `': command not found make[2]: *** [scim_backend.lo] エラー 1 make[1]: *** [all-recursive] エラー 1 make: *** [all] エラー 2 エラー: /var/tmp/rpm-tmp.64797 の不正な終了ステータス (%build) /var/tmp/rpm-tmp.64797 の不正な終了ステータス (%build)