[libvirt-users] [Building Error] cannot stat `t-af.gmo': No such file or directory

Zhihua Che zhihua.che at gmail.com
Wed Apr 4 06:32:18 UTC 2012


在 2012年4月4日 上午12:44,Eric Blake <eblake at redhat.com> 写道:
> On 04/03/2012 10:13 AM, Zhihua Che wrote:
>>>
>>> Running ./autogen.sh should already be requiring minimum tools; look at
>>> how bootstrap.conf has the $buildreq variable that includes gettext 0.17
>>> as a prereq.  Maybe the problem is that you can have a system with
>>> gettext but not msgmerge?  What distro are you using, and what
>>> package(s) did you install to get things working?  How are the binaries
>>> divided between packages?  Do we need to add a line to $buildreq?
>>>
>
>>
>> I use ubuntu-11.10.
>>
>> I just issued "sudo apt-get install gettext" and things worked.
>>
>> What do you mean by "How are the binaries divided between packages?" ?
>> I'd say in my system packages installed by apt-get are all installed
>> in default directories, such as /usr/local
>
> On Fedora, 'autopoint' is part of gettext-devel-0.18.1.1-8.fc16.x86_64,
> but 'gettext' and 'msgmerge' are parts of
> gettext-0.18.1.1-8.fc16.x86_64.  Thus, checking for either the 'gettext'
> or the 'gettext-devel' package in isolation is wrong; a bootstrap of
> libvirt needs both packages on Fedora (then again, gettext-devel depends
> on gettext, so depending on the right one package pulls in both).
>
> What I'm trying to ask, then, is why your run of ./autogen.sh didn't
> pick up that 'gettext' was missing, and why installing the 'gettext'
> package also installed the 'msgmerge' binary needed later on in the build.
>
> --
> Eric Blake   eblake at redhat.com    +1-919-301-3266
> Libvirt virtualization library http://libvirt.org

The following is dependencies involving gettext on ubuntu. I wish it help you.

$ apt-cache depends gettext
gettext
  Depends: libc6
  Depends: libcroco3
  Depends: libglib2.0-0
  Depends: libgomp1
  Depends: libncurses5
  Depends: libunistring0
  Depends: libxml2
  Depends: gettext-base
 |Depends: dpkg
    dpkg:i386
  Depends: install-info
  Suggests: gettext-doc
 |Recommends: curl
 |Recommends: wget
    wget:i386
  Recommends: lynx-cur
  Conflicts: autopoint
  Conflicts: <autopoint:i386>
  Conflicts: gettext:i386



$ apt-cache rdepends gettext
gettext
Reverse Depends:
  gettext:i386
  monodevelop
  lokalize
  spellcast
  system-config-lvm
  smarty-gettext
  scenic
  publican
  poker-web
  poedit
  monodevelop
  libwxgtk2.8-dev
  libwxgtk2.6-dev
  libwxbase2.8-dev
  libwxbase2.6-dev
  libvips-dev
  libgettext-ruby1.9.1
  libgettext-ruby1.8
  libebox
  kernel-package
  jhbuild
  istanbul
  ikiwiki
  horde3
  gramadoir
  gosa
  gnunet-tools
  gnunet-server
  gnunet-client
  gnulib
  emdebian-tdeb
  drizzle-plugin-dev
  checkinstall
  translate-toolkit
  quilt
  po4a
  po-debconf
  lokalize
  lintian
  intltool-debian
  intltool
  gnome-common
  gettext-el
  autopoint
  autoconf
  autoconf




More information about the libvirt-users mailing list