build problem with libxl

Ján Tomko jtomko at redhat.com
Fri Feb 21 11:38:16 UTC 2020


On Fri, Feb 21, 2020 at 11:07:54AM +0000, Anthony PERARD wrote:
>On Fri, Feb 21, 2020 at 09:16:01AM +0100, Ján Tomko wrote:
>> [adding Anthony PERARD to cc since his name is next to
>> xen-4.12.2-1.el7's ChangeLog entry]
>>
>> Hi, Anthony!
>>
>> On Thu, Feb 20, 2020 at 07:10:38PM +0100, Christoph wrote:
>> > https://wiki.centos.org/HowTos/Xen/Xen4QuickStart
>> >
>> > configure:53501: checking for LIBXL
>> > configure:53508: $PKG_CONFIG --exists --print-errors "xenlight >= 4.6.0"
>> > Package xenblktapctl was not found in the pkg-config search path.
>> > Perhaps you should add the directory containing `xenblktapctl.pc'
>> > to the PKG_CONFIG_PATH environment variable
>>
>> It seems like xenlight's .pc file is broken if it references
>> a non-existent .pc file.
>
>Thanks for the report.
>
>Do you think it will be enough to simply remove the reference?

It should be enough for dynamic linking.

IIUC the dependencies in Requires.private only affect the pkg-config
output when static linking is requested:
https://people.freedesktop.org/~dbn/pkg-config-guide.html

Jano

>libxenlight still depends on a blktap in the CentOS package, but it is a
>different one that don't have a .pc file. It is easier to remove the
>reference that to try to write a new .pc file :-).
>
>There is xen-4.12.2-2 package that should be available in the testing
>repo in a couple of hours.
>
>Thanks,
>
>-- 
>Anthony PERARD
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20200221/9a6f2964/attachment.sig>


More information about the libvirt-users mailing list