[Kea-users] meson setup build failed with unknown keyword arguments "license_files"
Andrei Pavel
andrei at isc.org
Mon Jun 2 09:40:17 UTC 2025
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
>
>
More information about the Kea-users
mailing list