<div dir="ltr">Hi,<br><br>Solved, i had to install libxen3-dev in order to make it work.<br><br>Thanks anyways :-)<br><br><div class="gmail_quote">On Fri, Jul 18, 2008 at 10:22 PM, Tom Verhaeghe <<a href="mailto:pietjeprik@gmail.com">pietjeprik@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Hello<br><br>I don't know if ruby-libvirt can work in a debian-based environment. I installed kvm, libvirt, RoR, etc on Ubuntu and it all works fine. <br>
<br>I pasted the output when installing the gem below. I think the problem could be that libvirt is called differently in Ubuntu or stored on a different location. Is there a way to get around?<br>
<br>Thanks in advance<br><br>Tom<br><br><div style="margin-left: 40px;">Building native extensions. This could take a while...<br>ERROR: While executing gem ... (RuntimeError)<br> Error instaling ruby-libvirt-0.0.7.gem:<br>
ERROR: Failed to build gem native extension.<br><br>ruby extconf.rb install ruby-libvirt-0.0.7.gem<br>*** extconf.rb failed ***<br>Could not create Makefile due to some reason, probably lack of<br>necessary libraries and/or headers. Check the mkmf.log file for more<br>
details. You may need configuration options.<br><br>Provided configuration options:<br> --with-opt-dir<br> --without-opt-dir<br> --with-opt-include<br> --without-opt-include=${opt-dir}/include<br> --with-opt-lib<br>
--without-opt-lib=${opt-dir}/lib<br> --with-make-prog<br> --without-make-prog<br> --srcdir=.<br> --curdir<br> --ruby=/usr/bin/ruby1.8<br> --with-_libvirt-dir<br> --without-_libvirt-dir<br> --with-_libvirt-include<br>
--without-_libvirt-include=${_libvirt-dir}/include<br> --with-_libvirt-lib<br> --without-_libvirt-lib=${_libvirt-dir}/lib<br> --with-libvirt-config<br> --without-libvirt-config<br> --with-pkg-config<br>
--without-pkg-config<br>extconf.rb:16: libvirt not found (RuntimeError)<br><br><br>Gem files will remain installed in /var/lib/gems/1.8/gems/ruby-libvirt-0.0.7 for inspection.<br>Results logged to /var/lib/gems/1.8/gems/ruby-libvirt-0.0.7/ext/libvirt/gem_make.out<br>
</div></div>
</blockquote></div><br></div>