[libvirt] Initial working Mac OS X libvirt client build

Justin Clift jclift at redhat.com
Mon Oct 25 12:11:45 UTC 2010


On 10/25/2010 07:20 PM, Ruben Kerkhof wrote:
<snip>
> I haven't been able to bootstrap a build from libvirt git yet, mainly
> gettext issues.

What are the gettext errors that happen for you?

Thinking you'll need to install a newer gettext that the OSX provided
one (as Homebrew does), and then make sure the headers/libraries for
it are found first.  Same as you've done for the readline libraries.

Something like:

********************

./configure \
  CPPFLAGS='-I/usr/local/Cellar/gettext/0.17/include
-I/usr/local/Cellar/libxml2/2.7.7/include
-I/usr/local/Cellar/readline/6.1/include' \
  LDFLAGS='-L/usr/local/Cellar/gettext/0.17/lib
-L/usr/local/Cellar/libxml2/2.7.7/lib -L/usr/local/Cellar/readline/6.1/lib'

********************

(That should actually work, as long as you have gettext 0.17 installed.)

:)

Regards and best wishes,

Justin Clift




More information about the libvir-list mailing list