Date: Sun, 9 Jul 2006 10:40:17 GMT From: "Oleg Gawriloff" <barzog@telecom.by> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/97297: security/amavis-stats: FreeBSD 6.1 amavis-stats compilation errors Message-ID: <200607091040.k69AeH3N059607@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/97297; it has been noted by GNATS. From: "Oleg Gawriloff" <barzog@telecom.by> To: <bug-followup@FreeBSD.org>, <catalin@starcomms.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607091040.k69AeH3N059607>