Add options to Configure in formula Dovecot --with-mysql

(James Brown) #1

I’ve used Brew to install Dovecot but it is not authenticating for me because it was not compiled with MySQL support.

I edited /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/dovecot.rb and added ‘–with-mysql’ to the args section. Then ran ‘brew reinstall dovecot’.

But I still get ‘auth: Fatal: Unknown database driver ‘mysql’’

Anything I’m doing wrong?

Thanks, James.

(Sean Molenaar) #2

This seems like a question that’s better of at the dovecot people, as you’re not really using anything of homebrew anymore.

(James Brown) #3

Thanks Sean.

Not sure why you say that. I’m installing using brew (re)install dovecot, so I am using homebrew. I am just trying to slightly modify the config the formula that home-brew uses.

I think what I am doing wrong is not using ‘–build-from-source’?

(Sorry, new to Homebrew).

(Sean Molenaar) #4

You’re compiling dovecot and brew isn’t the one throwing an error, dovecot is. In comparison this is a bit like writing apple about a website that you opened on your Mac not delivering the things you ordered.

(Tangerine62) #5

I’m using dovecot
If you build from source instead of pouring the bottle you will solve your troubles with MySQL