[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: configure does not detect librados or librbd since the switch to mes
From: |
Peter Lieven |
Subject: |
Re: configure does not detect librados or librbd since the switch to meson |
Date: |
Mon, 25 Jan 2021 20:47:28 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
Am 25.01.21 um 16:24 schrieb Paolo Bonzini:
> On 25/01/21 15:31, Peter Lieven wrote:
>> on Dedian / Ubuntu configure does no longer detect librbd / librados
>> since the switch to meson.
>>
>> I need to add dirs: ['/usr/lib'] to the cc.find_library for librados
>> and librbd. But I am not familiar with meson
>>
>> and can't say if thats the appropriate fix.
>
> Can you include the meson-logs/meson-log.txt output?
Sure: https://pastebin.com/u3XtbDvQ
>
>> Further issue: if I specify configure --enable-rbd and cc.links fails
>> the configure command succeeds and rbd support is disabled.
>
> That's a separate bug.
For the rbd check I can address this as well in the series. Sadly, librbd has
no pkg-config (yet). So, I have to create a C file that checks for the version.
Peter