Skip to content

Conversation

@JohannesLorenz
Copy link
Contributor

@JohannesLorenz JohannesLorenz commented Dec 25, 2025

This fixes a very annoying compile warning which always comes on a fresh Linux where List::MoreUtils is yet missing. This warning should already come at CMake time, so this is what this PR does.

@anytizer
Copy link
Contributor

perl -MCPAN -e install List::MoreUtils was really necessary.

@Veratil
Copy link
Contributor

Veratil commented Dec 26, 2025

Could we make CMake install it if it's missing? 😁

@JohannesLorenz
Copy link
Contributor Author

perl -MCPAN -e install List::MoreUtils was really necessary.

Sorry, what do you mean?

@JohannesLorenz
Copy link
Contributor Author

Could we make CMake install it if it's missing? 😁

I think in most cases, at least on Linux, users want to install such module via the package manager, which requires privileges.

Best thing we could do is tell users how to do it, though this differs a lot between the distros, and might even differ between versions.

@anytizer
Copy link
Contributor

perl -MCPAN -e install List::MoreUtils was really necessary.

Sorry, what do you mean?

After seeing your PR, I looked how I had resolved the case in my computer.
That command installed MoreUtils in Ubuntu. It was a requirement even before cmake could complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants