Mail archive
alpine-devel

Re: [alpine-devel] [PATCH] Upgrade to zabbix-1.8.3

From: Duane Hughes <duanejevon_at_gmail.com>
Date: Mon, 6 Dec 2010 08:42:28 +0200

On Fri, Dec 3, 2010 at 3:53 PM, Duane Hughes <duanejevon_at_gmail.com> wrote:

> That's a good idea. If no one has any objections, i'll implement with next
> commit. Thanks for sorting out makedepends!
>
> Duane Hughes
>
>
On second thoughts (and after trying unsuccessfully :-) ) zabbix can't build
with support for more than one database:

       ./configure --prefix=/usr \
                --sysconfdir=/etc \
                --mandir=/usr/share/man \
                --infodir=/usr/share/info \
                --enable-server \
                --enable-agent \
                --enable-proxy \
                --enable-ipv6 \
                --with-pgsql \
                --with-sqlite3 \
                --with-mysql \
                --with-net-snmp \
                --with-libcurl

That yields:

checking if Oracle support is enabled... no
checking for SQLite3 library >= 3.0.0... yes
checking for function sqlite3_open_v2() in sqlite3.h... yes
checking for mysql_config... /usr/bin/mysql_config
checking for main in -lmysqlclient ... yes
configure: error: You can configure for only one database.
make: *** No targets specified and no makefile found. Stop.
>>> ERROR: zabbix: all failed

So i think i'll leave it as is with postgresql support, unless anyone
prefers something else.

Duane Hughes


> On Thu, Dec 2, 2010 at 6:07 PM, Natanael Copa <ncopa_at_alpinelinux.org>wrote:
>
>> On Thu, 2010-12-02 at 13:16 +0000, Duane Hughes wrote:
>> > Upgraded to latest zabbix, fixed some permissions, use postgresql
>> instead of sqlite
>> >
>> > ref #251
>>
>> configure: error: Invalid NET-SNMP directory - unable to find
>> net-snmp-config
>> make: *** No targets specified and no makefile found. Stop.
>>
>>
>> Seems like net-snmp-dev is needed in makedepends. I added that.
>>
>> I wonder if we could ship the database backend in subpackages? so for
>> postgresql we could apk add zabbix-pgsql or similar.
>>
>> Thanks!
>>
>> -nc
>>
>>
>>
>



---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Mon Dec 06 2010 - 08:42:28 UTC