
Hi all, Found my own problem... mpath needs to be disabled. This is the current options for configure... ./configure ----without-lxc --without-qemu Now the make is broken, I don't think there is a linux/params.h in opensolaris. I was able to build under opensolaris... Any suggestions ? make[3]: Entering directory `/export/home/garym/libvirt-0.8.0/src' CC libvirt_util_la-authhelper.lo CC libvirt_util_la-bridge.lo util/bridge.c:38:20: paths.h: No such file or directory util/bridge.c:41:55: linux/param.h: No such file or directory util/bridge.c:42:55: linux/sockios.h: No such file or directory util/bridge.c:43:55: linux/if_bridge.h: No such file or directory util/bridge.c:44:55: linux/if_tun.h: No such file or directory util/bridge.c: In function `ifGetMtu': util/bridge.c:313: error: `SIOCGIFMTU' undeclared (first use in this function) util/bridge.c:313: error: (Each undeclared identifier is reported only once util/bridge.c:313: error: for each function it appears in.) util/bridge.c:316: error: structure has no member named `ifr_mtu' util/bridge.c: In function `ifSetMtu': util/bridge.c:342: error: structure has no member named `ifr_mtu' util/bridge.c:344: error: `SIOCSIFMTU' undeclared (first use in this function) util/bridge.c: In function `brAddTap': util/bridge.c:464: error: `IFF_TAP' undeclared (first use in this function) util/bridge.c:464: error: `IFF_NO_PI' undeclared (first use in this function) util/bridge.c:478: error: `TUNSETIFF' undeclared (first use in this function) util/bridge.c:492: error: `TUNSETPERSIST' undeclared (first use in this function) util/bridge.c: In function `brDeleteTap': util/bridge.c:520: error: `IFF_TAP' undeclared (first use in this function) util/bridge.c:520: error: `IFF_NO_PI' undeclared (first use in this function) util/bridge.c:527: error: `TUNSETIFF' undeclared (first use in this function) util/bridge.c:528: error: `TUNSETPERSIST' undeclared (first use in this function) util/bridge.c: In function `brSetInterfaceUp': util/bridge.c:565: error: `SIOCGIFFLAGS' undeclared (first use in this function) util/bridge.c:573: error: `SIOCSIFFLAGS' undeclared (first use in this function) util/bridge.c: In function `brGetInterfaceUp': util/bridge.c:605: error: `SIOCGIFFLAGS' undeclared (first use in this function) util/bridge.c: In function `brSetInetAddress': util/bridge.c:701: error: `SIOCSIFADDR' undeclared (first use in this function) util/bridge.c: In function `brGetInetAddress': util/bridge.c:724: error: `SIOCGIFADDR' undeclared (first use in this function) util/bridge.c: In function `brSetInetNetmask': util/bridge.c:745: error: `SIOCSIFNETMASK' undeclared (first use in this function) util/bridge.c: In function `brGetInetNetmask': util/bridge.c:768: error: `SIOCGIFNETMASK' undeclared (first use in this function) make[3]: *** [libvirt_util_la-bridge.lo] Error 1 make[3]: Leaving directory `/export/home/garym/libvirt-0.8.0/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/export/home/garym/libvirt-0.8.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/garym/libvirt-0.8.0' make: *** [all] Error 2 On Mon, Apr 26, 2010 at 8:07 PM, gary mazzaferro <garym@oedata.com> wrote:
Hi Daniel,
Thanks for the tip. It got me a bit further.
Now I'm stuck on configure looking for device mapper. I don't remember this before..
checking for DEVMAPPER... checking libdevmapper.h usability... no checking libdevmapper.h presence... no checking for libdevmapper.h... no checking for dm_task_run in -ldevmapper... no configure: error: You must install device-mapper-devel/ libdevmapper >= 1.0.0 to compile libvirt
Any suggestion besides moving to linux ?
cheers, gary
On Mon, Apr 26, 2010 at 4:09 AM, Daniel Veillard <veillard@redhat.com>wrote:
On Mon, Apr 26, 2010 at 01:40:11AM -0600, gary mazzaferro wrote:
Hi,
I'm revisiting my libVirt install for opensolaris. I downloaded libvirt 0.8.0..
This is a bit embarassing, but I forgot how to build libVirt on opensolaris. (It's been a while) I'm currently stuck with the configure script failing to find linux kernel headers. Error: "configure: error: You must install kernel-headers in order to compile libvirt"
Can anyone post the instructions to build under opensolaris?
Well you need to desactivate qemu and lxc builds to avoid this error:
./configure --without-lxc --without-qemu ...
that should be done automatically on non-linux systems, it's a bug,
Daniel
-- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/