Re: gem install ruby-libvirt fails on FreeBSD 10.2

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

 



  Rickard von Essen wrote:

> Hi,
> 
> Installing the ruby-libvirt gem fails on FreeBSD 10.2 since it can't locate
> the lib and include dir. Installing with:
>   gem install ruby-libvirt --
> --with-libvirt-include=/usr/local/include/libvirt
> --with-libvirt-lib=/usr/local/lib/libvirt.so
> works fine.
> 
> It would be great if this worked out of the box, e.g. detects that it is
> building on BSD and applies the above settings as default, or at least it
> could be provided as a hint if running make fails to guide ruby noobs, like
> me.

Hi Rickard,

I tried it on my system and it seems to work fine without manually
providing include and lib paths.

>From what I can see, it uses pkg-config to detect CFLAGS and LDFLAGS (I
could be wrong here though because I'm not familiar with Ruby).

Could you please check if you have this working:

$ pkg-config --libs --cflags libvirt
-I/usr/local/include -L/usr/local/lib -lvirt
$

If that does not work, could you please describe how did you do the
libvirt installation on your system?

Thanks,

Roman Bogorodskiy

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