On 05/02/2011 08:28 AM, Matthias Bolte wrote:
2011/5/1 Robert Šmol<robert.smol(a)stereoit.com>:
> I am now trying to compile the stuff, but I get:
> ...
> CCLD libvirt_driver_nwfilter.la
> libtool: link: require no space between `-L' and `/usr/lib'
> make[3]: *** [libvirt_driver_nwfilter.la] Error 1
> make[3]: Leaving directory `/home/rsmol/Code/libvirt/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/rsmol/Code/libvirt/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/rsmol/Code/libvirt'
> make: *** [all] Error 2
> ...
>
> But I'll figure out eventually.
libtool tells you that if found '-L /usr/lib' in the commandline, but
it would like to see '-L/usr/lib' (without the space). Typically this
comes from a "broken" pkg-config file from one of the libraries
libvirt depends on.
Run 'make V=1' to make it print the complete commandlines, this might
help figuring out from which library the problem comes.
Matthias
rsmol@laptop:~/Code/libvirt (git:master)$ pcap-config --libs
-L /usr/lib -lpcap
I filled #775433 on ubuntu for pcap-config. modified pcap-config and now
I can compile the libvirt just fine. Moving on.
Robert
--
stereoIT - Open Source Technology Partners
http://www.stereoit.com
mobile: +420 776 762378