Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1546 by [email protected]: Error while compile ibus-xkb
http://code.google.com/p/ibus/issues/detail?id=1546

What version of the product are you using? On what operating system?
OS (Linux distributions, UNIX or ...):Ubuntu 12.10
Architecture (i386, x86_64):x86_64
IBus version:1.4.99
Input method name and version:ibus
Python version:2.7.3
dbus version:
dbus-python version:
gtk version (if bug is about gtk applications):
qt version (if bug is about qt applications):

What steps will reproduce the problem?
1.download the ibus-xkb-1.4.99.20120525.tar.gz from the download
2../configure --prefix=/usr
3.make

Then error occur. Did I do something wrong?

./configure --prefix=/usr  shows:
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 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 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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether make supports nested variables... yes
checking for gcc... (cached) 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 whether gcc and cc understand -c and -o together... yes
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking for valac... /usr/bin/valac
checking /usr/bin/valac is at least version 0.14... yes
checking whether make sets $(MAKE)... (cached) yes
checking for library containing strerror... none required
checking for ANSI C header files... (cached) yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc -std=gnu99... /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 how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64) 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 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 whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.14.2
checking for XML::Parser... ok
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for IBUS... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.0.0... yes (version 2.34.0)
checking for GLIB2... yes
checking for GOBJECT2... yes
checking for GIO2... yes
checking for GTHREAD2... yes
checking for GTK3... yes
checking for GDK3... yes
checking for vapigen... /usr/bin/vapigen
checking for GCONF... yes
checking for gconftool-2... /usr/bin/gconftool-2
Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
checking for X11... yes
checking for XKB... yes
checking X11/XKBlib.h usability... yes
checking X11/XKBlib.h presence... yes
checking for X11/XKBlib.h... yes
checking for LIBGNOMEKBDUI... yes
checking for ATK... yes
checking for gobject-introspection... no
checking for GCONF... yes
checking for gconftool-2... (cached) /usr/bin/gconftool-2
Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
checking for a Python interpreter with version >= 2.5... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/dist-packages checking for python extension module directory... ${exec_prefix}/lib/python2.7/dist-packages
checking for python2.7-config... /usr/bin/python2.7-config
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for locale.h... (cached) yes
checking for LC_MESSAGES... (cached) yes
checking for libintl.h... (cached) yes
checking for ngettext in libc... (cached) yes
checking for dgettext in libc... (cached) yes
checking for bind_textdomain_codeset... (cached) yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... (cached) yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for ISOCODES... yes
configure: creating ./config.status
config.status: creating po/Makefile.in
config.status: creating Makefile
config.status: creating ibus-xkb.pc
config.status: creating ibus-xkb.spec
config.status: creating bindings/Makefile
config.status: creating bindings/vala/Makefile
config.status: creating data/Makefile
config.status: creating data/dconf/Makefile
config.status: creating engine/Makefile
config.status: creating engine/ibus-xkb/Makefile
config.status: creating engine/xkb.xml.in
config.status: creating setup/Makefile
config.status: creating setup/ibus-setup-xkb
config.status: creating src/Makefile
config.status: creating ui/Makefile
config.status: creating ui/gtk3/Makefile
config.status: creating ui/gtk3/gtkxkbpanel.xml.in
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: executing po/stamp-it commands

Build options:
  Version                   1.4.99.20120525
  IBus Version              1.4.99.20121109
  Install prefix            /usr
  Build ui gtk3             yes
  Build python modules      yes
  Build gconf modules       yes
  Build dconf modules       no
  Build introspection       no
  IBus-1.0.gir scannerflags ""
  Build XKB                 yes (enabled, use --disable-xkb to disable)
Build libgnomebkd yes (enabled, use --disable-libgnomekbd to disable)

make shows:
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: 正在进入目录 `/home/zonyitoo/share/ibus-xkb-1.4.99.20120525'
Making all in src
make[2]: 正在进入目录 `/home/zonyitoo/share/ibus-xkb-1.4.99.20120525/src'
make[2]: 没有什么可以做的为 `all'。
make[2]:正在离开目录 `/home/zonyitoo/share/ibus-xkb-1.4.99.20120525/src'
Making all in bindings
make[2]: 正在进入目录 `/home/zonyitoo/share/ibus-xkb-1.4.99.20120525/bindings'
Making all in vala
make[3]: 正在进入目录 `/home/zonyitoo/share/ibus-xkb-1.4.99.20120525/bindings/vala'
make[3]: 没有什么可以做的为 `all'。
make[3]:正在离开目录 `/home/zonyitoo/share/ibus-xkb-1.4.99.20120525/bindings/vala' make[3]: 正在进入目录 `/home/zonyitoo/share/ibus-xkb-1.4.99.20120525/bindings'
make[3]: 没有什么可以做的为 `all-am'。
make[3]:正在离开目录 `/home/zonyitoo/share/ibus-xkb-1.4.99.20120525/bindings' make[2]:正在离开目录 `/home/zonyitoo/share/ibus-xkb-1.4.99.20120525/bindings'
Making all in engine
make[2]: 正在进入目录 `/home/zonyitoo/share/ibus-xkb-1.4.99.20120525/engine'
Making all in ibus-xkb
make[3]: 正在进入目录 `/home/zonyitoo/share/ibus-xkb-1.4.99.20120525/engine/ibus-xkb'
make[3]: 没有什么可以做的为 `all'。
make[3]:正在离开目录 `/home/zonyitoo/share/ibus-xkb-1.4.99.20120525/engine/ibus-xkb'
make[3]: 正在进入目录 `/home/zonyitoo/share/ibus-xkb-1.4.99.20120525/engine'
  GEN    xkb.xml
make[3]:正在离开目录 `/home/zonyitoo/share/ibus-xkb-1.4.99.20120525/engine'
make[2]:正在离开目录 `/home/zonyitoo/share/ibus-xkb-1.4.99.20120525/engine'
Making all in ui
make[2]: 正在进入目录 `/home/zonyitoo/share/ibus-xkb-1.4.99.20120525/ui'
Making all in gtk3
make[3]: 正在进入目录 `/home/zonyitoo/share/ibus-xkb-1.4.99.20120525/ui/gtk3'
/usr/bin/vapigen --metadatadir ../../ui/gtk3 --library gkbd \
            --pkg gtk+-3.0 --pkg glib-2.0 --pkg gmodule-2.0 \
             /usr/share/gir-1.0/Gkbd-3.0.gir
error: Package `GLib-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `GModule-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `GObject-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `Gio-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `cairo-1.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `xlib-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `GLib-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `GObject-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `GLib-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `GModule-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `GObject-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `Gio-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `cairo-1.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `GLib-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `GModule-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `GObject-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `Gio-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `GLib-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `GModule-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `GObject-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `Gio-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `cairo-1.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `xlib-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `GLib-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `GObject-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `cairo-1.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `GLib-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `GObject-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `xlib-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories
Generation failed: 29 error(s), 0 warning(s)
make[3]: *** [gkbd.vapi] 错误 1
make[3]:正在离开目录 `/home/zonyitoo/share/ibus-xkb-1.4.99.20120525/ui/gtk3'
make[2]: *** [all-recursive] 错误 1
make[2]:正在离开目录 `/home/zonyitoo/share/ibus-xkb-1.4.99.20120525/ui'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/home/zonyitoo/share/ibus-xkb-1.4.99.20120525'
make: *** [all] 错误 2

--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en

回复