From owner-freebsd-questions@FreeBSD.ORG Tue Mar 9 05:04:45 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5CAF16A5A1 for ; Tue, 9 Mar 2004 05:04:45 -0800 (PST) Received: from destiny.chrononomicon.com (mail.chrononomicon.com [65.193.73.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5D6743D45 for ; Tue, 9 Mar 2004 05:04:44 -0800 (PST) (envelope-from bsilver@chrononomicon.com) Received: from [IPv6:::1] (destiny.chrononomicon.com [192.168.1.42]) by destiny.chrononomicon.com (Postfix) with ESMTP id 161DB1FDFF for ; Tue, 9 Mar 2004 08:04:40 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v612) In-Reply-To: <53684.192.168.0.97.1078790009.squirrel@webmail.thilelli.net> References: <53684.192.168.0.97.1078790009.squirrel@webmail.thilelli.net> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <5280126D-71CA-11D8-8002-000A956D2452@chrononomicon.com> Content-Transfer-Encoding: 7bit From: Bart Silverstrim Date: Tue, 9 Mar 2004 08:04:38 -0500 To: FreeBSD Questions Mailing List X-Mailer: Apple Mail (2.612) Subject: Re: Amavis-Stats. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 13:04:45 -0000 On Mar 8, 2004, at 6:53 PM, Julien Gabel wrote: >> Has anyone installed Amavis-Stats on a FreeBSD 4.9 Release server? >> When I try running the Perl script, I get an error about not being >> able to find warnings.pm... > > There exists a little FreeBSD guide for amavisd-new at: > http://www.erodia.net/doc/amavis-stats_freebsd.txt > I had gone through that guide as I was initially working on it; the part I'm stuck at is actually executing the script because it seems to be giving me a Perl error. When I change into the directory with the Perl script and run it, I get: Can't locate warnings.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503) at ./amavis-stats line 30. BEGIN failed--compilation aborted at ./amavis-stats line 30. My Perl -v gives: Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: Platform: osname=freebsd, osvers=4.0-current, archname=i386-freebsd uname='FreeBSD freefall.FreeBSD.org 4.0-current FreeBSD 4.0-current #0: $Date$' hint=recommended, useposix=true, d_sigaction=define usethreads=undef useperlio=undef d_sfio=undef Compiler: cc='cc', optimize='undef', gccversion=2.95.2 19991024 (release) cppflags='' ccflags ='' stdchar='char', d_stdstdio=undef, usevfork=true intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags ='-Wl,-E -lperl -lm ' libpth=/usr/lib libs=-lm -lc -lcrypt libc=, so=so, useshrplib=true, libperl=libperl.so.3 Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-R/usr/lib' cccdlflags='-DPIC -fpic', lddlflags='-Wl,-E -shared -lperl -lm ' Characteristics of this binary (from libperl): Built under freebsd Compiled at Oct 27 2003 14:43:39 @INC: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 Anyone run into something like this before? -Bart