-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Conversation
But Zabbix requires the MySQL libs for compilation and of course the DB itself for storage. Should I really remove this dependency? |
We allow non-Homebrew mysql installations, so we don't let things depend on it directly. We can use a Requirement to ensure that it is installed. grep the formula directory for "MysqlInstalled" for examples. |
@jacknagel ok, makes sense. Requirement is now included. |
Does this need a full MySQL server, or can it compile against the mysql-connector-c (ie, for use against an off-box server)? |
@adamv The mysql-connector-c works too (just tested this). I'll update the caveats... |
Hmm, configure breaks on 10.8.2 with superenv, even when I hard-code mysql_config.
Same behavior when I run |
Ok, i got it fixed. Just for documentation: # These do not work:
"--with-mysql='/usr/local/bin/mysql_config'", # configure pukes on single quotes?! :-(
"--with-mysql=#{which 'mysql_config'}",
"--with-mysql=#{which 'mysql_config' || "#{HOMEBREW_PREFIX}/bin/mysql_config"}",
# ...and these do work:
"--with-mysql=/usr/local/bin/mysql_config",
"--with-mysql=#{which('mysql_config') || "#{HOMEBREW_PREFIX}/bin/mysql_config"}", |
A patch was delivered (tested successfully on 10.7.4 and 10.8.2). Thanks in advance for pulling this one in! |
New formula for "The Enterprise-class Monitoring Solution for Everyone".
Closes Homebrew#14587. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Closes Homebrew#14587. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
New formula for "The Enterprise-class Monitoring Solution for Everyone".