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

Auth ./configure --without-mysql should disable the gmysql module #5140

Closed
wojas opened this issue Mar 13, 2017 · 2 comments · Fixed by #7335
Closed

Auth ./configure --without-mysql should disable the gmysql module #5140

wojas opened this issue Mar 13, 2017 · 2 comments · Fixed by #7335

Comments

@wojas
Copy link
Member

wojas commented Mar 13, 2017

  • Program: Authoritative
  • Issue type: Bug report

Short description

The gmysql module is built by default. I expected that --without-mysql would skip everything that requires mysql, but instead the configure script still checks for mysql and exits with an error.

Environment

  • Operating system: Ubuntu 16.04
  • Software version: master 1efb94e
  • Software source: github

Steps to reproduce

  1. ./configure --disable-mysql

Expected behaviour

Do not build any mysql modules.

Actual behaviour

The configure scripts do no properly check for the value 'no', which is set by --without-mysql:

checking for no/bin/mysql_config... configure: error: not found
@pieterlexis
Copy link
Contributor

I think it will be better to throw an error with the essence of "MySQL is required by one or more of the (dyn-)modules, cannot disable MySQL support"

@wojas
Copy link
Member Author

wojas commented Mar 13, 2017

Maybe add "(see --with-modules and --with-dynmodules options)" to the message?

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

Successfully merging a pull request may close this issue.

3 participants