ports/190139: net-mgmt/zabbix2-server, net-mgmt/zabbix22-server incorrect config options in Makefile, broken ODBC support
Pavel Gulchouck
gul at gul.kiev.ua
Fri May 23 13:10:01 UTC 2014
>Number: 190139
>Category: ports
>Synopsis: net-mgmt/zabbix2-server, net-mgmt/zabbix22-server incorrect config options in Makefile, broken ODBC support
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri May 23 13:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Pavel Gulchouck
>Release: FreeBSD 9.2-RELEASE-p5 amd64
>Organization:
Private
>Environment:
System: FreeBSD look.ix.net.ua 9.2-RELEASE-p5 FreeBSD 9.2-RELEASE-p5 #0: Tue Apr 29 19:09:13 UTC 2014 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Zabbix-server can store its data in one of SQL databases: MySQL, PostgreSQL, SQLite, Oracle.
Then, it can query objects using ODBC interface, it's another compile-time configurable option.
I use mysql as storage database and ODBC as query API.
If I choose "ODBC" as DB option, build failed with
configure: error: No database selected for Zabbix server/proxy. Use --with-ibm-db2 or --with-mysql or --with-oracle or --with-postgresql or --with-sqlite3.
and if I choose "MYSQL" than ODBC support is not compiled in.
>How-To-Repeat:
On zabbix22-server run "make config", choose "DB: ODBC" and run "make build".
>Fix:
--- zabbix22-server/Makefile 2014-05-05 19:24:00.000000000 +0300
+++ zabbix22-server/Makefile 2014-05-23 12:24:02.000000000 +0300
@@ -71,3 +71,3 @@
-OPTIONS_DEFINE= IPV6 FPING JABBER CURL LDAP IPMI SSH NMAP JAVAGW LIBXML2
+OPTIONS_DEFINE= IPV6 FPING JABBER CURL LDAP IPMI SSH NMAP JAVAGW LIBXML2 ODBC
OPTIONS_DEFAULT= MYSQL IPV6 FPING JABBER CURL
@@ -86,3 +86,3 @@
OPTIONS_SINGLE= DB
-OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE ORACLE ODBC
+OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE ORACLE
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list