From owner-freebsd-current@FreeBSD.ORG Fri Jun 6 18:35:23 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2ABF837B401 for ; Fri, 6 Jun 2003 18:35:23 -0700 (PDT) Received: from dns13.mail.yahoo.co.jp (dns13.mail.yahoo.co.jp [210.81.151.173]) by mx1.FreeBSD.org (Postfix) with SMTP id C83F543F75 for ; Fri, 6 Jun 2003 18:35:19 -0700 (PDT) (envelope-from ayakokiko@ybb.ne.jp) Received: from unknown (HELO gorgon.near.this) (219.11.234.11 with poptime) by dns13.mail.yahoo.co.jp with SMTP; 7 Jun 2003 01:35:18 -0000 Received: from ghost.near.this (ghost.near.this [10.0.3.9]) by gorgon.near.this (Postfix) with ESMTP id B9BBD7F24; Sat, 7 Jun 2003 10:35:13 +0900 (JST) Received: by ghost.near.this (Postfix, from userid 100) id 3E5BF19320; Sat, 7 Jun 2003 10:37:32 +0900 (JST) Date: Sat, 7 Jun 2003 10:37:31 +0900 From: horio shoichi To: Adam In-Reply-To: <5.2.1.1.2.20030606101523.02502008@mail.mygeotivity.com> References: <5.2.1.1.2.20030606101523.02502008@mail.mygeotivity.com> X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20030607.013732.c5ed6341104a0b8d.10.0.3.9@bugsgrief.net> cc: freebsd-current@freebsd.org Subject: Re: Ports Bug (Nagios) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jun 2003 01:35:23 -0000 On Fri, 06 Jun 2003 10:26:01 -0700 Adam wrote: > I found a bug in the /ports/net/naios port. More correctly, I think it > would be in /ports/net/nagios-plugins. > > I had Postgres 7.2 installed on my system. I did this manually from source. > It seems that when you choose to have postgres support for nagios, it > doesn't check to see if the library exists, but instead looks to see if the > port was installed. This resulted in my install getting clobbered, > directory permissions getting reassigned and my database going down. > > > TTYL > > Adam > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > %cd /usr/ports/net/nagios %env WITH_POSTGRES="yes" make -V PKGNAME -V LIB_DEPENDS -V BUILD_DEPENDS -V RUN_DEPENDS nagios-1.0_1 gd.2:/usr/ports/graphics/gd gnugetopt.1:/usr/ports/devel/libgnugetopt pq.3:/usr/ports/databases/postgresql7 /usr/local/libexec/nagios/check_nagios:/usr/ports/net/nagios-plugins %cd /usr/ports/net/nagios-plugins %env WITH_POSTGRES="yes" make -V PKGNAME -V LIB_DEPENDS -V BUILD_DEPENDS -V RUN_DEPENDS nagios-plugins-1.3.0 gmake:/usr/ports/devel/gmake /usr/local/libexec/automake14/automake:/usr/ports/devel/automake14 /usr/local/libexec/autoconf213/autoconf:/usr/ports/devel/autoconf213 So, nagios is referencing the library with the name pq.3. If you are confident what you have is compatible with what nagios wants, you could have told a "lie" that it is pq.3, wherever you installed it. horio shoichi