From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 23 13:10:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4A7666E2 for ; Fri, 23 May 2014 13:10:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 28D862AFC for ; Fri, 23 May 2014 13:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4NDA1ZQ040199 for ; Fri, 23 May 2014 13:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4NDA0QH040197; Fri, 23 May 2014 13:10:00 GMT (envelope-from gnats) Resent-Date: Fri, 23 May 2014 13:10:00 GMT Resent-Message-Id: <201405231310.s4NDA0QH040197@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pavel Gulchouck Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DF93A516 for ; Fri, 23 May 2014 13:02:51 +0000 (UTC) Received: from look.ix.net.ua (look.ix.net.ua [109.68.43.146]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9C7492A99 for ; Fri, 23 May 2014 13:02:51 +0000 (UTC) Received: by look.ix.net.ua with local (Exim 4.82) id 1WnojV-0009TX-3Q for FreeBSD-gnats-submit@freebsd.org; Fri, 23 May 2014 15:37:57 +0300 Message-Id: Date: Fri, 23 May 2014 15:37:57 +0300 From: Pavel Gulchouck Reply-To: Pavel Gulchouck To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/190139: net-mgmt/zabbix2-server, net-mgmt/zabbix22-server incorrect config options in Makefile, broken ODBC support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2014 13:10:01 -0000 >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@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: