In an attempt to simplify the build interface, parser generation, just as other features that can be detected automatically, are enabled whenever the required programs are available, in this case: bison version 3.3.0 or later or flex version 2.6.4 or later.

You can search for lines such as these displayed on meson setup to determine if these programs were found:

Program bison found: YES 3.8.2 3.8.2 (/sbin/bison)
Program flex found: YES 2.6.4 2.6.4 (/sbin/flex)

Or look in `build/config.report` for:

Flex:                 /sbin/flex
Bison:                /sbin/bison

Additionally, if the programs were not found, and if as a result parser generation is disabled, trying to generate parsers with "meson compile parser" will simply display "Parser generation is disabled."

I hope this helps.

If you have suggestions about how this could be improved, you can open a GitLab issue.

--
Andrei Pavel

On 15/07/2025 20:40, Dipesh Kayastha wrote:

Dear Kea Developers,

I have recently upgraded Kea from version 2.6.2 to 3.0.0. In the earlier version (2.6.2), there was a |--enable-generate-parser| option available with the |configure| to enable the generation of parsers during the build process.

However, I noticed that Kea 3.0.0 now uses the Meson build system instead of Autotools, and I couldn't find an equivalent option for |--enable-generate-parser| in the Meson configuration.

Could you please guide me on how to enable parser generation with Meson in Kea 3.0.0? Is there a specific option or environment variable I need to set during the Meson setup?

Any help would be greatly appreciated.


Best regards,
Dipesh Kayastha

-- 
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to