OSX 10.6 build failures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi us,

Going through the process of getting libvirt to compile on OSX, making notes of the failures on the way through (from a clean system) to be fixed.

a) libtool -> glibtool
   libtoolize -> glibtoolize

   It turns out that autogen.sh is hard coded to use "libtool", and
   wants the GNU version.

   OSX supplies has it's own version, without a --version option, so
   autogen.sh fails.

   Installing GNU libtool through MacPorts, makes it available as
   glibtool, with libtoolize being glibtoolize.

   Adjusting autogen.sh to detect that, then set LIBTOOL and LIBTOOLIZE
   appropriately was fairly trivial.

   Will submit a patch to fix that in a bit.


b) pkg-config

   The next thing to barf was autoconf, complaining about AC_MSG_ERROR
   not being a defined macro.

   Googling with some persistence showed this is caused by pkg-config
   not being installed.  Fixed that.

   Will submit a patch for that too.  Probably "pkg-config --version"
   based, copying the approach used for the other autogen.sh checks.


c) This is a compilation failure, one I don't readily know how to fix:

   ...
   Making all in src
   make  all-am
     CC     libvirt_util_la-network.lo
   util/network.c: In function 'getIPv6Addr':
util/network.c:50: error: 'struct in6_addr' has no member named 's6_addr16' util/network.c:50: error: 'struct in6_addr' has no member named 's6_addr16' util/network.c:50: error: 'struct in6_addr' has no member named 's6_addr16' util/network.c:50: error: 'struct in6_addr' has no member named 's6_addr16'
   make[3]: *** [libvirt_util_la-network.lo] Error 1
   make[2]: *** [all] Error 2
   make[1]: *** [all-recursive] Error 1
   make: *** [all] Error 2
   $

They're the only problems so far, though most things have been disabled on the ./configure line so it's only the client libraries being built.

Anyone know how to address that third one?

Regards and best wishes,

Justin Clift

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]