From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jul 9 10:40:18 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D98E16A4E0 for ; Sun, 9 Jul 2006 10:40:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E870343D4C for ; Sun, 9 Jul 2006 10:40:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k69AeHRh059608 for ; Sun, 9 Jul 2006 10:40:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k69AeH3N059607; Sun, 9 Jul 2006 10:40:17 GMT (envelope-from gnats) Date: Sun, 9 Jul 2006 10:40:17 GMT Message-Id: <200607091040.k69AeH3N059607@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: "Oleg Gawriloff" Cc: Subject: Re: ports/97297: security/amavis-stats: FreeBSD 6.1 amavis-stats compilation errors X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Oleg Gawriloff List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jul 2006 10:40:18 -0000 The following reply was made to PR ports/97297; it has been noted by GNATS. From: "Oleg Gawriloff" To: , Cc: Subject: Re: ports/97297: security/amavis-stats: FreeBSD 6.1 amavis-stats compilation errors Date: Sun, 9 Jul 2006 13:31:13 +0300 Version 0.1.21 works perfectly from the source. Some notes about compiling/installation: When configuring w: ./configure --prefix=/usr/local/amavis-stats --with-log-file=/var/log/maillog --with-user-uid=nobody --with-user-gid-nogroup We get following error: checking for pkg-config... pkg-config gnome-config: not found configure: WARNING: ---------------------------------------------------------------------------- * I found a copy of pkgconfig, but there is no librrd.pc file around. You may want to set the PKG_CONFIG_PATH variable to point to its location. ---------------------------------------------------------------------------- configure: WARNING: ---------------------------------------------------------------------------- * I could not find a working copy of librrd. Check config.log for hints on why this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately so that compiler and the linker can find librrd and its header files. If you have not installed librrd, you can get it either from its original home on (rrdtool 1.0.50_1 is installed and work ok). After setting: export LDFLAGS="-L/usr/local/lib" LIBS="-lrrd -lz -lpng -lart_lgpl_2" CPPFLAGS="-I/usr/local/include" configure goes well. On first run amavis-stats got following error: barzog@albatros:/usr/local/amavis-stats/sbin>./amavis-stats ERROR: MISSING REQUIRED BASIC MODULES: Unix::Syslog BEGIN failed--compilation aborted at ./amavis-stats line 63. After installing p5-Unix-Syslog-0.100 all works well, without any problems. FreeBSD albatros.telecom.by 5.4-RELEASE-p13 FreeBSD 5.4-RELEASE-p13 #1: Mon Jun 5 14:04:54 EEST 2006 root@albatros.telecom.by:/usr/src/sys/i386/compile/ALBATROS i386