X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by lists.alpinelinux.org (Postfix) with ESMTP id 1B4231EBFF4 for ; Mon, 6 Dec 2010 06:42:30 +0000 (UTC) Received: by wwa36 with SMTP id 36so12357197wwa.25 for ; Sun, 05 Dec 2010 22:42:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=eDU/xbg4s1AMDEwQ7d2SesXGRtUdFH06b1xhVfxtqEc=; b=JDqWQHbgX6ckgo0lBweIbn1xv3ECoX0FSLVcV+vvSYw5oFoFeIzSFnEHUyQPd+kZAb 37HC/ekUlOBNMLrvOXs54skiZE7lp0+wz92/5IZ+pElBAX4VAeiweyRAjd5ZmaYwc0pf GcIFKY4HZ7oabDvfPn3e7pkBorliK8hgMQRck= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=gY9f2RQW7G/Znc0dxAR90cZEl6m1lGYf85JReIE6Jh29KFUC1uQdDkYo6OYW8v+cKS Uosfsz6ZgXDkNB2da3Ey0EI1ofvQw2vORAkGkqAQx3zKzlmstghW2rzNKRsyVIzh0T6P 1OfBsg4ngv3AWQEYpYDErzLR3IOC01xs+voTE= X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.216.1.149 with SMTP id 21mr510229wed.10.1291617748502; Sun, 05 Dec 2010 22:42:28 -0800 (PST) Received: by 10.216.172.209 with HTTP; Sun, 5 Dec 2010 22:42:28 -0800 (PST) In-Reply-To: References: <1291295779-2281-1-git-send-email-duanejevon@gmail.com> <1291306064.13919.3.camel@ncopa-desktop.nor.wtbts.net> Date: Mon, 6 Dec 2010 08:42:28 +0200 Message-ID: Subject: Re: [alpine-devel] [PATCH] Upgrade to zabbix-1.8.3 From: Duane Hughes To: Natanael Copa , alpine-devel@lists.alpinelinux.org Content-Type: multipart/alternative; boundary=001636499a4b15c7f90496b83145 --001636499a4b15c7f90496b83145 Content-Type: text/plain; charset=ISO-8859-1 On Fri, Dec 3, 2010 at 3:53 PM, Duane Hughes 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 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 >> >> >> > --001636499a4b15c7f90496b83145 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Fri, Dec 3, 2010 at 3:53 PM, Duane Hu= ghes <duanejev= on@gmail.com> wrote:
That's a good idea. If no one has any objections, i'll implement wi= th next commit. Thanks for sorting out makedepends!

Duane Hughes

On second thoughts (and = after trying unsuccessfully :-) ) zabbix can't build with support for m= ore than one database:=A0

=A0=A0 =A0 =A0 ./co= nfigure --prefix=3D/usr \
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0--sysconfdir=3D/etc \
=A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0--mandir=3D/usr/share/man \
=A0=A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0--infodir=3D/usr/share/info \
=A0=A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0--enable-server \
=A0=A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0--enable-agent \
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0--enable-proxy \
=A0=A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0--enable-ipv6 \
=A0=A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0--with-pgsql \
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0--wi= th-sqlite3 \
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0--with-mysql \
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0--with-net-snmp \
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0--with-libcurl

<= /div>
That yields:

checking if Oracle sup= port is enabled... no
checking for SQLite3 library >=3D 3.0.0.= .. yes
checking for function sqlite3_open_v2() in sqlite3.h... yes
check= ing for mysql_config... /usr/bin/mysql_config
checking for main i= n -lmysqlclient ... yes
configure: error: You can configure for o= nly one database.
make: *** No targets specified and no makefile found. =A0Stop.
>>> ERROR: zabbix: all failed

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

Duane Hughes


On Thu= , Dec 2, 2010 at 6:07 PM, Natanael Copa <ncopa@alpinelinux.org>= wrote:
On Thu, 2010-12-02 at 13:16 +0000, Duan= e Hughes wrote:
> Upgraded to latest zabbix, fixed some permissions, use postgresql inst= ead of sqlite
>
> ref #251

configure: error: Invalid NET-SNMP directory - unable to find net-snm= p-config
make: *** No targets specified and no makefile found. =A0Stop.


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




--001636499a4b15c7f90496b83145-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---