Date: Tue, 9 Mar 2004 08:04:38 -0500 From: Bart Silverstrim <bsilver@chrononomicon.com> To: FreeBSD Questions Mailing List <freebsd-questions@freebsd.org> Subject: Re: Amavis-Stats. Message-ID: <5280126D-71CA-11D8-8002-000A956D2452@chrononomicon.com> In-Reply-To: <53684.192.168.0.97.1078790009.squirrel@webmail.thilelli.net> References: <D8A61434-7153-11D8-A770-000A956D2452@chrononomicon.com> <53684.192.168.0.97.1078790009.squirrel@webmail.thilelli.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5280126D-71CA-11D8-8002-000A956D2452>