Hi all,<br><br>Found my own problem... mpath needs to be disabled.  <br><br>This is the current options for configure... <br><br>./configure ----without-lxc --without-qemu<br><br>Now the make is broken, I don't think there is a linux/params.h  in opensolaris. I was able to build under opensolaris... <br>
<br>Any suggestions ?<br><br>make[3]: Entering directory `/export/home/garym/libvirt-0.8.0/src'<br>  CC     libvirt_util_la-authhelper.lo<br>  CC     libvirt_util_la-bridge.lo<br>util/bridge.c:38:20: paths.h: No such file or directory<br>
util/bridge.c:41:55: linux/param.h: No such file or directory<br>util/bridge.c:42:55: linux/sockios.h: No such file or directory<br>util/bridge.c:43:55: linux/if_bridge.h: No such file or directory<br>util/bridge.c:44:55: linux/if_tun.h: No such file or directory<br>
util/bridge.c: In function `ifGetMtu':<br>util/bridge.c:313: error: `SIOCGIFMTU' undeclared (first use in this function)<br>util/bridge.c:313: error: (Each undeclared identifier is reported only once<br>util/bridge.c:313: error: for each function it appears in.)<br>
util/bridge.c:316: error: structure has no member named `ifr_mtu'<br>util/bridge.c: In function `ifSetMtu':<br>util/bridge.c:342: error: structure has no member named `ifr_mtu'<br>util/bridge.c:344: error: `SIOCSIFMTU' undeclared (first use in this function)<br>
util/bridge.c: In function `brAddTap':<br>util/bridge.c:464: error: `IFF_TAP' undeclared (first use in this function)<br>util/bridge.c:464: error: `IFF_NO_PI' undeclared (first use in this function)<br>util/bridge.c:478: error: `TUNSETIFF' undeclared (first use in this function)<br>
util/bridge.c:492: error: `TUNSETPERSIST' undeclared (first use in this function)<br>util/bridge.c: In function `brDeleteTap':<br>util/bridge.c:520: error: `IFF_TAP' undeclared (first use in this function)<br>
util/bridge.c:520: error: `IFF_NO_PI' undeclared (first use in this function)<br>util/bridge.c:527: error: `TUNSETIFF' undeclared (first use in this function)<br>util/bridge.c:528: error: `TUNSETPERSIST' undeclared (first use in this function)<br>
util/bridge.c: In function `brSetInterfaceUp':<br>util/bridge.c:565: error: `SIOCGIFFLAGS' undeclared (first use in this function)<br>util/bridge.c:573: error: `SIOCSIFFLAGS' undeclared (first use in this function)<br>
util/bridge.c: In function `brGetInterfaceUp':<br>util/bridge.c:605: error: `SIOCGIFFLAGS' undeclared (first use in this function)<br>util/bridge.c: In function `brSetInetAddress':<br>util/bridge.c:701: error: `SIOCSIFADDR' undeclared (first use in this function)<br>
util/bridge.c: In function `brGetInetAddress':<br>util/bridge.c:724: error: `SIOCGIFADDR' undeclared (first use in this function)<br>util/bridge.c: In function `brSetInetNetmask':<br>util/bridge.c:745: error: `SIOCSIFNETMASK' undeclared (first use in this function)<br>
util/bridge.c: In function `brGetInetNetmask':<br>util/bridge.c:768: error: `SIOCGIFNETMASK' undeclared (first use in this function)<br>make[3]: *** [libvirt_util_la-bridge.lo] Error 1<br>make[3]: Leaving directory `/export/home/garym/libvirt-0.8.0/src'<br>
make[2]: *** [all] Error 2<br>make[2]: Leaving directory `/export/home/garym/libvirt-0.8.0/src'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/export/home/garym/libvirt-0.8.0'<br>make: *** [all] Error 2<br>
<br><br><div class="gmail_quote">On Mon, Apr 26, 2010 at 8:07 PM, gary mazzaferro <span dir="ltr"><<a href="mailto:garym@oedata.com">garym@oedata.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">Hi Daniel,<br><br>Thanks for the tip.  It got me a bit further.<br><br>Now
 I'm stuck on configure looking for device mapper. I don't remember this
 before..<br><br>checking for DEVMAPPER... checking libdevmapper.h 
usability... no<br>
checking libdevmapper.h presence... no<br>checking for libdevmapper.h...
 no<br>checking for dm_task_run in -ldevmapper... no<br>configure: 
error: You must install device-mapper-devel/<div>libdevmapper >= 
1.0.0 to compile libvirt<br>
<br><br>Any suggestion besides moving to linux ?<br><br>cheers,<br><font color="#888888">gary</font></div><br><br></div><div class="gmail_quote"><div class="im">On Mon, Apr 26, 2010 at 4:09 AM, Daniel Veillard <span dir="ltr"><<a href="mailto:veillard@redhat.com" target="_blank">veillard@redhat.com</a>></span> wrote:<br>

</div><div><div></div><div class="h5"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div>On Mon, Apr 26, 2010 at 01:40:11AM -0600, gary mazzaferro wrote:<br>


> Hi,<br>
><br>
> I'm revisiting my libVirt install for opensolaris. I downloaded libvirt<br>
> 0.8.0..<br>
><br>
> This is a bit embarassing, but I forgot how to build libVirt on opensolaris.<br>
> (It's been a while)  I'm currently stuck with the configure script failing<br>
> to find linux kernel headers.<br>
> Error:<br>
> "configure: error: You must install kernel-headers in order to compile<br>
> libvirt"<br>
><br>
> Can anyone post the instructions to build under opensolaris?<br>
<br>
</div></div>  Well you need to desactivate qemu and lxc builds to avoid this error:<br>
<br>
./configure --without-lxc --without-qemu ...<br>
<br>
that should be done automatically on non-linux systems, it's a bug,<br>
<br>
Daniel<br>
<font color="#888888"><br>
--<br>
Daniel Veillard      | libxml Gnome XML XSLT toolkit  <a href="http://xmlsoft.org/" target="_blank">http://xmlsoft.org/</a><br>
<a href="mailto:daniel@veillard.com" target="_blank">daniel@veillard.com</a>  | Rpmfind RPM search engine <a href="http://rpmfind.net/" target="_blank">http://rpmfind.net/</a><br>
<a href="http://veillard.com/" target="_blank">http://veillard.com/</a> | virtualization library  <a href="http://libvirt.org/" target="_blank">http://libvirt.org/</a><br>
</font></blockquote></div></div></div><br>
</blockquote></div><br>