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

New issue 368 by GNUyhlfh: [bug] ibus table 的 pkg-config
http://code.google.com/p/ibus/issues/detail?id=368

What version of the product are you using? On what operating system?
OS (Linux distributions, UNIX or ...): Debian Sid
iBus version: 1.1.0.20090423
Python version: 2.5
dbus version: 1.2.12
dbus-python version: 0.83.0

What steps will reproduce the problem?
1. 编译 ibus
2. 编译 ibus-table
3. 编译 ibus-table-wubi

What is the expected output? What do you see instead?

编译 ibus-table-wubi 提示:
checking for IBUS_TABLE... configure: error: Package requirements
(ibus-table >= 1.1.0) were not met:

Variable 'datarootdir' not defined in '/usr/lib/pkgconfig/ibus-table.pc'

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables IBUS_TABLE_CFLAGS
and IBUS_TABLE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

我看了一下 /usr/lib/pkgconfig/ibus-table.pc,
是这样:
prefix=/usr
exec_prefix=${prefix}
libdir=${datarootdir}
datarootdir=${prefix}/share
datadir=${datarootdir}

我改成:
prefix=/usr
exec_prefix=${prefix}
datarootdir=${prefix}/share
libdir=${datarootdir}
datadir=${datarootdir}
就编译成功了。

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

回复