Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql-tuner / perl error message: diagnostics #21

Closed
jonasjonas opened this issue Jan 20, 2020 · 2 comments
Closed

mysql-tuner / perl error message: diagnostics #21

jonasjonas opened this issue Jan 20, 2020 · 2 comments

Comments

@jonasjonas
Copy link

Hi, thanks for providing the mysql-tuner docker file.

At the moment I am unable to run it, because its seems that some perl dependency is missing:

couldn't find diagnostic data in /usr/share/perl5/core_perl/pods/perldiag.pod /usr/local/lib/perl5/site_perl /usr/local/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /mysqltuner.pl at /usr/share/perl5/core_perl/diagnostics.pm line 259, <POD_DIAG> line 711.
Compilation failed in require at /mysqltuner.pl line 45.
BEGIN failed--compilation aborted at /mysqltuner.pl line 45.

All I could find was, that the perl installation would be incomplete. But reinstalling perl did not seem to help.

Maybe it is a problem with the latest alpine version?

@jonasjonas jonasjonas changed the title mysql-tuner mysql-tuner / perl error message: diagnostics Jan 20, 2020
@jonasjonas
Copy link
Author

jonasjonas commented Jan 20, 2020

Ah, too early:
It seems, that there is a dependency missing.

If one adds perl-doc to the Dockerfile it works again.

apk --update add mysql-client perl perl-doc

@TheKevJames
Copy link
Owner

@jonasjonas sorry for the late reply on this -- looks like I didn't have notifications enabled for this repo.

Thanks for the issue report and for finding the solution here! I've just pushed a changeset for adding perldoc (23a59b5) which should be live on Dockerhub shortly. Please let me know if you continue to have issues!

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

No branches or pull requests

2 participants