[Kea-users] meson setup build failed with unknown keyword arguments "license_files"
Gregor Kling
gregor.kling at its.thm.de
Mon Jun 2 10:21:07 UTC 2025
Hey Andrei,
That did it. Thank you.
gg
On 6/2/25 11:40, Andrei Pavel wrote:
> Hi!
>
> license_files needs meson >= 1.1.0. Even if Kea didn't have a
> license_files entry and the meson.options file which requires the same
> version range, there are good reasons to build with meson >= 1.8.0
> especially if you build with unit tests as outlined here:
> https://reports.kea.isc.org/dev_guide/d1/d2e/unitTests.html
>
> `./hammer.py prepare-system -p local` or `./meson.sh --install` will
> install a modern version.
>
> You can also use `./meson.sh` instead of `meson` if you don't want to
> pollute your global environment e.g. `./meson.sh setup build`,
> `./meson.sh compile -C build`, etc.
>
> You can also install a modern version of meson with pip, pipx, poetry,
> or other python dependency managers.
>
> I hope this helps.
>
> --
> Andrei
>
> On 02/06/2025 09:56, Gregor Kling wrote:
>> Hello,
>>
>> I wanted to build from source (HEAD -> master) and getting the error:
>> meson.build:17:0: ERROR: project got unknown keyword arguments
>> "license_files"
>>
>> meson.build references license_files: ['COPYING'], where COPYING is
>> the actual file that
>>
>> contains the license, which seems reasonable.
>>
>> Can someone help out?
>>
>>
>> gg
>>
>>
--
Gregor Kling
Abteilung ITS, Sachgebiet ITS-N
Technische Hochschule Mittelhessen
University of Applied Sciences
Tel: 0641/309-1292
E-Mail: gregor.kling at its.thm.de
More information about the Kea-users
mailing list