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 ?


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 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/